74 if (!pkey_cmac_init(dst))
102 static int int_update(
EVP_MD_CTX *ctx,
const void *
data,
size_t count)
112 mctx->
update = int_update;
116 static int cmac_signctx(
EVP_PKEY_CTX *ctx,
unsigned char *sig,
size_t *siglen,
131 if (!
CMAC_Init(cmctx, p2, p1, NULL, NULL))
144 if (!
CMAC_Init(cmctx, NULL, 0, NULL, NULL))
156 const char *type,
const char *value)
162 if (!strcmp(type,
"key"))
164 void *
p = (
void *)value;
168 if (!strcmp(type,
"cipher"))
176 if (!strcmp(type,
"hexkey"))