Searched refs:assoc_len (Results 1 – 11 of 11) sorted by relevance
/openbmc/linux/lib/crypto/ |
H A D | aesgcm.c | 77 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 D | gcm.h | 77 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 D | omap-aes-gcm.c | 51 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 D | omap-aes.h | 178 size_t assoc_len; member
|
H A D | omap-aes.c | 192 omap_aes_write(dd, AES_REG_A_LEN, dd->assoc_len); in omap_aes_dma_trigger_omap4()
|
/openbmc/linux/drivers/crypto/bcm/ |
H A D | spu2.h | 185 unsigned int assoc_len, unsigned int iv_len,
|
H A D | spu.h | 234 unsigned int assoc_len, unsigned int iv_len,
|
H A D | spu.c | 486 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 D | cipher.h | 370 unsigned int assoc_len,
|
H A D | spu2.c | 875 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 D | cipher.c | 1045 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()
|