Home
last modified time | relevance | path

Searched refs:aes_ctx (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/crypto/
H A Dpadlock-aes.c60 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()
[all …]
/linux/arch/x86/crypto/
H A Daesni-intel_glue.c87 static inline struct crypto_aes_ctx *aes_ctx(void *raw_ctx) in aes_ctx() function
118 return aes_set_key_common(aes_ctx(crypto_skcipher_ctx(tfm)), key, len); in aesni_skcipher_setkey()
124 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in ecb_encrypt()
146 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in ecb_decrypt()
168 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in cbc_encrypt()
190 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in cbc_decrypt()
212 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in cts_cbc_encrypt()
268 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in cts_cbc_decrypt()
326 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in ctr_crypt_aesni()
608 const struct crypto_aes_ctx *key = aes_ctx(crypto_skcipher_ctx(tfm)); in ctr_crypt()
[all …]