D | e_aes.c | 105 CCM128_CONTEXT ccm; member 398 CRYPTO_ccm128_init(&cctx->ccm, cctx->M, cctx->L, in aesni_ccm_init_key() 1193 if(!CRYPTO_ccm128_tag(&cctx->ccm, ptr, (size_t)arg)) in aes_ccm_ctrl() 1218 CRYPTO_ccm128_init(&cctx->ccm, cctx->M, cctx->L, in aes_ccm_init_key() 1225 CRYPTO_ccm128_init(&cctx->ccm, cctx->M, cctx->L, in aes_ccm_init_key() 1242 CCM128_CONTEXT *ccm = &cctx->ccm; in aes_ccm_cipher() local 1252 if (CRYPTO_ccm128_setiv(ccm, ctx->iv, 15 - cctx->L,len)) in aes_ccm_cipher() 1260 CRYPTO_ccm128_aad(ccm, in, len); in aes_ccm_cipher() 1269 if (CRYPTO_ccm128_setiv(ccm, ctx->iv, 15 - cctx->L, len)) in aes_ccm_cipher() 1275 if (cctx->str ? CRYPTO_ccm128_encrypt_ccm64(ccm, in, out, len, in aes_ccm_cipher() [all …]
|