Home
last modified time | relevance | path

Searched refs:assoc_len (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/lib/crypto/
H A Daesgcm.c77 const u8 *assoc, int assoc_len, __be32 *ctr, u8 *authtag) in aesgcm_mac() argument
79 be128 tail = { cpu_to_be64(assoc_len * 8), cpu_to_be64(src_len * 8) }; in aesgcm_mac()
83 aesgcm_ghash(&ghash, &ctx->ghash_key, assoc, assoc_len); in aesgcm_mac()
136 int crypt_len, const u8 *assoc, int assoc_len, in aesgcm_encrypt() argument
144 aesgcm_mac(ctx, dst, crypt_len, assoc, assoc_len, ctr, authtag); in aesgcm_encrypt()
167 int assoc_len, const u8 iv[GCM_AES_IV_SIZE], in aesgcm_decrypt() argument
175 aesgcm_mac(ctx, src, crypt_len, assoc, assoc_len, ctr, tagbuf); in aesgcm_decrypt()
/openbmc/linux/include/crypto/
H A Dgcm.h77 int crypt_len, const u8 *assoc, int assoc_len,
82 int assoc_len, const u8 iv[GCM_AES_IV_SIZE],
/openbmc/linux/drivers/crypto/
H A Domap-aes-gcm.c51 alen = ALIGN(dd->assoc_len, AES_BLOCK_SIZE); in omap_aes_gcm_done_task()
55 nsg = !!(dd->assoc_len && dd->total); in omap_aes_gcm_done_task()
150 dd->assoc_len = assoclen; in omap_aes_gcm_copy_buffers()
H A Domap-aes.h178 size_t assoc_len; member
H A Domap-aes.c192 omap_aes_write(dd, AES_REG_A_LEN, dd->assoc_len); in omap_aes_dma_trigger_omap4()
/openbmc/linux/drivers/crypto/bcm/
H A Dspu2.h185 unsigned int assoc_len, unsigned int iv_len,
H A Dspu.h234 unsigned int assoc_len, unsigned int iv_len,
H A Dspu.c486 unsigned int assoc_len, unsigned int iv_len, in spum_assoc_resp_len() argument
492 if (assoc_len) in spum_assoc_resp_len()
493 buflen = assoc_len; in spum_assoc_resp_len()
H A Dcipher.h370 unsigned int assoc_len,
H A Dspu2.c875 unsigned int assoc_len, unsigned int iv_len, in spu2_assoc_resp_len() argument
878 u32 resp_len = assoc_len; in spu2_assoc_resp_len()
H A Dcipher.c1045 unsigned int assoc_len, in spu_aead_rx_sg_create() argument
1059 assoc_len + resp_len); in spu_aead_rx_sg_create()
1060 assoc_buf_len = assoc_len; in spu_aead_rx_sg_create()
1065 assoc_len, ret_iv_len, in spu_aead_rx_sg_create()
1166 unsigned int assoc_len, in spu_aead_tx_sg_create() argument
1192 if (assoc_len) { in spu_aead_tx_sg_create()
1195 assoc_nents, assoc_len); in spu_aead_tx_sg_create()
1196 if (written < assoc_len) { in spu_aead_tx_sg_create()