Searched refs:aead_instance (Results 1 – 14 of 14) sorted by relevance
18 struct aead_instance { struct19 void (*free)(struct aead_instance *inst); argument43 struct aead_instance *inst) in aead_crypto_instance() argument48 static inline struct aead_instance *aead_instance(struct crypto_instance *inst) in aead_instance() function50 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()143 struct aead_instance *inst);
22 struct aead_instance *aead_geniv_alloc(struct crypto_template *tmpl,
35 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()
116 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()
186 struct aead_instance *aead = aead_instance(inst); in crypto_aead_free_instance()287 struct aead_instance *inst) in aead_register_instance()
523 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()
174 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()
395 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()
324 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()
319 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()
115 struct aead_instance *inst; in echainiv_aead_create()
502 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()
138 struct aead_instance *inst; in seqiv_aead_create()
791 struct aead_instance *inst = aead_alg_instance(tfm); in cryptd_aead_init_tfm()814 static void cryptd_aead_free(struct aead_instance *inst) in cryptd_aead_free()828 struct aead_instance *inst; in cryptd_create_aead()