Lines Matching refs:aes_ctx
302 static inline struct crypto_aes_ctx *aes_ctx(void *raw_ctx) in aes_ctx() function
315 struct crypto_aes_ctx *ctx = aes_ctx(raw_ctx); in aes_set_key_common()
341 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); in aesni_encrypt()
354 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); in aesni_decrypt()
375 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in ecb_encrypt()
397 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in ecb_decrypt()
419 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in cbc_encrypt()
441 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in cbc_decrypt()
496 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in ctr_crypt()
595 aes_ctx(ctx->raw_tweak_ctx), in xts_encrypt()
596 aes_ctx(ctx->raw_crypt_ctx), in xts_encrypt()
606 aes_ctx(ctx->raw_tweak_ctx), in xts_decrypt()
607 aes_ctx(ctx->raw_crypt_ctx), in xts_decrypt()
687 u8 *iv, void *aes_ctx) in gcmaes_crypt_by_sg() argument
742 gcm_tfm->init(aes_ctx, data, iv, hash_subkey, assoc, assoclen); in gcmaes_crypt_by_sg()
752 gcm_tfm->enc_update(aes_ctx, data, in gcmaes_crypt_by_sg()
755 gcm_tfm->dec_update(aes_ctx, data, in gcmaes_crypt_by_sg()
773 gcm_tfm->enc_update(aes_ctx, data, in gcmaes_crypt_by_sg()
776 gcm_tfm->dec_update(aes_ctx, data, in gcmaes_crypt_by_sg()
785 gcm_tfm->finalize(aes_ctx, data, authTag, auth_tag_len); in gcmaes_crypt_by_sg()
816 u8 *hash_subkey, u8 *iv, void *aes_ctx) in gcmaes_encrypt() argument
819 aes_ctx); in gcmaes_encrypt()
823 u8 *hash_subkey, u8 *iv, void *aes_ctx) in gcmaes_decrypt() argument
826 aes_ctx); in gcmaes_decrypt()
833 void *aes_ctx = &(ctx->aes_key_expanded); in helper_rfc4106_encrypt() local
853 aes_ctx); in helper_rfc4106_encrypt()
861 void *aes_ctx = &(ctx->aes_key_expanded); in helper_rfc4106_decrypt() local
881 aes_ctx); in helper_rfc4106_decrypt()
992 void *aes_ctx = &(ctx->aes_key_expanded); in generic_gcmaes_encrypt() local
1001 aes_ctx); in generic_gcmaes_encrypt()
1009 void *aes_ctx = &(ctx->aes_key_expanded); in generic_gcmaes_decrypt() local
1017 aes_ctx); in generic_gcmaes_decrypt()