Home
last modified time | relevance | path

Searched refs:aead_instance (Results 1 – 14 of 14) sorted by relevance

/linux-6.3-rc2/include/crypto/internal/
A Daead.h18 struct aead_instance { struct
19 void (*free)(struct aead_instance *inst); argument
48 struct aead_instance *inst) in aead_crypto_instance()
53 static inline struct aead_instance *aead_instance(struct crypto_instance *inst) in aead_instance() function
55 return container_of(&inst->alg, struct aead_instance, alg.base); in aead_instance()
58 static inline struct aead_instance *aead_alg_instance(struct crypto_aead *aead) in aead_alg_instance()
60 return aead_instance(crypto_tfm_alg_instance(&aead->base)); in aead_alg_instance()
63 static inline void *aead_instance_ctx(struct aead_instance *inst) in aead_instance_ctx()
165 struct aead_instance *inst);
A Dgeniv.h22 struct aead_instance *aead_geniv_alloc(struct crypto_template *tmpl,
/linux-6.3-rc2/crypto/
A Dgeniv.c35 static void aead_geniv_free(struct aead_instance *inst) in aead_geniv_free()
41 struct aead_instance *aead_geniv_alloc(struct crypto_template *tmpl, in aead_geniv_alloc()
45 struct aead_instance *inst; in aead_geniv_alloc()
112 struct aead_instance *inst = aead_alg_instance(aead); in aead_init_geniv()
A Dauthenc.c116 struct aead_instance *inst = aead_alg_instance(authenc); in authenc_geniv_ahash_done()
135 struct aead_instance *inst = aead_alg_instance(authenc); in crypto_authenc_genicv()
194 struct aead_instance *inst = aead_alg_instance(authenc); in crypto_authenc_encrypt()
232 struct aead_instance *inst = aead_alg_instance(authenc); in crypto_authenc_decrypt_tail()
280 struct aead_instance *inst = aead_alg_instance(authenc); in crypto_authenc_decrypt()
307 struct aead_instance *inst = aead_alg_instance(tfm); in crypto_authenc_init_tfm()
361 static void crypto_authenc_free(struct aead_instance *inst) in crypto_authenc_free()
374 struct aead_instance *inst; in crypto_authenc_create()
A Daead.c186 struct aead_instance *aead = aead_instance(inst); in crypto_aead_free_instance()
287 struct aead_instance *inst) in aead_register_instance()
A Dgcm.c521 struct aead_instance *inst = aead_alg_instance(tfm); in crypto_gcm_init_tfm()
565 static void crypto_gcm_free(struct aead_instance *inst) in crypto_gcm_free()
580 struct aead_instance *inst; in crypto_gcm_create_common()
789 struct aead_instance *inst = aead_alg_instance(tfm); in crypto_rfc4106_init_tfm()
819 static void crypto_rfc4106_free(struct aead_instance *inst) in crypto_rfc4106_free()
829 struct aead_instance *inst; in crypto_rfc4106_create()
987 struct aead_instance *inst = aead_alg_instance(tfm); in crypto_rfc4543_init_tfm()
1031 static void crypto_rfc4543_free(struct aead_instance *inst) in crypto_rfc4543_free()
1044 struct aead_instance *inst; in crypto_rfc4543_create()
A Dpcrypt.c174 struct aead_instance *inst = aead_alg_instance(tfm); in pcrypt_aead_init_tfm()
206 static void pcrypt_free(struct aead_instance *inst) in pcrypt_free()
236 struct aead_instance *inst; in pcrypt_create_aead()
A Dccm.c394 struct aead_instance *inst = aead_alg_instance(tfm); in crypto_ccm_init_tfm()
436 static void crypto_ccm_free(struct aead_instance *inst) in crypto_ccm_free()
451 struct aead_instance *inst; in crypto_ccm_create_common()
669 struct aead_instance *inst = aead_alg_instance(tfm); in crypto_rfc4309_init_tfm()
699 static void crypto_rfc4309_free(struct aead_instance *inst) in crypto_rfc4309_free()
709 struct aead_instance *inst; in crypto_rfc4309_create()
A Dauthencesn.c321 struct aead_instance *inst = aead_alg_instance(tfm); in crypto_authenc_esn_init_tfm()
378 static void crypto_authenc_esn_free(struct aead_instance *inst) in crypto_authenc_esn_free()
391 struct aead_instance *inst; in crypto_authenc_esn_create()
A Dessiv.c324 struct aead_instance *inst = aead_alg_instance(tfm); in essiv_aead_init_tfm()
381 static void essiv_aead_free_instance(struct aead_instance *inst) in essiv_aead_free_instance()
449 struct aead_instance *aead_inst = NULL; in essiv_create()
A Dechainiv.c115 struct aead_instance *inst; in echainiv_aead_create()
A Dchacha20poly1305.c502 struct aead_instance *inst = aead_alg_instance(tfm); in chachapoly_init()
546 static void chachapoly_free(struct aead_instance *inst) in chachapoly_free()
559 struct aead_instance *inst; in chachapoly_create()
A Dseqiv.c137 struct aead_instance *inst; in seqiv_aead_create()
A Dcryptd.c819 struct aead_instance *inst = aead_alg_instance(tfm); in cryptd_aead_init_tfm()
842 static void cryptd_aead_free(struct aead_instance *inst) in cryptd_aead_free()
856 struct aead_instance *inst; in cryptd_create_aead()

Completed in 21 milliseconds