Searched refs:auth_keylen (Results 1 – 5 of 5) sorted by relevance
/drivers/crypto/qce/ |
D | common.c | 432 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()
|
D | aead.h | 20 unsigned int auth_keylen; member
|
D | aead.c | 582 ctx->auth_keylen = keylen; in qce_aead_ccm_setkey() 641 ctx->auth_keylen = authenc_keys.authkeylen; in qce_aead_setkey()
|
/drivers/crypto/ccree/ |
D | cc_aead.c | 56 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 …]
|
/drivers/crypto/qat/qat_common/ |
D | qat_algs.c | 115 unsigned int auth_keylen) in qat_alg_do_precomputes() argument 128 if (auth_keylen > block_size) { in qat_alg_do_precomputes() 130 auth_keylen, ctx->ipad); in qat_alg_do_precomputes() 136 memcpy(ctx->ipad, auth_key, auth_keylen); in qat_alg_do_precomputes() 137 memcpy(ctx->opad, auth_key, auth_keylen); in qat_alg_do_precomputes()
|