Lines Matching refs:aes_ctx
153 static inline struct crypto_aes_ctx *aes_ctx(void *raw_ctx) in aes_ctx() function
166 struct crypto_aes_ctx *ctx = aes_ctx(raw_ctx); in aes_set_key_common()
195 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); in aes_encrypt()
208 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); in aes_decrypt()
242 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); in __aes_encrypt()
249 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); in __aes_decrypt()
279 struct crypto_aes_ctx *ctx = aes_ctx(crypto_blkcipher_ctx(desc->tfm)); in ecb_encrypt()
303 struct crypto_aes_ctx *ctx = aes_ctx(crypto_blkcipher_ctx(desc->tfm)); in ecb_decrypt()
349 struct crypto_aes_ctx *ctx = aes_ctx(crypto_blkcipher_ctx(desc->tfm)); in cbc_encrypt()
373 struct crypto_aes_ctx *ctx = aes_ctx(crypto_blkcipher_ctx(desc->tfm)); in cbc_decrypt()
435 struct crypto_aes_ctx *ctx = aes_ctx(crypto_blkcipher_ctx(desc->tfm)); in ctr_crypt()
1080 void *aes_ctx = &(ctx->aes_key_expanded); in __driver_rfc4106_encrypt() local
1126 aesni_gcm_enc(aes_ctx, dst, src, (unsigned long)req->cryptlen, iv, in __driver_rfc4106_encrypt()
1158 void *aes_ctx = &(ctx->aes_key_expanded); in __driver_rfc4106_decrypt() local
1207 aesni_gcm_dec(aes_ctx, dst, src, tempCipherLen, iv, in __driver_rfc4106_decrypt()