45 #include "CUnit/Basic.h"
59 static void TestAlgorithmKeywordConvert(
void)
124 static void TestFormatKeywordConvert(
void)
154 static void TestStateKeywordConvert(
void)
210 static void TestTypeKeywordConvert(
void)
249 {
"AlgorithmKeywordConvert", TestAlgorithmKeywordConvert},
250 {
"FormatKeywordConvert", TestFormatKeywordConvert},
251 {
"StateKeywordConvert", TestStateKeywordConvert},
252 {
"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)