| /linux/drivers/crypto/chelsio/ |
| H A D | chcr_algo.h | 145 #define FILL_SEC_CPL_SCMD0_SEQNO(ctrl, seq, cmode, amode, opad, size) \ argument 154 SCMD_HMAC_CTRL_V((opad)) | \ 170 #define FILL_KEY_CTX_HDR(ck_size, mk_size, d_ck, opad, ctx_len) \ argument 175 KEY_CONTEXT_OPAD_PRESENT_V((opad)) | \ 179 #define FILL_KEY_CRX_HDR(ck_size, mk_size, d_ck, opad, ctx_len) \ argument
|
| /linux/drivers/crypto/marvell/octeontx/ |
| H A D | otx_cptvf_algs.c | 553 ctx->opad = kzalloc(ss, GFP_KERNEL); in cpt_aead_init() 554 if (!ctx->opad) { in cpt_aead_init() 563 kfree(ctx->opad); in cpt_aead_init() 622 kfree(ctx->opad); in otx_cpt_aead_exit() 756 u8 *ipad = NULL, *opad = NULL; in aead_hmac_init() local 793 opad = ctx->opad; in aead_hmac_init() 797 memcpy(opad, ipad, bs); in aead_hmac_init() 801 opad[icount] ^= 0x5c; in aead_hmac_init() 819 crypto_shash_update(&ctx->sdesc->shash, opad, bs); in aead_hmac_init() 820 crypto_shash_export(&ctx->sdesc->shash, opad); in aead_hmac_init() [all …]
|
| H A D | otx_cptvf_algs.h | 116 u8 opad[64]; member 174 u8 *opad; member
|
| /linux/drivers/crypto/allwinner/sun8i-ss/ |
| H A D | sun8i-ss-hash.c | 70 tfmctx->opad = kzalloc(bs, GFP_KERNEL); in sun8i_ss_hmac_setkey() 71 if (!tfmctx->opad) { in sun8i_ss_hmac_setkey() 78 memcpy(tfmctx->opad, tfmctx->key, tfmctx->keylen); in sun8i_ss_hmac_setkey() 81 tfmctx->opad[i] ^= HMAC_OPAD_VALUE; in sun8i_ss_hmac_setkey() 89 kfree_sensitive(tfmctx->opad); in sun8i_ss_hmac_setkey() 138 kfree_sensitive(tfmctx->opad); in sun8i_ss_hash_exit_tfm() 611 addr_xpad = dma_map_single(ss->dev, tfmctx->opad, bs, DMA_TO_DEVICE); in sun8i_ss_hash_run()
|
| H A D | sun8i-ss.h | 235 u8 *opad; member
|
| /linux/drivers/crypto/marvell/octeontx2/ |
| H A D | otx2_cptvf_algs.h | 107 u8 opad[64]; member 170 u8 *opad; member
|
| /linux/drivers/crypto/cavium/cpt/ |
| H A D | cptvf_algs.h | 90 u8 opad[64]; /* or OPAD */ member
|
| /linux/drivers/crypto/ccp/ |
| H A D | ccp-crypto-sha.c | 162 rctx->cmd.u.sha.opad = ctx->u.sha.key_len ? in ccp_do_sha_update() 303 ctx->u.sha.opad[i] = ctx->u.sha.key[i] ^ HMAC_OPAD_VALUE; in ccp_sha_setkey() 306 sg_init_one(&ctx->u.sha.opad_sg, ctx->u.sha.opad, block_size); in ccp_sha_setkey()
|
| H A D | ccp-crypto.h | 195 u8 opad[MAX_SHA_BLOCK_SIZE]; member
|
| /linux/include/linux/ |
| H A D | ccp.h | 294 struct scatterlist *opad; member
|
| /linux/drivers/crypto/bcm/ |
| H A D | cipher.h | 216 u8 opad[MAX_HASH_BLOCK_SIZE]; member
|
| /linux/drivers/crypto/cavium/nitrox/ |
| H A D | nitrox_req.h | 147 u8 opad[64]; member
|
| /linux/drivers/crypto/inside-secure/ |
| H A D | safexcel.h | 852 } ipad, opad; member
|
| H A D | safexcel_cipher.c | 712 ctx->state_sz) / sizeof(u32), &ctx->base.opad, in safexcel_send_req()
|