Lines Matching refs:ccm
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()
1277 CRYPTO_ccm128_encrypt(ccm, in, out, len)) in aes_ccm_cipher()
1285 if (cctx->str ? !CRYPTO_ccm128_decrypt_ccm64(ccm, in, out, len, in aes_ccm_cipher()
1287 !CRYPTO_ccm128_decrypt(ccm, in, out, len)) in aes_ccm_cipher()
1290 if (CRYPTO_ccm128_tag(ccm, tag, cctx->M)) in aes_ccm_cipher()
1308 BLOCK_CIPHER_custom(NID_aes,128,1,12,ccm,CCM,EVP_CIPH_FLAG_FIPS|CUSTOM_FLAGS)
1309 BLOCK_CIPHER_custom(NID_aes,192,1,12,ccm,CCM,EVP_CIPH_FLAG_FIPS|CUSTOM_FLAGS)
1310 BLOCK_CIPHER_custom(NID_aes,256,1,12,ccm,CCM,EVP_CIPH_FLAG_FIPS|CUSTOM_FLAGS)