Home
last modified time | relevance | path

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

/Linux-v5.15/include/crypto/internal/
Daead.h18 struct aead_instance { struct
19 void (*free)(struct aead_instance *inst); argument
43 struct aead_instance *inst) in aead_crypto_instance() argument
48 static inline struct aead_instance *aead_instance(struct crypto_instance *inst) in aead_instance() function
50 return container_of(&inst->alg, struct aead_instance, alg.base); in aead_instance()
53 static inline struct aead_instance *aead_alg_instance(struct crypto_aead *aead) in aead_alg_instance()
55 return aead_instance(crypto_tfm_alg_instance(&aead->base)); in aead_alg_instance()
58 static inline void *aead_instance_ctx(struct aead_instance *inst) in aead_instance_ctx()
168 struct aead_instance *inst);
Dgeniv.h22 struct aead_instance *aead_geniv_alloc(struct crypto_template *tmpl,
/Linux-v5.15/crypto/
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()
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()
195 struct aead_instance *inst = aead_alg_instance(authenc); in crypto_authenc_encrypt()
233 struct aead_instance *inst = aead_alg_instance(authenc); in crypto_authenc_decrypt_tail()
282 struct aead_instance *inst = aead_alg_instance(authenc); in crypto_authenc_decrypt()
309 struct aead_instance *inst = aead_alg_instance(tfm); in crypto_authenc_init_tfm()
363 static void crypto_authenc_free(struct aead_instance *inst) in crypto_authenc_free()
376 struct aead_instance *inst; in crypto_authenc_create()
Daead.c186 struct aead_instance *aead = aead_instance(inst); in crypto_aead_free_instance()
287 struct aead_instance *inst) in aead_register_instance()
Dgcm.c523 struct aead_instance *inst = aead_alg_instance(tfm); in crypto_gcm_init_tfm()
567 static void crypto_gcm_free(struct aead_instance *inst) in crypto_gcm_free()
582 struct aead_instance *inst; in crypto_gcm_create_common()
791 struct aead_instance *inst = aead_alg_instance(tfm); in crypto_rfc4106_init_tfm()
821 static void crypto_rfc4106_free(struct aead_instance *inst) in crypto_rfc4106_free()
831 struct aead_instance *inst; in crypto_rfc4106_create()
989 struct aead_instance *inst = aead_alg_instance(tfm); in crypto_rfc4543_init_tfm()
1033 static void crypto_rfc4543_free(struct aead_instance *inst) in crypto_rfc4543_free()
1046 struct aead_instance *inst; in crypto_rfc4543_create()
Dpcrypt.c170 struct aead_instance *inst = aead_alg_instance(tfm); in pcrypt_aead_init_tfm()
202 static void pcrypt_free(struct aead_instance *inst) in pcrypt_free()
232 struct aead_instance *inst; in pcrypt_create_aead()
Dccm.c395 struct aead_instance *inst = aead_alg_instance(tfm); in crypto_ccm_init_tfm()
437 static void crypto_ccm_free(struct aead_instance *inst) in crypto_ccm_free()
452 struct aead_instance *inst; in crypto_ccm_create_common()
670 struct aead_instance *inst = aead_alg_instance(tfm); in crypto_rfc4309_init_tfm()
700 static void crypto_rfc4309_free(struct aead_instance *inst) in crypto_rfc4309_free()
710 struct aead_instance *inst; in crypto_rfc4309_create()
Dauthencesn.c324 struct aead_instance *inst = aead_alg_instance(tfm); in crypto_authenc_esn_init_tfm()
381 static void crypto_authenc_esn_free(struct aead_instance *inst) in crypto_authenc_esn_free()
394 struct aead_instance *inst; in crypto_authenc_esn_create()
Dessiv.c319 struct aead_instance *inst = aead_alg_instance(tfm); in essiv_aead_init_tfm()
376 static void essiv_aead_free_instance(struct aead_instance *inst) in essiv_aead_free_instance()
444 struct aead_instance *aead_inst = NULL; in essiv_create()
Dechainiv.c115 struct aead_instance *inst; in echainiv_aead_create()
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()
Dseqiv.c138 struct aead_instance *inst; in seqiv_aead_create()
Dcryptd.c790 struct aead_instance *inst = aead_alg_instance(tfm); in cryptd_aead_init_tfm()
813 static void cryptd_aead_free(struct aead_instance *inst) in cryptd_aead_free()
827 struct aead_instance *inst; in cryptd_create_aead()