Added enum names for measurement algorithms

This commit is contained in:
Sansar Choinyambuu
2011-11-28 21:22:51 +01:00
committed by Andreas Steffen
parent 51b0005277
commit 8f1a6d50b4
2 changed files with 12 additions and 0 deletions
+7
View File
@@ -17,6 +17,13 @@
#include <debug.h>
ENUM(pts_meas_algorithm_names, PTS_MEAS_ALGO_NONE, PTS_MEAS_ALGO_SHA384,
"None",
"SHA1",
"SHA256",
"SHA384"
);
/**
* Described in header.
*/
+5
View File
@@ -36,6 +36,11 @@ enum pts_meas_algorithms_t {
PTS_MEAS_ALGO_SHA384 = (1<<13),
};
/**
* enum name for pts_meas_algorithms_t.
*/
extern enum_name_t *pts_meas_algorithm_names;
/**
* Diffie-Hellman Hash Algorithm Values
* see section 3.8.5 of PTS Protocol: Binding to TNC IF-M Specification