Added enum names for measurement algorithms
This commit is contained in:
committed by
Andreas Steffen
parent
51b0005277
commit
8f1a6d50b4
@@ -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.
|
||||
*/
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user