Searched refs:aes_ctx (Results 1 – 3 of 3) sorted by relevance
208 static inline struct crypto_aes_ctx *aes_ctx(void *raw_ctx) in aes_ctx() function221 struct crypto_aes_ctx *ctx = aes_ctx(raw_ctx); in aes_set_key_common()247 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); in aesni_encrypt()260 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); in aesni_decrypt()281 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in ecb_encrypt()303 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in ecb_decrypt()325 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in cbc_encrypt()347 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in cbc_decrypt()369 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in cts_cbc_encrypt()425 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in cts_cbc_decrypt()[all …]
60 struct aes_ctx { struct87 static inline struct aes_ctx *aes_ctx_common(void *ctx) in aes_ctx_common() argument94 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() function102 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 …]
78 struct crypto_aes_ctx aes_ctx; in chcr_ktls_save_keys() local140 ret = aes_expandkey(&aes_ctx, key, keylen); in chcr_ktls_save_keys()145 aes_encrypt(&aes_ctx, ghash_h, ghash_h); in chcr_ktls_save_keys()146 memzero_explicit(&aes_ctx, sizeof(aes_ctx)); in chcr_ktls_save_keys()