Searched refs:aes_ctx (Results 1 – 6 of 6) sorted by relevance
/linux-6.3-rc2/drivers/crypto/ |
A D | padlock-aes.c | 60 struct aes_ctx { struct 94 return (struct aes_ctx *)ALIGN(addr, align); in aes_ctx_common() 97 static inline struct aes_ctx *aes_ctx(struct crypto_tfm *tfm) in aes_ctx() function 110 struct aes_ctx *ctx = aes_ctx(tfm); in aes_set_key() 308 struct aes_ctx *ctx = aes_ctx(tfm); in padlock_aes_encrypt() 317 struct aes_ctx *ctx = aes_ctx(tfm); in padlock_aes_decrypt() 330 .cra_ctxsize = sizeof(struct aes_ctx), 347 struct aes_ctx *ctx = skcipher_aes_ctx(tfm); in ecb_aes_encrypt() 372 struct aes_ctx *ctx = skcipher_aes_ctx(tfm); in ecb_aes_decrypt() 399 .base.cra_ctxsize = sizeof(struct aes_ctx), [all …]
|
/linux-6.3-rc2/arch/x86/crypto/ |
A D | aesni-intel_glue.c | 673 u8 *iv, void *aes_ctx, u8 *auth_tag, in gcmaes_crypt_by_sg() argument 782 u8 *hash_subkey, u8 *iv, void *aes_ctx) in gcmaes_encrypt() argument 801 u8 *hash_subkey, u8 *iv, void *aes_ctx) in gcmaes_decrypt() argument 831 void *aes_ctx = &(ctx->aes_key_expanded); in helper_rfc4106_encrypt() local 851 aes_ctx); in helper_rfc4106_encrypt() 859 void *aes_ctx = &(ctx->aes_key_expanded); in helper_rfc4106_decrypt() local 879 aes_ctx); in helper_rfc4106_decrypt() 1162 void *aes_ctx = &(ctx->aes_key_expanded); in generic_gcmaes_encrypt() local 1171 aes_ctx); in generic_gcmaes_encrypt() 1179 void *aes_ctx = &(ctx->aes_key_expanded); in generic_gcmaes_decrypt() local [all …]
|
/linux-6.3-rc2/lib/crypto/ |
A D | aesgcm.c | 53 aes_expandkey(&ctx->aes_ctx, key, keysize); in aesgcm_expandkey() 58 aesgcm_encrypt_block(&ctx->aes_ctx, &ctx->ghash_key, kin); in aesgcm_expandkey() 88 aesgcm_encrypt_block(&ctx->aes_ctx, buf, ctr); in aesgcm_mac() 110 aesgcm_encrypt_block(&ctx->aes_ctx, buf, ctr); in aesgcm_crypt()
|
/linux-6.3-rc2/arch/arm/crypto/ |
A D | ghash-ce-glue.c | 386 struct crypto_aes_ctx aes_ctx; in gcm_aes_setkey() local 390 ret = aes_expandkey(&aes_ctx, inkey, keylen); in gcm_aes_setkey() 394 aes_encrypt(&aes_ctx, (u8 *)&k, (u8[AES_BLOCK_SIZE]){}); in gcm_aes_setkey() 396 memcpy(ctx->rk, aes_ctx.key_enc, sizeof(ctx->rk)); in gcm_aes_setkey() 399 memzero_explicit(&aes_ctx, sizeof(aes_ctx)); in gcm_aes_setkey()
|
/linux-6.3-rc2/include/crypto/ |
A D | gcm.h | 69 struct crypto_aes_ctx aes_ctx; member
|
/linux-6.3-rc2/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
A D | chcr_ktls.c | 78 struct crypto_aes_ctx aes_ctx; in chcr_ktls_save_keys() local 140 ret = aes_expandkey(&aes_ctx, key, keylen); in chcr_ktls_save_keys() 145 aes_encrypt(&aes_ctx, ghash_h, ghash_h); in chcr_ktls_save_keys() 146 memzero_explicit(&aes_ctx, sizeof(aes_ctx)); in chcr_ktls_save_keys()
|
Completed in 14 milliseconds