Searched refs:aes_ctx (Results 1 – 2 of 2) sorted by relevance
58 struct aes_ctx { struct85 static inline struct aes_ctx *aes_ctx_common(void *ctx) in aes_ctx_common() argument92 return (struct aes_ctx *)ALIGN(addr, align); in aes_ctx_common()95 static inline struct aes_ctx *aes_ctx(struct crypto_tfm *tfm) in aes_ctx() function100 static inline struct aes_ctx *blk_aes_ctx(struct crypto_blkcipher *tfm) in blk_aes_ctx()108 struct aes_ctx *ctx = aes_ctx(tfm); in aes_set_key()305 struct aes_ctx *ctx = aes_ctx(tfm); in padlock_aes_encrypt()314 struct aes_ctx *ctx = aes_ctx(tfm); in padlock_aes_decrypt()327 .cra_ctxsize = sizeof(struct aes_ctx),345 struct aes_ctx *ctx = blk_aes_ctx(desc->tfm); in ecb_aes_encrypt()[all …]
307 static inline struct crypto_aes_ctx *aes_ctx(void *raw_ctx) in aes_ctx() function320 struct crypto_aes_ctx *ctx = aes_ctx(raw_ctx); in aes_set_key_common()349 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); in aesni_encrypt()362 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); in aesni_decrypt()383 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in ecb_encrypt()405 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in ecb_decrypt()427 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in cbc_encrypt()449 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in cbc_decrypt()506 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in ctr_crypt()611 aes_ctx(ctx->raw_tweak_ctx), in xts_encrypt()[all …]