Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/crypto/
Dpadlock-aes.c56 struct aes_ctx { struct
83 static inline struct aes_ctx *aes_ctx_common(void *ctx) in aes_ctx_common() argument
90 return (struct aes_ctx *)ALIGN(addr, align); in aes_ctx_common()
93 static inline struct aes_ctx *aes_ctx(struct crypto_tfm *tfm) in aes_ctx() function
98 static inline struct aes_ctx *blk_aes_ctx(struct crypto_blkcipher *tfm) in blk_aes_ctx()
106 struct aes_ctx *ctx = aes_ctx(tfm); in aes_set_key()
299 struct aes_ctx *ctx = aes_ctx(tfm); in aes_encrypt()
311 struct aes_ctx *ctx = aes_ctx(tfm); in aes_decrypt()
327 .cra_ctxsize = sizeof(struct aes_ctx),
346 struct aes_ctx *ctx = blk_aes_ctx(desc->tfm); in ecb_aes_encrypt()
[all …]
/linux-2.6.39/arch/x86/crypto/
Daesni-intel_glue.c153 static inline struct crypto_aes_ctx *aes_ctx(void *raw_ctx) in aes_ctx() function
166 struct crypto_aes_ctx *ctx = aes_ctx(raw_ctx); in aes_set_key_common()
195 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); in aes_encrypt()
208 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); in aes_decrypt()
242 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); in __aes_encrypt()
249 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); in __aes_decrypt()
279 struct crypto_aes_ctx *ctx = aes_ctx(crypto_blkcipher_ctx(desc->tfm)); in ecb_encrypt()
303 struct crypto_aes_ctx *ctx = aes_ctx(crypto_blkcipher_ctx(desc->tfm)); in ecb_decrypt()
349 struct crypto_aes_ctx *ctx = aes_ctx(crypto_blkcipher_ctx(desc->tfm)); in cbc_encrypt()
373 struct crypto_aes_ctx *ctx = aes_ctx(crypto_blkcipher_ctx(desc->tfm)); in cbc_decrypt()
[all …]
/linux-2.6.39/drivers/staging/rtl8192u/ieee80211/
Daes.c97 struct aes_ctx { struct
276 struct aes_ctx *ctx = ctx_arg; in aes_set_key()
344 const struct aes_ctx *ctx = ctx_arg; in aes_encrypt()
397 const struct aes_ctx *ctx = ctx_arg; in aes_decrypt()
439 .cra_ctxsize = sizeof(struct aes_ctx),