/linux-6.3-rc2/include/crypto/internal/ |
A D | cipher.h | 16 struct crypto_cipher { struct 39 return (struct crypto_cipher *)tfm; in __crypto_cipher_cast() 56 static inline struct crypto_cipher *crypto_alloc_cipher(const char *alg_name, in crypto_alloc_cipher() 75 static inline void crypto_free_cipher(struct crypto_cipher *tfm) in crypto_free_cipher() 119 static inline u32 crypto_cipher_get_flags(struct crypto_cipher *tfm) in crypto_cipher_get_flags() 124 static inline void crypto_cipher_set_flags(struct crypto_cipher *tfm, in crypto_cipher_set_flags() 130 static inline void crypto_cipher_clear_flags(struct crypto_cipher *tfm, in crypto_cipher_clear_flags() 152 int crypto_cipher_setkey(struct crypto_cipher *tfm, 164 void crypto_cipher_encrypt_one(struct crypto_cipher *tfm, 176 void crypto_cipher_decrypt_one(struct crypto_cipher *tfm, [all …]
|
A D | skcipher.h | 231 struct crypto_cipher *cipher; /* underlying block cipher */ 233 static inline struct crypto_cipher *
|
/linux-6.3-rc2/crypto/ |
A D | cipher.c | 20 static int setkey_unaligned(struct crypto_cipher *tfm, const u8 *key, in setkey_unaligned() 43 int crypto_cipher_setkey(struct crypto_cipher *tfm, in crypto_cipher_setkey() 59 static inline void cipher_crypt_one(struct crypto_cipher *tfm, in cipher_crypt_one() 80 void crypto_cipher_encrypt_one(struct crypto_cipher *tfm, in crypto_cipher_encrypt_one() 87 void crypto_cipher_decrypt_one(struct crypto_cipher *tfm, in crypto_cipher_decrypt_one()
|
A D | pcbc.c | 22 struct crypto_cipher *tfm) in crypto_pcbc_encrypt_segment() 44 struct crypto_cipher *tfm) in crypto_pcbc_encrypt_inplace() 67 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_pcbc_encrypt() 89 struct crypto_cipher *tfm) in crypto_pcbc_decrypt_segment() 111 struct crypto_cipher *tfm) in crypto_pcbc_decrypt_inplace() 134 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_pcbc_decrypt()
|
A D | ecb.c | 17 struct crypto_cipher *cipher, in crypto_ecb_crypt() 47 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_ecb_encrypt() 56 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_ecb_decrypt()
|
A D | xctr.c | 35 struct crypto_cipher *tfm, u32 byte_ctr) in crypto_xctr_crypt_final() 50 struct crypto_cipher *tfm, u32 byte_ctr) in crypto_xctr_crypt_segment() 75 struct crypto_cipher *tfm, u32 byte_ctr) in crypto_xctr_crypt_inplace() 103 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_xctr_crypt()
|
A D | cbc.c | 25 struct crypto_cipher *cipher; in crypto_cbc_encrypt_segment() 52 struct crypto_cipher *cipher; in crypto_cbc_encrypt_inplace() 100 struct crypto_cipher *cipher; in crypto_cbc_decrypt_segment() 130 struct crypto_cipher *cipher; in crypto_cbc_decrypt_inplace()
|
A D | xcbc.c | 29 struct crypto_cipher *child; 92 struct crypto_cipher *tfm = tctx->child; in crypto_xcbc_digest_update() 138 struct crypto_cipher *tfm = tctx->child; in crypto_xcbc_digest_final() 169 struct crypto_cipher *cipher; in xcbc_init_tfm()
|
A D | cmac.c | 30 struct crypto_cipher *child; 125 struct crypto_cipher *tfm = tctx->child; in crypto_cmac_digest_update() 171 struct crypto_cipher *tfm = tctx->child; in crypto_cmac_digest_final() 203 struct crypto_cipher *cipher; in cmac_init_tfm()
|
A D | ctr.c | 29 struct crypto_cipher *tfm) in crypto_ctr_crypt_final() 47 struct crypto_cipher *tfm) in crypto_ctr_crypt_segment() 73 struct crypto_cipher *tfm) in crypto_ctr_crypt_inplace() 102 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_ctr_crypt()
|
A D | keywrap.c | 127 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_kw_decrypt() 196 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_kw_encrypt()
|
A D | xts.c | 26 struct crypto_cipher *tweak; 46 struct crypto_cipher *tweak; in xts_setkey() 301 struct crypto_cipher *tweak; in xts_init_tfm()
|
A D | ofb.c | 21 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_ofb_crypt()
|
A D | ccm.c | 54 struct crypto_cipher *child; 803 struct crypto_cipher *tfm = tctx->child; in crypto_cbcmac_digest_update() 829 struct crypto_cipher *tfm = tctx->child; in crypto_cbcmac_digest_final() 842 struct crypto_cipher *cipher; in cbcmac_init_tfm()
|
A D | drbg.c | 1739 struct crypto_cipher *tfm = in drbg_fini_sym_kernel() 1740 (struct crypto_cipher *)drbg->priv_data; in drbg_fini_sym_kernel() 1761 struct crypto_cipher *tfm; in drbg_init_sym_kernel() 1821 struct crypto_cipher *tfm = drbg->priv_data; in drbg_kcapi_symsetkey() 1829 struct crypto_cipher *tfm = drbg->priv_data; in drbg_kcapi_sym()
|
A D | hctr2.c | 44 struct crypto_cipher *blockcipher; 340 struct crypto_cipher *blockcipher; in hctr2_init_tfm()
|
A D | adiantum.c | 72 struct crypto_cipher *blockcipher; 402 struct crypto_cipher *blockcipher; in adiantum_init_tfm()
|
A D | essiv.c | 55 struct crypto_cipher *essiv_cipher; 273 struct crypto_cipher *essiv_cipher; in essiv_init_tfm()
|
A D | ansi_cprng.c | 47 struct crypto_cipher *tfm;
|
A D | vmac.c | 53 struct crypto_cipher *cipher; 602 struct crypto_cipher *cipher; in vmac_init_tfm()
|
A D | skcipher.c | 863 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in skcipher_setkey_simple() 876 struct crypto_cipher *cipher; in skcipher_init_tfm_simple()
|
/linux-6.3-rc2/drivers/crypto/vmx/ |
A D | aes.c | 23 struct crypto_cipher *fallback; 31 struct crypto_cipher *fallback; in p8_aes_init() 44 crypto_cipher *) in p8_aes_init()
|
/linux-6.3-rc2/drivers/crypto/ |
A D | geode-aes.h | 53 struct crypto_cipher *cip;
|
/linux-6.3-rc2/arch/arm/crypto/ |
A D | aes-neonbs-glue.c | 59 struct crypto_cipher *cts_tfm; 60 struct crypto_cipher *tweak_tfm;
|
/linux-6.3-rc2/arch/s390/crypto/ |
A D | aes_s390.c | 49 struct crypto_cipher *cip;
|