Lines Matching refs:tmpl
442 static int crypto_ccm_create_common(struct crypto_template *tmpl, in crypto_ccm_create_common() argument
517 err = aead_register_instance(tmpl, inst); in crypto_ccm_create_common()
525 static int crypto_ccm_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ccm_create() argument
543 return crypto_ccm_create_common(tmpl, tb, ctr_name, mac_name); in crypto_ccm_create()
546 static int crypto_ccm_base_create(struct crypto_template *tmpl, in crypto_ccm_base_create() argument
560 return crypto_ccm_create_common(tmpl, tb, ctr_name, mac_name); in crypto_ccm_base_create()
700 static int crypto_rfc4309_create(struct crypto_template *tmpl, in crypto_rfc4309_create() argument
764 err = aead_register_instance(tmpl, inst); in crypto_rfc4309_create()
847 static int cbcmac_create(struct crypto_template *tmpl, struct rtattr **tb) in cbcmac_create() argument
870 err = crypto_inst_setname(shash_crypto_instance(inst), tmpl->name, alg); in cbcmac_create()
892 err = shash_register_instance(tmpl, inst); in cbcmac_create()