Searched refs:auth_keylen (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/crypto/ccree/ |
D | cc_aead.c | 59 unsigned int auth_keylen; member 270 ctx->auth_state.xcbc.xcbc_keys_dma_addr, ctx->auth_keylen, in xcbc_setkey() 274 set_key_size_aes(&desc[0], ctx->auth_keylen); in xcbc_setkey() 375 ctx->enc_keylen, ctx->auth_keylen); in validate_keys_sizes() 382 if (ctx->auth_keylen != AES_KEYSIZE_128 && in validate_keys_sizes() 383 ctx->auth_keylen != AES_KEYSIZE_192 && in validate_keys_sizes() 384 ctx->auth_keylen != AES_KEYSIZE_256) in validate_keys_sizes() 388 if (ctx->auth_keylen > 0) in validate_keys_sizes() 569 ctx->auth_keylen = keylen - ctx->enc_keylen; in cc_aead_setkey() 579 memcpy(ctx->ctr_nonce, key + ctx->auth_keylen + in cc_aead_setkey() [all …]
|
/Linux-v4.19/drivers/crypto/qat/qat_common/ |
D | qat_algs.c | 148 unsigned int auth_keylen) in qat_alg_do_precomputes() argument 167 if (auth_keylen > block_size) { in qat_alg_do_precomputes() 169 auth_keylen, ipad); in qat_alg_do_precomputes() 175 memcpy(ipad, auth_key, auth_keylen); in qat_alg_do_precomputes() 176 memcpy(opad, auth_key, auth_keylen); in qat_alg_do_precomputes()
|