Home
last modified time | relevance | path

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

/third_party/openssl/crypto/cmac/
Dcm_pmeth.c46 CMAC_CTX *cmctx = ctx->data; in pkey_cmac_keygen() local
49 if (!CMAC_CTX_copy(cmkey, cmctx)) { in pkey_cmac_keygen()
80 CMAC_CTX *cmctx = ctx->data; in pkey_cmac_ctrl() local
86 if (!CMAC_Init(cmctx, p2, p1, NULL, NULL)) in pkey_cmac_ctrl()
91 if (!CMAC_Init(cmctx, NULL, 0, p2, ctx->engine)) in pkey_cmac_ctrl()
99 if (!CMAC_Init(cmctx, NULL, 0, NULL, NULL)) in pkey_cmac_ctrl()
Dcm_ameth.c28 CMAC_CTX *cmctx = EVP_PKEY_get0(pkey); in cmac_key_free() local
29 CMAC_CTX_free(cmctx); in cmac_key_free()
/third_party/openssl/crypto/evp/
Dp_lib.c327 CMAC_CTX *cmctx = CMAC_CTX_new(); in EVP_PKEY_new_CMAC_key() local
330 || cmctx == NULL in EVP_PKEY_new_CMAC_key()
336 if (!CMAC_Init(cmctx, priv, len, cipher, e)) { in EVP_PKEY_new_CMAC_key()
341 ret->pkey.ptr = cmctx; in EVP_PKEY_new_CMAC_key()
346 CMAC_CTX_free(cmctx); in EVP_PKEY_new_CMAC_key()