Lines Matching refs:aes_ctx
302 static inline struct crypto_aes_ctx *aes_ctx(void *raw_ctx)
315 struct crypto_aes_ctx *ctx = aes_ctx(raw_ctx);
341 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm));
354 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm));
375 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm));
397 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm));
419 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm));
441 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm));
496 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm));
595 aes_ctx(ctx->raw_tweak_ctx),
596 aes_ctx(ctx->raw_crypt_ctx),
606 aes_ctx(ctx->raw_tweak_ctx),
607 aes_ctx(ctx->raw_crypt_ctx),
687 u8 *iv, void *aes_ctx)
742 gcm_tfm->init(aes_ctx, data, iv, hash_subkey, assoc, assoclen);
752 gcm_tfm->enc_update(aes_ctx, data,
755 gcm_tfm->dec_update(aes_ctx, data,
773 gcm_tfm->enc_update(aes_ctx, data,
776 gcm_tfm->dec_update(aes_ctx, data,
785 gcm_tfm->finalize(aes_ctx, data, authTag, auth_tag_len);
816 u8 *hash_subkey, u8 *iv, void *aes_ctx)
819 aes_ctx);
823 u8 *hash_subkey, u8 *iv, void *aes_ctx)
826 aes_ctx);
833 void *aes_ctx = &(ctx->aes_key_expanded);
853 aes_ctx);
861 void *aes_ctx = &(ctx->aes_key_expanded);
881 aes_ctx);
992 void *aes_ctx = &(ctx->aes_key_expanded);
1001 aes_ctx);
1009 void *aes_ctx = &(ctx->aes_key_expanded);
1017 aes_ctx);