Home
last modified time | relevance | path

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

/linux-4.19.296/include/crypto/internal/
Daead.h23 struct aead_instance { struct
24 void (*free)(struct aead_instance *inst); argument
48 struct aead_instance *inst) in aead_crypto_instance() argument
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()
188 struct aead_instance *inst);
Dgeniv.h27 struct aead_instance *aead_geniv_alloc(struct crypto_template *tmpl,
29 void aead_geniv_free(struct aead_instance *inst);
/linux-4.19.296/crypto/
Daead.c163 struct aead_instance *aead = aead_instance(inst); in crypto_aead_free_instance()
203 struct aead_instance *aead_geniv_alloc(struct crypto_template *tmpl, in aead_geniv_alloc()
209 struct aead_instance *inst; in aead_geniv_alloc()
283 void aead_geniv_free(struct aead_instance *inst) in aead_geniv_free()
293 struct aead_instance *inst = aead_alg_instance(aead); in aead_init_geniv()
424 struct aead_instance *inst) in aead_register_instance()
Dauthenc.c131 struct aead_instance *inst = aead_alg_instance(authenc); in authenc_geniv_ahash_done()
150 struct aead_instance *inst = aead_alg_instance(authenc); in crypto_authenc_genicv()
210 struct aead_instance *inst = aead_alg_instance(authenc); in crypto_authenc_encrypt()
248 struct aead_instance *inst = aead_alg_instance(authenc); in crypto_authenc_decrypt_tail()
297 struct aead_instance *inst = aead_alg_instance(authenc); in crypto_authenc_decrypt()
324 struct aead_instance *inst = aead_alg_instance(tfm); in crypto_authenc_init_tfm()
378 static void crypto_authenc_free(struct aead_instance *inst) in crypto_authenc_free()
391 struct aead_instance *inst; in crypto_authenc_create()
Dechainiv.c120 struct aead_instance *inst; in echainiv_aead_create()
157 aead_geniv_free(aead_instance(inst)); in echainiv_free()
Dseqiv.c146 struct aead_instance *inst; in seqiv_aead_create()
195 aead_geniv_free(aead_instance(inst)); in seqiv_free()
Dgcm.c545 struct aead_instance *inst = aead_alg_instance(tfm); in crypto_gcm_init_tfm()
589 static void crypto_gcm_free(struct aead_instance *inst) in crypto_gcm_free()
604 struct aead_instance *inst; in crypto_gcm_create_common()
856 struct aead_instance *inst = aead_alg_instance(tfm); in crypto_rfc4106_init_tfm()
886 static void crypto_rfc4106_free(struct aead_instance *inst) in crypto_rfc4106_free()
896 struct aead_instance *inst; in crypto_rfc4106_create()
1079 struct aead_instance *inst = aead_alg_instance(tfm); in crypto_rfc4543_init_tfm()
1123 static void crypto_rfc4543_free(struct aead_instance *inst) in crypto_rfc4543_free()
1136 struct aead_instance *inst; in crypto_rfc4543_create()
Dpcrypt.c228 struct aead_instance *inst = aead_alg_instance(tfm); in pcrypt_aead_init_tfm()
260 static void pcrypt_free(struct aead_instance *inst) in pcrypt_free()
289 struct aead_instance *inst; in pcrypt_create_aead()
Dccm.c405 struct aead_instance *inst = aead_alg_instance(tfm); in crypto_ccm_init_tfm()
447 static void crypto_ccm_free(struct aead_instance *inst) in crypto_ccm_free()
462 struct aead_instance *inst; in crypto_ccm_create_common()
722 struct aead_instance *inst = aead_alg_instance(tfm); in crypto_rfc4309_init_tfm()
752 static void crypto_rfc4309_free(struct aead_instance *inst) in crypto_rfc4309_free()
762 struct aead_instance *inst; in crypto_rfc4309_create()
Dauthencesn.c339 struct aead_instance *inst = aead_alg_instance(tfm); in crypto_authenc_esn_init_tfm()
396 static void crypto_authenc_esn_free(struct aead_instance *inst) in crypto_authenc_esn_free()
409 struct aead_instance *inst; in crypto_authenc_esn_create()
Dchacha20poly1305.c532 struct aead_instance *inst = aead_alg_instance(tfm); in chachapoly_init()
576 static void chachapoly_free(struct aead_instance *inst) in chachapoly_free()
589 struct aead_instance *inst; in chachapoly_create()
Dcryptd.c1028 struct aead_instance *inst = aead_alg_instance(tfm); in cryptd_aead_init_tfm()
1056 struct aead_instance *inst; in cryptd_create_aead()
1149 kfree(aead_instance(inst)); in cryptd_free()