Lines Matching refs:aes_ctx
60 struct aes_ctx { struct
87 static inline struct aes_ctx *aes_ctx_common(void *ctx) in aes_ctx_common() argument
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
102 static inline struct aes_ctx *skcipher_aes_ctx(struct crypto_skcipher *tfm) in skcipher_aes_ctx()
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),
412 struct aes_ctx *ctx = skcipher_aes_ctx(tfm); in cbc_aes_encrypt()
439 struct aes_ctx *ctx = skcipher_aes_ctx(tfm); in cbc_aes_decrypt()
466 .base.cra_ctxsize = sizeof(struct aes_ctx),