Home
last modified time | relevance | path

Searched refs:auth_keylen (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/crypto/qce/
Daead.h20 unsigned int auth_keylen; member
Dcommon.c432 unsigned int auth_keylen = ctx->auth_keylen; in qce_setup_regs_aead() local
469 authkey_words = qce_be32_to_cpu_array(authkey, ctx->auth_key, auth_keylen); in qce_setup_regs_aead()
497 auth_cfg = qce_auth_cfg(rctx->flags, auth_keylen, ctx->authsize); in qce_setup_regs_aead()
Daead.c582 ctx->auth_keylen = keylen; in qce_aead_ccm_setkey()
641 ctx->auth_keylen = authenc_keys.authkeylen; in qce_aead_setkey()
/linux-6.1.9/drivers/crypto/ccree/
Dcc_aead.c56 unsigned int auth_keylen; member
261 ctx->auth_state.xcbc.xcbc_keys_dma_addr, ctx->auth_keylen, in xcbc_setkey()
265 set_key_size_aes(&desc[0], ctx->auth_keylen); in xcbc_setkey()
367 ctx->enc_keylen, ctx->auth_keylen); in validate_keys_sizes()
374 if (ctx->auth_keylen != AES_KEYSIZE_128 && in validate_keys_sizes()
375 ctx->auth_keylen != AES_KEYSIZE_192 && in validate_keys_sizes()
376 ctx->auth_keylen != AES_KEYSIZE_256) in validate_keys_sizes()
380 if (ctx->auth_keylen > 0) in validate_keys_sizes()
566 ctx->auth_keylen = keys.authkeylen; in cc_aead_setkey()
585 ctx->auth_keylen = 0; in cc_aead_setkey()
[all …]
/linux-6.1.9/drivers/crypto/qat/qat_common/
Dqat_algs.c114 unsigned int auth_keylen) in qat_alg_do_precomputes() argument
127 if (auth_keylen > block_size) { in qat_alg_do_precomputes()
129 auth_keylen, ctx->ipad); in qat_alg_do_precomputes()
135 memcpy(ctx->ipad, auth_key, auth_keylen); in qat_alg_do_precomputes()
136 memcpy(ctx->opad, auth_key, auth_keylen); in qat_alg_do_precomputes()