/kernel/linux/linux-6.6/include/crypto/internal/ |
H A D | cipher.h | 16 struct crypto_cipher { struct 37 static inline struct crypto_cipher *__crypto_cipher_cast(struct crypto_tfm *tfm) in __crypto_cipher_cast() 39 return (struct crypto_cipher *)tfm; in __crypto_cipher_cast() 50 * crypto_cipher is the cipher handle that is required for any subsequent API 56 static inline struct crypto_cipher *crypto_alloc_cipher(const char *alg_name, in crypto_alloc_cipher() 66 static inline struct crypto_tfm *crypto_cipher_tfm(struct crypto_cipher *tfm) in crypto_cipher_tfm() 75 static inline void crypto_free_cipher(struct crypto_cipher *tfm) in crypto_free_cipher() 109 static inline unsigned int crypto_cipher_blocksize(struct crypto_cipher *tfm) in crypto_cipher_blocksize() 114 static inline unsigned int crypto_cipher_alignmask(struct crypto_cipher *tfm) in crypto_cipher_alignmask() 119 static inline u32 crypto_cipher_get_flags(struct crypto_cipher *tf [all...] |
H A D | skcipher.h | 231 struct crypto_cipher *cipher; /* underlying block cipher */ 233 static inline struct crypto_cipher *
|
/kernel/linux/linux-6.6/crypto/ |
H 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() 94 struct crypto_cipher *crypto_clone_cipher(struct crypto_cipher *cipher) in crypto_clone_cipher() 98 struct crypto_cipher *ncipher; in crypto_clone_cipher()
|
H 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()
|
H 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()
|
H 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()
|
H 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()
|
H 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() 206 struct crypto_cipher *cipher; in cmac_init_tfm() 222 struct crypto_cipher *cipher; in cmac_clone_tfm()
|
H 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()
|
H 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()
|
H 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()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | crypto.h | 642 struct crypto_cipher { struct 766 static inline struct crypto_cipher *__crypto_cipher_cast(struct crypto_tfm *tfm) in __crypto_cipher_cast() 768 return (struct crypto_cipher *)tfm; in __crypto_cipher_cast() 779 * crypto_cipher is the cipher handle that is required for any subsequent API 785 static inline struct crypto_cipher *crypto_alloc_cipher(const char *alg_name, in crypto_alloc_cipher() 795 static inline struct crypto_tfm *crypto_cipher_tfm(struct crypto_cipher *tfm) in crypto_cipher_tfm() 804 static inline void crypto_free_cipher(struct crypto_cipher *tfm) in crypto_free_cipher() 838 static inline unsigned int crypto_cipher_blocksize(struct crypto_cipher *tfm) in crypto_cipher_blocksize() 843 static inline unsigned int crypto_cipher_alignmask(struct crypto_cipher *tfm) in crypto_cipher_alignmask() 848 static inline u32 crypto_cipher_get_flags(struct crypto_cipher *tf [all...] |
/kernel/linux/linux-5.10/crypto/ |
H A D | cipher.c | 19 static int setkey_unaligned(struct crypto_cipher *tfm, const u8 *key, in setkey_unaligned() 41 int crypto_cipher_setkey(struct crypto_cipher *tfm, in crypto_cipher_setkey() 57 static inline void cipher_crypt_one(struct crypto_cipher *tfm, in cipher_crypt_one() 78 void crypto_cipher_encrypt_one(struct crypto_cipher *tfm, in crypto_cipher_encrypt_one() 85 void crypto_cipher_decrypt_one(struct crypto_cipher *tfm, in crypto_cipher_decrypt_one()
|
H A D | pcbc.c | 21 struct crypto_cipher *tfm) in crypto_pcbc_encrypt_segment() 43 struct crypto_cipher *tfm) in crypto_pcbc_encrypt_inplace() 66 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_pcbc_encrypt() 88 struct crypto_cipher *tfm) in crypto_pcbc_decrypt_segment() 110 struct crypto_cipher *tfm) in crypto_pcbc_decrypt_inplace() 133 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_pcbc_decrypt()
|
H A D | ecb.c | 16 struct crypto_cipher *cipher, in crypto_ecb_crypt() 46 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_ecb_encrypt() 55 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_ecb_decrypt()
|
H A D | cbc.c | 24 struct crypto_cipher *cipher; in crypto_cbc_encrypt_segment() 51 struct crypto_cipher *cipher; in crypto_cbc_encrypt_inplace() 99 struct crypto_cipher *cipher; in crypto_cbc_decrypt_segment() 129 struct crypto_cipher *cipher; in crypto_cbc_decrypt_inplace()
|
H A D | cmac.c | 29 struct crypto_cipher *child; 124 struct crypto_cipher *tfm = tctx->child; in crypto_cmac_digest_update() 170 struct crypto_cipher *tfm = tctx->child; in crypto_cmac_digest_final() 202 struct crypto_cipher *cipher; in cmac_init_tfm()
|
H A D | xcbc.c | 28 struct crypto_cipher *child; 91 struct crypto_cipher *tfm = tctx->child; in crypto_xcbc_digest_update() 137 struct crypto_cipher *tfm = tctx->child; in crypto_xcbc_digest_final() 168 struct crypto_cipher *cipher; in xcbc_init_tfm()
|
H A D | keywrap.c | 126 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_kw_decrypt() 195 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_kw_encrypt()
|
H A D | ctr.c | 28 struct crypto_cipher *tfm) in crypto_ctr_crypt_final() 46 struct crypto_cipher *tfm) in crypto_ctr_crypt_segment() 72 struct crypto_cipher *tfm) in crypto_ctr_crypt_inplace() 101 struct crypto_cipher *cipher = skcipher_cipher_simple(tfm); in crypto_ctr_crypt()
|
/kernel/linux/linux-5.10/drivers/crypto/vmx/ |
H A D | aes.c | 22 struct crypto_cipher *fallback; 30 struct crypto_cipher *fallback; in p8_aes_init() 43 crypto_cipher *) in p8_aes_init()
|
/kernel/linux/linux-6.6/drivers/crypto/vmx/ |
H 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()
|
/kernel/linux/linux-5.10/include/crypto/internal/ |
H A D | skcipher.h | 201 struct crypto_cipher *cipher; /* underlying block cipher */ 203 static inline struct crypto_cipher *
|
/kernel/linux/linux-5.10/drivers/crypto/ |
H A D | geode-aes.h | 53 struct crypto_cipher *cip;
|
/kernel/linux/linux-6.6/drivers/crypto/ |
H A D | geode-aes.h | 53 struct crypto_cipher *cip;
|