Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/crypto/ccree/
Dcc_aead.c55 unsigned int auth_keylen; member
265 ctx->auth_state.xcbc.xcbc_keys_dma_addr, ctx->auth_keylen, in xcbc_setkey()
269 set_key_size_aes(&desc[0], ctx->auth_keylen); in xcbc_setkey()
370 ctx->enc_keylen, ctx->auth_keylen); in validate_keys_sizes()
377 if (ctx->auth_keylen != AES_KEYSIZE_128 && in validate_keys_sizes()
378 ctx->auth_keylen != AES_KEYSIZE_192 && in validate_keys_sizes()
379 ctx->auth_keylen != AES_KEYSIZE_256) in validate_keys_sizes()
383 if (ctx->auth_keylen > 0) in validate_keys_sizes()
568 ctx->auth_keylen = keys.authkeylen; in cc_aead_setkey()
588 ctx->auth_keylen = 0; in cc_aead_setkey()
[all …]
/Linux-v5.4/drivers/crypto/qat/qat_common/
Dqat_algs.c154 unsigned int auth_keylen) in qat_alg_do_precomputes() argument
167 if (auth_keylen > block_size) { in qat_alg_do_precomputes()
169 auth_keylen, ctx->ipad); in qat_alg_do_precomputes()
175 memcpy(ctx->ipad, auth_key, auth_keylen); in qat_alg_do_precomputes()
176 memcpy(ctx->opad, auth_key, auth_keylen); in qat_alg_do_precomputes()