Home
last modified time | relevance | path

Searched refs:crypto_aead (Results 1 - 25 of 203) sorted by relevance

123456789

/kernel/linux/linux-6.6/include/crypto/
H A Daead.h77 struct crypto_aead;
157 int (*setkey)(struct crypto_aead *tfm, const u8 *key,
159 int (*setauthsize)(struct crypto_aead *tfm, unsigned int authsize);
162 int (*init)(struct crypto_aead *tfm);
163 void (*exit)(struct crypto_aead *tfm);
176 struct crypto_aead { struct
183 static inline struct crypto_aead *__crypto_aead_cast(struct crypto_tfm *tfm) in __crypto_aead_cast()
185 return container_of(tfm, struct crypto_aead, base); in __crypto_aead_cast()
196 * crypto_aead is the cipher handle that is required for any subsequent
202 struct crypto_aead *crypto_alloc_aea
[all...]
/kernel/linux/linux-5.10/include/crypto/
H A Daead.h75 struct crypto_aead;
137 int (*setkey)(struct crypto_aead *tfm, const u8 *key,
139 int (*setauthsize)(struct crypto_aead *tfm, unsigned int authsize);
142 int (*init)(struct crypto_aead *tfm);
143 void (*exit)(struct crypto_aead *tfm);
152 struct crypto_aead { struct
159 static inline struct crypto_aead *__crypto_aead_cast(struct crypto_tfm *tfm) in __crypto_aead_cast()
161 return container_of(tfm, struct crypto_aead, base); in __crypto_aead_cast()
172 * crypto_aead is the cipher handle that is required for any subsequent
178 struct crypto_aead *crypto_alloc_aea
[all...]
/kernel/linux/linux-6.6/include/crypto/internal/
H A Daead.h37 static inline void *crypto_aead_ctx(struct crypto_aead *tfm) in crypto_aead_ctx()
42 static inline void *crypto_aead_ctx_dma(struct crypto_aead *tfm) in crypto_aead_ctx_dma()
58 static inline struct aead_instance *aead_alg_instance(struct crypto_aead *aead) in aead_alg_instance()
114 static inline struct crypto_aead *crypto_spawn_aead( in crypto_spawn_aead()
120 static inline void crypto_aead_set_reqsize(struct crypto_aead *aead, in crypto_aead_set_reqsize()
126 static inline void crypto_aead_set_reqsize_dma(struct crypto_aead *aead, in crypto_aead_set_reqsize_dma()
155 static inline unsigned int crypto_aead_chunksize(struct crypto_aead *tfm) in crypto_aead_chunksize()
H A Dgeniv.h17 struct crypto_aead *child;
24 int aead_init_geniv(struct crypto_aead *tfm);
25 void aead_exit_geniv(struct crypto_aead *tfm);
/kernel/linux/linux-5.10/net/mac80211/
H A Daes_gcm.h13 static inline int ieee80211_aes_gcm_encrypt(struct crypto_aead *tfm, in ieee80211_aes_gcm_encrypt()
22 static inline int ieee80211_aes_gcm_decrypt(struct crypto_aead *tfm, in ieee80211_aes_gcm_decrypt()
31 static inline struct crypto_aead *
38 static inline void ieee80211_aes_gcm_key_free(struct crypto_aead *tfm) in ieee80211_aes_gcm_key_free()
H A Daead_api.h9 struct crypto_aead *
13 int aead_encrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad,
17 int aead_decrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad,
21 void aead_key_free(struct crypto_aead *tfm);
H A Daes_ccm.h14 static inline struct crypto_aead *
21 ieee80211_aes_ccm_encrypt(struct crypto_aead *tfm, in ieee80211_aes_ccm_encrypt()
31 ieee80211_aes_ccm_decrypt(struct crypto_aead *tfm, in ieee80211_aes_ccm_decrypt()
40 static inline void ieee80211_aes_key_free(struct crypto_aead *tfm) in ieee80211_aes_key_free()
H A Daes_gmac.h15 struct crypto_aead *ieee80211_aes_gmac_key_setup(const u8 key[],
17 int ieee80211_aes_gmac(struct crypto_aead *tfm, const u8 *aad, u8 *nonce,
19 void ieee80211_aes_gmac_key_free(struct crypto_aead *tfm);
H A Daead_api.c18 int aead_encrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, size_t aad_len, in aead_encrypt()
50 int aead_decrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, size_t aad_len, in aead_decrypt()
85 struct crypto_aead *
89 struct crypto_aead *tfm; in aead_key_setup_encrypt()
110 void aead_key_free(struct crypto_aead *tfm) in aead_key_free()
/kernel/linux/linux-6.6/net/mac80211/
H A Daes_gcm.h13 static inline int ieee80211_aes_gcm_encrypt(struct crypto_aead *tfm, in ieee80211_aes_gcm_encrypt()
22 static inline int ieee80211_aes_gcm_decrypt(struct crypto_aead *tfm, in ieee80211_aes_gcm_decrypt()
31 static inline struct crypto_aead *
38 static inline void ieee80211_aes_gcm_key_free(struct crypto_aead *tfm) in ieee80211_aes_gcm_key_free()
H A Daead_api.h9 struct crypto_aead *
13 int aead_encrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad,
17 int aead_decrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad,
21 void aead_key_free(struct crypto_aead *tfm);
H A Daes_ccm.h14 static inline struct crypto_aead *
21 ieee80211_aes_ccm_encrypt(struct crypto_aead *tfm, in ieee80211_aes_ccm_encrypt()
31 ieee80211_aes_ccm_decrypt(struct crypto_aead *tfm, in ieee80211_aes_ccm_decrypt()
40 static inline void ieee80211_aes_key_free(struct crypto_aead *tfm) in ieee80211_aes_key_free()
H A Daes_gmac.h15 struct crypto_aead *ieee80211_aes_gmac_key_setup(const u8 key[],
17 int ieee80211_aes_gmac(struct crypto_aead *tfm, const u8 *aad, u8 *nonce,
19 void ieee80211_aes_gmac_key_free(struct crypto_aead *tfm);
H A Daead_api.c18 int aead_encrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, size_t aad_len, in aead_encrypt()
50 int aead_decrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, size_t aad_len, in aead_decrypt()
85 struct crypto_aead *
89 struct crypto_aead *tfm; in aead_key_setup_encrypt()
110 void aead_key_free(struct crypto_aead *tfm) in aead_key_free()
/kernel/linux/linux-5.10/include/crypto/internal/
H A Dgeniv.h17 struct crypto_aead *child;
24 int aead_init_geniv(struct crypto_aead *tfm);
25 void aead_exit_geniv(struct crypto_aead *tfm);
H A Daead.h37 static inline void *crypto_aead_ctx(struct crypto_aead *tfm) in crypto_aead_ctx()
53 static inline struct aead_instance *aead_alg_instance(struct crypto_aead *aead) in aead_alg_instance()
99 static inline struct crypto_aead *crypto_spawn_aead( in crypto_spawn_aead()
105 static inline void crypto_aead_set_reqsize(struct crypto_aead *aead, in crypto_aead_set_reqsize()
158 static inline unsigned int crypto_aead_chunksize(struct crypto_aead *tfm) in crypto_aead_chunksize()
/kernel/linux/linux-5.10/crypto/
H A Daead.c22 static int setkey_unaligned(struct crypto_aead *tfm, const u8 *key, in setkey_unaligned()
42 int crypto_aead_setkey(struct crypto_aead *tfm, in crypto_aead_setkey()
63 int crypto_aead_setauthsize(struct crypto_aead *tfm, unsigned int authsize) in crypto_aead_setauthsize()
84 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_aead_encrypt()
101 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_aead_decrypt()
120 struct crypto_aead *aead = __crypto_aead_cast(tfm); in crypto_aead_exit_tfm()
128 struct crypto_aead *aead = __crypto_aead_cast(tfm); in crypto_aead_init_tfm()
201 .tfmsize = offsetof(struct crypto_aead, base),
213 struct crypto_aead *crypto_alloc_aead(const char *alg_name, u32 type, u32 mask) in crypto_alloc_aead()
H A Dccm.c29 struct crypto_aead *child;
86 static int crypto_ccm_setkey(struct crypto_aead *aead, const u8 *key, in crypto_ccm_setkey()
107 static int crypto_ccm_setauthsize(struct crypto_aead *tfm, in crypto_ccm_setauthsize()
129 struct crypto_aead *aead = crypto_aead_reqtfm(req); in format_input()
171 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_auth()
229 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_encrypt_done()
286 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_encrypt()
327 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_decrypt_done()
346 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_decrypt()
392 static int crypto_ccm_init_tfm(struct crypto_aead *tf
[all...]
H A Dgcm.c33 struct crypto_aead *child;
48 struct crypto_aead *child;
92 static int crypto_gcm_setkey(struct crypto_aead *aead, const u8 *key, in crypto_gcm_setkey()
146 static int crypto_gcm_setauthsize(struct crypto_aead *tfm, in crypto_gcm_setauthsize()
180 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_gcm_init_crypt()
414 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_enc_copy_hash()
468 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_gcm_verify()
503 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_gcm_decrypt()
521 static int crypto_gcm_init_tfm(struct crypto_aead *tfm) in crypto_gcm_init_tfm()
559 static void crypto_gcm_exit_tfm(struct crypto_aead *tf
[all...]
/kernel/linux/linux-6.6/crypto/
H A Daead.c32 static int setkey_unaligned(struct crypto_aead *tfm, const u8 *key, in setkey_unaligned()
53 int crypto_aead_setkey(struct crypto_aead *tfm, in crypto_aead_setkey()
74 int crypto_aead_setauthsize(struct crypto_aead *tfm, unsigned int authsize) in crypto_aead_setauthsize()
106 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_aead_encrypt()
129 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_aead_decrypt()
154 struct crypto_aead *aead = __crypto_aead_cast(tfm); in crypto_aead_exit_tfm()
162 struct crypto_aead *aead = __crypto_aead_cast(tfm); in crypto_aead_init_tfm()
254 .tfmsize = offsetof(struct crypto_aead, base),
266 struct crypto_aead *crypto_alloc_aead(const char *alg_name, u32 type, u32 mask) in crypto_alloc_aead()
H A Dccm.c30 struct crypto_aead *child;
87 static int crypto_ccm_setkey(struct crypto_aead *aead, const u8 *key, in crypto_ccm_setkey()
108 static int crypto_ccm_setauthsize(struct crypto_aead *tfm, in crypto_ccm_setauthsize()
130 struct crypto_aead *aead = crypto_aead_reqtfm(req); in format_input()
172 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_auth()
230 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_encrypt_done()
287 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_encrypt()
327 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_decrypt_done()
346 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_ccm_decrypt()
392 static int crypto_ccm_init_tfm(struct crypto_aead *tf
[all...]
H A Dgcm.c33 struct crypto_aead *child;
48 struct crypto_aead *child;
92 static int crypto_gcm_setkey(struct crypto_aead *aead, const u8 *key, in crypto_gcm_setkey()
146 static int crypto_gcm_setauthsize(struct crypto_aead *tfm, in crypto_gcm_setauthsize()
180 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_gcm_init_crypt()
412 struct crypto_aead *aead = crypto_aead_reqtfm(req); in gcm_enc_copy_hash()
466 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_gcm_verify()
501 struct crypto_aead *aead = crypto_aead_reqtfm(req); in crypto_gcm_decrypt()
519 static int crypto_gcm_init_tfm(struct crypto_aead *tfm) in crypto_gcm_init_tfm()
557 static void crypto_gcm_exit_tfm(struct crypto_aead *tf
[all...]
/kernel/linux/linux-5.10/drivers/crypto/cavium/nitrox/
H A Dnitrox_aead.c34 static int nitrox_aes_gcm_setkey(struct crypto_aead *aead, const u8 *key, in nitrox_aes_gcm_setkey()
59 static int nitrox_aead_setauthsize(struct crypto_aead *aead, in nitrox_aead_setauthsize()
75 static int nitrox_aes_gcm_setauthsize(struct crypto_aead *aead, in nitrox_aes_gcm_setauthsize()
216 struct crypto_aead *aead = crypto_aead_reqtfm(areq); in nitrox_aes_gcm_enc()
250 struct crypto_aead *aead = crypto_aead_reqtfm(areq); in nitrox_aes_gcm_dec()
282 static int nitrox_aead_init(struct crypto_aead *aead) in nitrox_aead_init()
306 static int nitrox_gcm_common_init(struct crypto_aead *aead) in nitrox_gcm_common_init()
327 static int nitrox_aes_gcm_init(struct crypto_aead *aead) in nitrox_aes_gcm_init()
342 static void nitrox_aead_exit(struct crypto_aead *aead) in nitrox_aead_exit()
360 static int nitrox_rfc4106_setkey(struct crypto_aead *aea
[all...]
/kernel/linux/linux-6.6/drivers/crypto/cavium/nitrox/
H A Dnitrox_aead.c33 static int nitrox_aes_gcm_setkey(struct crypto_aead *aead, const u8 *key, in nitrox_aes_gcm_setkey()
58 static int nitrox_aead_setauthsize(struct crypto_aead *aead, in nitrox_aead_setauthsize()
74 static int nitrox_aes_gcm_setauthsize(struct crypto_aead *aead, in nitrox_aes_gcm_setauthsize()
215 struct crypto_aead *aead = crypto_aead_reqtfm(areq); in nitrox_aes_gcm_enc()
249 struct crypto_aead *aead = crypto_aead_reqtfm(areq); in nitrox_aes_gcm_dec()
281 static int nitrox_aead_init(struct crypto_aead *aead) in nitrox_aead_init()
305 static int nitrox_gcm_common_init(struct crypto_aead *aead) in nitrox_gcm_common_init()
326 static int nitrox_aes_gcm_init(struct crypto_aead *aead) in nitrox_aes_gcm_init()
341 static void nitrox_aead_exit(struct crypto_aead *aead) in nitrox_aead_exit()
359 static int nitrox_rfc4106_setkey(struct crypto_aead *aea
[all...]
/kernel/linux/linux-5.10/arch/x86/crypto/
H A Daegis128-aesni-glue.c135 static struct aegis_ctx *crypto_aegis128_aesni_ctx(struct crypto_aead *aead) in crypto_aegis128_aesni_ctx()
142 static int crypto_aegis128_aesni_setkey(struct crypto_aead *aead, const u8 *key, in crypto_aegis128_aesni_setkey()
155 static int crypto_aegis128_aesni_setauthsize(struct crypto_aead *tfm, in crypto_aegis128_aesni_setauthsize()
170 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in crypto_aegis128_aesni_crypt()
195 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in crypto_aegis128_aesni_encrypt()
217 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in crypto_aegis128_aesni_decrypt()
230 static int crypto_aegis128_aesni_init_tfm(struct crypto_aead *aead) in crypto_aegis128_aesni_init_tfm()
235 static void crypto_aegis128_aesni_exit_tfm(struct crypto_aead *aead) in crypto_aegis128_aesni_exit_tfm()

Completed in 12 milliseconds

123456789