43 #include "CUnit/Basic.h" 57 static void TestAlgorithmKeywordConvert(
void)
122 static void TestFormatKeywordConvert(
void)
152 static void TestStateKeywordConvert(
void)
208 static void TestTypeKeywordConvert(
void)
247 {
"AlgorithmKeywordConvert", TestAlgorithmKeywordConvert},
248 {
"FormatKeywordConvert", TestFormatKeywordConvert},
249 {
"StateKeywordConvert", TestStateKeywordConvert},
250 {
"TypeKeywordConvert", TestTypeKeywordConvert},
int KsmKeywordTypeNameToValue(const char *name)
#define KSM_ALGORITHM_RSAMD5
int TcuCreateSuite(const char *title, int(*init)(), int(*teardown)(), struct test_testdef *tests)
#define KSM_ALGORITHM_INDIRECT
#define KSM_ALGORITHM_DSASHA1
const char * KsmKeywordStateValueToName(int value)
#define KSM_ALGORITHM_RSASHA1
int KsmKeywordStateNameToValue(const char *name)
#define KSM_ALGORITHM_PRIVDOM
#define KSM_STATE_PUBLISH
#define KSM_ALGORITHM_PRIVOID
const char * KsmKeywordTypeValueToName(int value)
const char * KsmKeywordFormatValueToName(int value)
int KsmKeywordFormatNameToValue(const char *name)
int KsmKeywordAlgorithmNameToValue(const char *name)
#define KSM_STATE_GENERATE
const char * KsmKeywordAlgorithmValueToName(int value)