Searched refs:aes_set_key_common (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/arch/x86/crypto/ |
H A D | aesni-intel_glue.c | 312 static int aes_set_key_common(struct crypto_tfm *tfm, void *raw_ctx, in aes_set_key_common() function 336 return aes_set_key_common(tfm, crypto_tfm_ctx(tfm), in_key, key_len); in aes_set_key() 368 return aes_set_key_common(crypto_skcipher_tfm(tfm), in aesni_skcipher_setkey() 482 * aes_set_key_common() ensures that key length is one of in aesni_ctr_enc_avx_tfm() 532 err = aes_set_key_common(crypto_skcipher_tfm(tfm), ctx->raw_crypt_ctx, in xts_aesni_setkey() 538 return aes_set_key_common(crypto_skcipher_tfm(tfm), ctx->raw_tweak_ctx, in xts_aesni_setkey() 644 return aes_set_key_common(crypto_aead_tfm(aead), in common_rfc4106_set_key() 983 return aes_set_key_common(crypto_aead_tfm(aead), in generic_gcmaes_set_key()
|
/kernel/linux/linux-6.6/arch/x86/crypto/ |
H A D | aesni-intel_glue.c | 232 static int aes_set_key_common(struct crypto_aes_ctx *ctx, in aes_set_key_common() function 255 return aes_set_key_common(aes_ctx(crypto_tfm_ctx(tfm)), in_key, in aes_set_key() 288 return aes_set_key_common(aes_ctx(crypto_skcipher_ctx(tfm)), key, len); in aesni_skcipher_setkey() 498 * aes_set_key_common() ensures that key length is one of in aesni_ctr_enc_avx_tfm() 629 return aes_set_key_common(&ctx->aes_key_expanded, key, key_len) ?: in common_rfc4106_set_key() 894 err = aes_set_key_common(aes_ctx(ctx->raw_crypt_ctx), key, keylen); in xts_aesni_setkey() 899 return aes_set_key_common(aes_ctx(ctx->raw_tweak_ctx), key + keylen, in xts_aesni_setkey() 1150 return aes_set_key_common(&ctx->aes_key_expanded, key, key_len) ?: in generic_gcmaes_set_key()
|
Completed in 6 milliseconds