Home
last modified time | relevance | path

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

/drivers/crypto/nx/
Dnx-aes-ccm.c44 memcpy(csbcpb->cpb.aes_ccm.key, in_key, key_len); in ccm_aes_nx_set_key()
186 b0 = nx_ctx->csbcpb->cpb.aes_ccm.in_pat_or_b0; in generate_pat()
191 b0 = nx_ctx->csbcpb->cpb.aes_ccm.in_pat_or_b0; in generate_pat()
257 result = nx_ctx->csbcpb->cpb.aes_ccm.out_pat_or_mac; in generate_pat()
349 csbcpb->cpb.aes_ccm.in_pat_or_b0); in ccm_nx_decrypt()
369 csbcpb->cpb.aes_ccm.iv_or_ctr); in ccm_nx_decrypt()
381 memcpy(iv, csbcpb->cpb.aes_ccm.out_ctr, AES_BLOCK_SIZE); in ccm_nx_decrypt()
382 memcpy(csbcpb->cpb.aes_ccm.in_pat_or_b0, in ccm_nx_decrypt()
383 csbcpb->cpb.aes_ccm.out_pat_or_mac, AES_BLOCK_SIZE); in ccm_nx_decrypt()
384 memcpy(csbcpb->cpb.aes_ccm.in_s0, in ccm_nx_decrypt()
[all …]
Dnx_csbcpb.h127 struct cop_symcpb_aes_ccm aes_ccm; member
/drivers/crypto/hisilicon/sec2/
Dsec_crypto.c1218 GEN_SEC_AEAD_SETKEY_FUNC(aes_ccm, 0, SEC_CALG_AES, in GEN_SEC_AEAD_SETKEY_FUNC()