Lines Matching refs:tmpl
446 static int crypto_ccm_create_common(struct crypto_template *tmpl, in crypto_ccm_create_common() argument
523 err = aead_register_instance(tmpl, inst); in crypto_ccm_create_common()
531 static int crypto_ccm_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ccm_create() argument
549 return crypto_ccm_create_common(tmpl, tb, ctr_name, mac_name); in crypto_ccm_create()
552 static int crypto_ccm_base_create(struct crypto_template *tmpl, in crypto_ccm_base_create() argument
566 return crypto_ccm_create_common(tmpl, tb, ctr_name, mac_name); in crypto_ccm_base_create()
706 static int crypto_rfc4309_create(struct crypto_template *tmpl, in crypto_rfc4309_create() argument
770 err = aead_register_instance(tmpl, inst); in crypto_rfc4309_create()
863 static int cbcmac_create(struct crypto_template *tmpl, struct rtattr **tb) in cbcmac_create() argument
886 err = crypto_inst_setname(shash_crypto_instance(inst), tmpl->name, alg); in cbcmac_create()
909 err = shash_register_instance(tmpl, inst); in cbcmac_create()