Searched refs:aead_instance (Results 1 – 12 of 12) sorted by relevance
23 struct aead_instance { struct24 void (*free)(struct aead_instance *inst); argument48 struct aead_instance *inst) in aead_crypto_instance() argument53 static inline struct aead_instance *aead_instance(struct crypto_instance *inst) in aead_instance() function55 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);
27 struct aead_instance *aead_geniv_alloc(struct crypto_template *tmpl,29 void aead_geniv_free(struct aead_instance *inst);
163 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()
131 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()
120 struct aead_instance *inst; in echainiv_aead_create()157 aead_geniv_free(aead_instance(inst)); in echainiv_free()
146 struct aead_instance *inst; in seqiv_aead_create()195 aead_geniv_free(aead_instance(inst)); in seqiv_free()
545 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()
228 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()
405 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()
339 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()
532 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()
1028 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()