Home
last modified time | relevance | path

Searched refs:cmctx (Results 1 – 3 of 3) sorted by relevance

/dragonfly/crypto/libressl/crypto/cmac/
H A Dcm_pmeth.c96 CMAC_CTX *cmctx = ctx->data; in pkey_cmac_keygen() local
100 if (!CMAC_CTX_copy(cmkey, cmctx)) { in pkey_cmac_keygen()
135 CMAC_CTX *cmctx = ctx->data; in pkey_cmac_ctrl() local
141 if (!CMAC_Init(cmctx, p2, p1, NULL, NULL)) in pkey_cmac_ctrl()
146 if (!CMAC_Init(cmctx, NULL, 0, p2, ctx->engine)) in pkey_cmac_ctrl()
154 if (!CMAC_Init(cmctx, NULL, 0, NULL, NULL)) in pkey_cmac_ctrl()
H A Dcm_ameth.c76 CMAC_CTX *cmctx = (CMAC_CTX *)pkey->pkey.ptr; in cmac_key_free() local
78 CMAC_CTX_free(cmctx); in cmac_key_free()
/dragonfly/crypto/libressl/crypto/evp/
H A Dp_lib.c286 CMAC_CTX *cmctx = NULL; in EVP_PKEY_new_CMAC_key() local
290 if ((cmctx = CMAC_CTX_new()) == NULL) in EVP_PKEY_new_CMAC_key()
296 if (!CMAC_Init(cmctx, priv, len, cipher, e)) { in EVP_PKEY_new_CMAC_key()
301 ret->pkey.ptr = (char *)cmctx; in EVP_PKEY_new_CMAC_key()
307 CMAC_CTX_free(cmctx); in EVP_PKEY_new_CMAC_key()