• Home
  • Raw
  • Download

Lines Matching defs:ctx

170 static void aesni_gcm_enc_avx(void *ctx, u8 *out,  in aesni_gcm_enc_avx()
186 static void aesni_gcm_dec_avx(void *ctx, u8 *out, in aesni_gcm_dec_avx()
221 static void aesni_gcm_enc_avx2(void *ctx, u8 *out, in aesni_gcm_enc_avx2()
241 static void aesni_gcm_dec_avx2(void *ctx, u8 *out, in aesni_gcm_dec_avx2()
306 struct crypto_aes_ctx *ctx = aes_ctx(raw_ctx); in aes_set_key_common() local
335 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); in aes_encrypt() local
348 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); in aes_decrypt() local
361 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); in __aes_encrypt() local
368 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); in __aes_decrypt() local
383 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in ecb_encrypt() local
405 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in ecb_decrypt() local
427 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in cbc_encrypt() local
449 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in cbc_decrypt() local
469 static void ctr_crypt_final(struct crypto_aes_ctx *ctx, in ctr_crypt_final()
485 static void aesni_ctr_enc_avx_tfm(struct crypto_aes_ctx *ctx, u8 *out, in aesni_ctr_enc_avx_tfm()
506 struct crypto_aes_ctx *ctx = aes_ctx(crypto_skcipher_ctx(tfm)); in ctr_crypt() local
532 struct aesni_xts_ctx *ctx = crypto_skcipher_ctx(tfm); in xts_aesni_setkey() local
553 static void aesni_xts_tweak(void *ctx, u8 *out, const u8 *in) in aesni_xts_tweak()
558 static void aesni_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in aesni_xts_enc()
563 static void aesni_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) in aesni_xts_dec()
568 static void aesni_xts_enc8(void *ctx, u128 *dst, const u128 *src, le128 *iv) in aesni_xts_enc8()
573 static void aesni_xts_dec8(void *ctx, u128 *dst, const u128 *src, le128 *iv) in aesni_xts_dec8()
607 struct aesni_xts_ctx *ctx = crypto_skcipher_ctx(tfm); in xts_encrypt() local
618 struct aesni_xts_ctx *ctx = crypto_skcipher_ctx(tfm); in xts_decrypt() local
629 struct cryptd_aead **ctx = crypto_aead_ctx(aead); in rfc4106_init() local
644 struct cryptd_aead **ctx = crypto_aead_ctx(aead); in rfc4106_exit() local
677 struct aesni_rfc4106_gcm_ctx *ctx = aesni_rfc4106_gcm_ctx_get(aead); in common_rfc4106_set_key() local
696 struct cryptd_aead **ctx = crypto_aead_ctx(parent); in gcmaes_wrapper_set_key() local
722 struct cryptd_aead **ctx = crypto_aead_ctx(parent); in gcmaes_wrapper_set_authsize() local
882 struct aesni_rfc4106_gcm_ctx *ctx = aesni_rfc4106_gcm_ctx_get(tfm); in helper_rfc4106_encrypt() local
909 struct aesni_rfc4106_gcm_ctx *ctx = aesni_rfc4106_gcm_ctx_get(tfm); in helper_rfc4106_decrypt() local
935 struct cryptd_aead **ctx = crypto_aead_ctx(tfm); in gcmaes_wrapper_encrypt() local
951 struct cryptd_aead **ctx = crypto_aead_ctx(tfm); in gcmaes_wrapper_decrypt() local
1093 struct generic_gcmaes_ctx *ctx = generic_gcmaes_ctx_get(aead); in generic_gcmaes_set_key() local
1103 struct generic_gcmaes_ctx *ctx = generic_gcmaes_ctx_get(tfm); in generic_gcmaes_encrypt() local
1119 struct generic_gcmaes_ctx *ctx = generic_gcmaes_ctx_get(tfm); in generic_gcmaes_decrypt() local
1133 struct cryptd_aead **ctx = crypto_aead_ctx(aead); in generic_gcmaes_init() local
1149 struct cryptd_aead **ctx = crypto_aead_ctx(aead); in generic_gcmaes_exit() local