Searched refs:aes_ctx (Results 1 – 2 of 2) sorted by relevance
57 struct aes_ctx { struct84 static inline struct aes_ctx *aes_ctx_common(void *ctx) in aes_ctx_common() argument91 return (struct aes_ctx *)ALIGN(addr, align); in aes_ctx_common()94 static inline struct aes_ctx *aes_ctx(struct crypto_tfm *tfm) in aes_ctx() function99 static inline struct aes_ctx *blk_aes_ctx(struct crypto_blkcipher *tfm) in blk_aes_ctx()107 struct aes_ctx *ctx = aes_ctx(tfm); in aes_set_key()300 struct aes_ctx *ctx = aes_ctx(tfm); in aes_encrypt()312 struct aes_ctx *ctx = aes_ctx(tfm); in aes_decrypt()328 .cra_ctxsize = sizeof(struct aes_ctx),346 struct aes_ctx *ctx = blk_aes_ctx(desc->tfm); in ecb_aes_encrypt()[all …]
186 struct crypto_aes_ctx *aes_ctx = (struct crypto_aes_ctx*)ctx; in aesni_gcm_enc_avx() local187 if ((plaintext_len < AVX_GEN2_OPTSIZE) || (aes_ctx-> key_length != AES_KEYSIZE_128)){ in aesni_gcm_enc_avx()202 struct crypto_aes_ctx *aes_ctx = (struct crypto_aes_ctx*)ctx; in aesni_gcm_dec_avx() local203 if ((ciphertext_len < AVX_GEN2_OPTSIZE) || (aes_ctx-> key_length != AES_KEYSIZE_128)) { in aesni_gcm_dec_avx()237 struct crypto_aes_ctx *aes_ctx = (struct crypto_aes_ctx*)ctx; in aesni_gcm_enc_avx2() local238 if ((plaintext_len < AVX_GEN2_OPTSIZE) || (aes_ctx-> key_length != AES_KEYSIZE_128)) { in aesni_gcm_enc_avx2()257 struct crypto_aes_ctx *aes_ctx = (struct crypto_aes_ctx*)ctx; in aesni_gcm_dec_avx2() local258 if ((ciphertext_len < AVX_GEN2_OPTSIZE) || (aes_ctx-> key_length != AES_KEYSIZE_128)) { in aesni_gcm_dec_avx2()293 static inline struct crypto_aes_ctx *aes_ctx(void *raw_ctx) in aes_ctx() function306 struct crypto_aes_ctx *ctx = aes_ctx(raw_ctx); in aes_set_key_common()[all …]