Home
last modified time | relevance | path

Searched refs:tmpl (Results 1 – 25 of 156) sorted by relevance

1234567

/openbmc/linux/drivers/crypto/marvell/cesa/
H A Dcipher.c423 struct mv_cesa_op_ctx *tmpl) in mv_cesa_skcipher_req_init() argument
444 mv_cesa_update_op_cfg(tmpl, CESA_SA_DESC_CFG_OP_CRYPT_ONLY, in mv_cesa_skcipher_req_init()
448 ret = mv_cesa_skcipher_dma_req_init(req, tmpl); in mv_cesa_skcipher_req_init()
450 ret = mv_cesa_skcipher_std_req_init(req, tmpl); in mv_cesa_skcipher_req_init()
456 struct mv_cesa_op_ctx *tmpl) in mv_cesa_skcipher_queue_req() argument
462 ret = mv_cesa_skcipher_req_init(req, tmpl); in mv_cesa_skcipher_queue_req()
478 struct mv_cesa_op_ctx *tmpl) in mv_cesa_des_op() argument
482 mv_cesa_update_op_cfg(tmpl, CESA_SA_DESC_CFG_CRYPTM_DES, in mv_cesa_des_op()
485 memcpy(tmpl->ctx.skcipher.key, ctx->key, DES_KEY_SIZE); in mv_cesa_des_op()
487 return mv_cesa_skcipher_queue_req(req, tmpl); in mv_cesa_des_op()
[all …]
H A Dhash.c441 struct mv_cesa_op_ctx *tmpl, bool algo_le) in mv_cesa_ahash_init() argument
446 mv_cesa_update_op_cfg(tmpl, in mv_cesa_ahash_init()
451 mv_cesa_set_mac_op_total_len(tmpl, 0); in mv_cesa_ahash_init()
452 mv_cesa_set_mac_op_frag_len(tmpl, 0); in mv_cesa_ahash_init()
453 creq->op_tmpl = *tmpl; in mv_cesa_ahash_init()
493 struct mv_cesa_op_ctx *tmpl, unsigned int frag_len, in mv_cesa_dma_add_frag() argument
499 op = mv_cesa_dma_add_op(chain, tmpl, false, flags); in mv_cesa_dma_add_frag()
511 if (mv_cesa_mac_op_is_first_frag(tmpl)) in mv_cesa_dma_add_frag()
512 mv_cesa_update_op_cfg(tmpl, in mv_cesa_dma_add_frag()
819 struct mv_cesa_op_ctx *tmpl = &creq->op_tmpl; in mv_cesa_ahash_final() local
[all …]
/openbmc/linux/drivers/crypto/qce/
H A Dsha.c42 struct qce_alg_template *tmpl = to_ahash_tmpl(async_req->tfm); in qce_ahash_done() local
43 struct qce_device *qce = tmpl->qce; in qce_ahash_done()
72 qce->async_req_done(tmpl->qce, error); in qce_ahash_done()
80 struct qce_alg_template *tmpl = to_ahash_tmpl(async_req->tfm); in qce_ahash_async_req_handle() local
81 struct qce_device *qce = tmpl->qce; in qce_ahash_async_req_handle()
118 ret = qce_start(async_req, tmpl->crypto_alg_type); in qce_ahash_async_req_handle()
136 struct qce_alg_template *tmpl = to_ahash_tmpl(req->base.tfm); in qce_ahash_init() local
137 const u32 *std_iv = tmpl->std_iv; in qce_ahash_init()
142 rctx->flags = tmpl->alg_flags; in qce_ahash_init()
187 struct qce_alg_template *tmpl = to_ahash_tmpl(req->base.tfm); in qce_ahash_update() local
[all …]
H A Dskcipher.c32 struct qce_alg_template *tmpl = to_cipher_tmpl(crypto_skcipher_reqtfm(req)); in qce_skcipher_done() local
33 struct qce_device *qce = tmpl->qce; in qce_skcipher_done()
60 qce->async_req_done(tmpl->qce, error); in qce_skcipher_done()
69 struct qce_alg_template *tmpl = to_cipher_tmpl(crypto_skcipher_reqtfm(req)); in qce_skcipher_async_req_handle() local
70 struct qce_device *qce = tmpl->qce; in qce_skcipher_async_req_handle()
152 ret = qce_start(async_req, tmpl->crypto_alg_type); in qce_skcipher_async_req_handle()
261 struct qce_alg_template *tmpl = to_cipher_tmpl(tfm); in qce_skcipher_crypt() local
266 rctx->flags = tmpl->alg_flags; in qce_skcipher_crypt()
307 return tmpl->qce->async_req_enqueue(tmpl->qce, &req->base); in qce_skcipher_crypt()
439 struct qce_alg_template *tmpl; in qce_skcipher_register_one() local
[all …]
H A Daead.c29 struct qce_alg_template *tmpl = to_aead_tmpl(crypto_aead_reqtfm(req)); in qce_aead_done() local
30 struct qce_device *qce = tmpl->qce; in qce_aead_done()
96 struct qce_alg_template *tmpl = to_aead_tmpl(crypto_aead_reqtfm(req)); in qce_aead_prepare_result_buf() local
97 struct qce_device *qce = tmpl->qce; in qce_aead_prepare_result_buf()
116 struct qce_alg_template *tmpl = to_aead_tmpl(crypto_aead_reqtfm(req)); in qce_aead_prepare_dst_buf() local
117 struct qce_device *qce = tmpl->qce; in qce_aead_prepare_dst_buf()
304 struct qce_alg_template *tmpl = to_aead_tmpl(crypto_aead_reqtfm(req)); in qce_aead_prepare_buf() local
305 struct qce_device *qce = tmpl->qce; in qce_aead_prepare_buf()
414 struct qce_alg_template *tmpl = to_aead_tmpl(crypto_aead_reqtfm(req)); in qce_aead_async_req_handle() local
415 struct qce_device *qce = tmpl->qce; in qce_aead_async_req_handle()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libcanberra/files/
H A D0001-remove-dropped-templates.patch16 -DOC_STAMPS=setup-build.stamp scan-build.stamp tmpl-build.stamp sgml-build.stamp \
19 - tmpl.stamp sgml.stamp html.stamp pdf.stamp
30 -tmpl-build.stamp: setup-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections…
35 - cp -rp $(abs_builddir)/tmpl $(abs_srcdir)/; \
38 - @touch tmpl-build.stamp
40 -tmpl.stamp: tmpl-build.stamp
43 $(srcdir)/tmpl/*.sgml:
48 -sgml-build.stamp: tmpl.stamp $(DOC_MODULE)-sections.txt $(srcdir)/tmpl/*.sgml $(expand_content_fil…
49 +sgml-build.stamp: $(DOC_MODULE)-sections.txt $(srcdir)/tmpl/*.sgml $(expand_content_files)
60 -# e.g. MKTMPL_OPTIONS=--only-section-tmpl
/openbmc/openbmc/
H A Dsetup36 local cfg name tmpl
54 tmpl=${cfg%/machine/*.conf}
59 if [ "$tmpl" = "poky/meta/conf" ]; then
61 tmpl="meta-phosphor/conf"
64 if [ ! -e "$tmpl/templates/default/bblayers.conf.sample" ]; then
67 … if ! grep -q "##OEROOT##/meta-phosphor" "$tmpl/templates/default/bblayers.conf.sample"; then
78 TEMPLATECONF="${tmpl}/templates/default" source \
81 if [ "$(cat conf/templateconf.cfg)" = "${tmpl}/templates/default" ]; then
/openbmc/linux/crypto/
H A Dxor.c58 static void __init do_xor_register(struct xor_block_template *tmpl) in do_xor_register() argument
60 tmpl->next = template_list; in do_xor_register()
61 template_list = tmpl; in do_xor_register()
83 do_xor_speed(struct xor_block_template *tmpl, void *b1, void *b2) in do_xor_speed() argument
89 tmpl->next = template_list; in do_xor_speed()
90 template_list = tmpl; in do_xor_speed()
101 tmpl->do_2(BENCH_SIZE, b1, b2); in do_xor_speed()
110 tmpl->speed = speed; in do_xor_speed()
112 pr_info(" %-16s: %5d MB/sec\n", tmpl->name, speed); in do_xor_speed()
H A Dalgapi.c82 struct crypto_template *tmpl = inst->tmpl; in crypto_destroy_instance_workfn() local
85 crypto_tmpl_put(tmpl); in crypto_destroy_instance_workfn()
134 struct crypto_template *tmpl = inst->tmpl; in crypto_remove_instance() local
141 if (!tmpl || !crypto_tmpl_get(tmpl)) in crypto_remove_instance()
546 int crypto_register_template(struct crypto_template *tmpl) in crypto_register_template() argument
553 crypto_check_module_sig(tmpl->module); in crypto_register_template()
556 if (q == tmpl) in crypto_register_template()
560 list_add(&tmpl->list, &crypto_template_list); in crypto_register_template()
586 void crypto_unregister_template(struct crypto_template *tmpl) in crypto_unregister_template() argument
595 BUG_ON(list_empty(&tmpl->list)); in crypto_unregister_template()
[all …]
H A Ddh.c551 struct crypto_template *tmpl, struct rtattr **tb, in __dh_safe_prime_create() argument
588 tmpl->name, &dh_alg->base); in __dh_safe_prime_create()
604 err = kpp_register_instance(tmpl, inst); in __dh_safe_prime_create()
832 static int dh_ffdhe2048_create(struct crypto_template *tmpl, in dh_ffdhe2048_create() argument
835 return __dh_safe_prime_create(tmpl, tb, &ffdhe2048_prime); in dh_ffdhe2048_create()
838 static int dh_ffdhe3072_create(struct crypto_template *tmpl, in dh_ffdhe3072_create() argument
841 return __dh_safe_prime_create(tmpl, tb, &ffdhe3072_prime); in dh_ffdhe3072_create()
844 static int dh_ffdhe4096_create(struct crypto_template *tmpl, in dh_ffdhe4096_create() argument
847 return __dh_safe_prime_create(tmpl, tb, &ffdhe4096_prime); in dh_ffdhe4096_create()
850 static int dh_ffdhe6144_create(struct crypto_template *tmpl, in dh_ffdhe6144_create() argument
[all …]
H A Dalgboss.c53 struct crypto_template *tmpl; in cryptomgr_probe() local
56 tmpl = crypto_lookup_template(param->template); in cryptomgr_probe()
57 if (!tmpl) in cryptomgr_probe()
61 err = tmpl->create(tmpl, param->tb); in cryptomgr_probe()
64 crypto_tmpl_put(tmpl); in cryptomgr_probe()
H A Decb.c62 static int crypto_ecb_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ecb_create() argument
67 inst = skcipher_alloc_instance_simple(tmpl, tb); in crypto_ecb_create()
76 err = skcipher_register_instance(tmpl, inst); in crypto_ecb_create()
/openbmc/linux/drivers/scsi/fnic/
H A Dcq_exch_desc.h16 u8 tmpl; member
50 u16 tmpl; member
83 u16 *tmpl, in cq_fcp_rq_desc_dec() argument
104 *tmpl = desc_ptr->tmpl & CQ_FCP_RQ_DESC_TMPL_MASK; in cq_fcp_rq_desc_dec()
129 u16 tmpl; member
157 u16 *tmpl, in cq_sgl_desc_dec() argument
166 *tmpl = desc_ptr->tmpl & CQ_SGL_TMPL_MASK; in cq_sgl_desc_dec()
/openbmc/openpower-pnor-code-mgmt/test/
H A Dtest_functions.cpp260 std::array<char, 15> tmpl{"/tmp/tmpXXXXXX"}; in TEST() local
261 std::filesystem::path workdir = mkdtemp(&tmpl[0]); in TEST()
275 std::array<char, 15> tmpl{"/tmp/tmpXXXXXX"}; in TEST() local
276 std::filesystem::path workdir = mkdtemp(&tmpl[0]); in TEST()
290 std::array<char, 15> tmpl{"/tmp/tmpXXXXXX"}; in TEST() local
291 std::filesystem::path workdir = mkdtemp(&tmpl[0]); in TEST()
312 std::array<char, 15> tmpl{"/tmp/tmpXXXXXX"}; in TEST() local
313 std::filesystem::path workdir = mkdtemp(&tmpl[0]); in TEST()
331 std::array<char, 15> tmpl{"/tmp/tmpXXXXXX"}; in TEST() local
332 std::filesystem::path workdir = mkdtemp(&tmpl[0]); in TEST()
[all …]
/openbmc/linux/include/net/netfilter/
H A Dnf_conntrack_zones.h29 nf_ct_zone_tmpl(const struct nf_conn *tmpl, const struct sk_buff *skb, in nf_ct_zone_tmpl() argument
33 if (!tmpl) in nf_ct_zone_tmpl()
36 if (tmpl->zone.flags & NF_CT_FLAG_MARK) in nf_ct_zone_tmpl()
37 return nf_ct_zone_init(tmp, skb->mark, tmpl->zone.dir, 0); in nf_ct_zone_tmpl()
39 return nf_ct_zone(tmpl); in nf_ct_zone_tmpl()
H A Dnf_conntrack_synproxy.h33 const struct nf_conn *tmpl) in nf_ct_add_synproxy() argument
36 if (tmpl && nfct_synproxy(tmpl)) { in nf_ct_add_synproxy()
/openbmc/openbmc/meta-security/dynamic-layers/meta-perl/recipes-security/nikto/
H A Dnikto_2.1.6.bb86 install -m 0644 templates/htm_close.tmpl ${D}${sysconfdir}/nikto/templates
87 install -m 0644 templates/htm_end.tmpl ${D}${sysconfdir}/nikto/templates
88 install -m 0644 templates/htm_host_head.tmpl ${D}${sysconfdir}/nikto/templates
89 install -m 0644 templates/htm_host_im.tmpl ${D}${sysconfdir}/nikto/templates
90 install -m 0644 templates/htm_host_item.tmpl ${D}${sysconfdir}/nikto/templates
91 install -m 0644 templates/htm_start.tmpl ${D}${sysconfdir}/nikto/templates
92 install -m 0644 templates/htm_stop.tmpl ${D}${sysconfdir}/nikto/templates
93 install -m 0644 templates/htm_start.tmpl ${D}${sysconfdir}/nikto/templates
94 install -m 0644 templates/htm_summary.tmpl ${D}${sysconfdir}/nikto/templates
95 install -m 0644 templates/xml_end.tmpl ${D}${sysconfdir}/nikto/templates
[all …]
/openbmc/linux/drivers/s390/net/
H A Dfsm.c18 int nr_events, const fsm_node *tmpl, int tmpl_len, gfp_t order) in init_fsm() argument
57 if ((tmpl[i].cond_state >= nr_states) || in init_fsm()
58 (tmpl[i].cond_event >= nr_events) ) { in init_fsm()
61 name, i, (long)tmpl[i].cond_state, (long)f->nr_states, in init_fsm()
62 (long)tmpl[i].cond_event, (long)f->nr_events); in init_fsm()
66 m[nr_states * tmpl[i].cond_event + tmpl[i].cond_state] = in init_fsm()
67 tmpl[i].function; in init_fsm()
/openbmc/linux/net/netfilter/
H A Dnf_conntrack_core.c525 struct nf_conn *tmpl, *p; in nf_ct_tmpl_alloc() local
528 tmpl = kzalloc(sizeof(*tmpl) + NFCT_INFOMASK, flags); in nf_ct_tmpl_alloc()
529 if (!tmpl) in nf_ct_tmpl_alloc()
532 p = tmpl; in nf_ct_tmpl_alloc()
533 tmpl = (struct nf_conn *)NFCT_ALIGN((unsigned long)p); in nf_ct_tmpl_alloc()
534 if (tmpl != p) { in nf_ct_tmpl_alloc()
535 tmpl = (struct nf_conn *)NFCT_ALIGN((unsigned long)p); in nf_ct_tmpl_alloc()
536 tmpl->proto.tmpl_padto = (char *)tmpl - (char *)p; in nf_ct_tmpl_alloc()
539 tmpl = kzalloc(sizeof(*tmpl), flags); in nf_ct_tmpl_alloc()
540 if (!tmpl) in nf_ct_tmpl_alloc()
[all …]
H A Dnft_dynset.c17 struct nft_set_ext_tmpl tmpl; member
59 elem = nft_set_elem_init(set, &priv->tmpl, in nft_dynset_new()
120 nft_set_ext_add_length(&priv->tmpl, NFT_SET_EXT_EXPRESSIONS, in nft_dynset_ext_add_expr()
306 nft_set_ext_prepare(&priv->tmpl); in nft_dynset_init()
307 nft_set_ext_add_length(&priv->tmpl, NFT_SET_EXT_KEY, set->klen); in nft_dynset_init()
309 nft_set_ext_add_length(&priv->tmpl, NFT_SET_EXT_DATA, set->dlen); in nft_dynset_init()
316 nft_set_ext_add(&priv->tmpl, NFT_SET_EXT_TIMEOUT); in nft_dynset_init()
317 nft_set_ext_add(&priv->tmpl, NFT_SET_EXT_EXPIRATION); in nft_dynset_init()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/xmlsec1/xmlsec1/
H A Drun-ptest13 ./sign1 sign1-tmpl.xml rsakey.pem > sign1-res.xml
15 check_return sign-tmpl
53 ./encrypt1 encrypt1-tmpl.xml deskey.bin > encrypt1-res.xml
55 check_return encrypt-tmpl
61 check_return encrypt-dynamic-tmpl
/openbmc/linux/drivers/media/dvb-frontends/
H A Dmn88443x.c273 u32 cpmon, tmpu, tmpl, flg; in mn88443x_s_read_status() local
307 regmap_read(r_s, CNRDXL_S, &tmpl); in mn88443x_s_read_status()
308 x = (tmpu << 8) | tmpl; in mn88443x_s_read_status()
310 regmap_read(r_s, CNRDYL_S, &tmpl); in mn88443x_s_read_status()
311 y = (tmpu << 8) | tmpl; in mn88443x_s_read_status()
349 regmap_read(r_s, BERVRDL_S, &tmpl); in mn88443x_s_read_status()
350 bit_err = (tmpu << 8) | tmpl; in mn88443x_s_read_status()
475 u32 seqrd, st, flg, tmpu, tmpm, tmpl; in mn88443x_t_read_status() local
495 regmap_read(r_t, AGCRDL_T, &tmpl); in mn88443x_t_read_status()
496 agc = (tmpu << 8) | tmpl; in mn88443x_t_read_status()
[all …]
/openbmc/linux/include/crypto/
H A Dalgapi.h77 struct crypto_template *tmpl; member
96 int (*create)(struct crypto_template *tmpl, struct rtattr **tb);
148 int crypto_register_template(struct crypto_template *tmpl);
150 void crypto_unregister_template(struct crypto_template *tmpl);
154 int crypto_register_instance(struct crypto_template *tmpl,
/openbmc/qemu/target/riscv/insn_trans/
H A Dtrans_rvm.c.inc29 TCGv tmpl = tcg_temp_new();
37 tcg_gen_mulu2_tl(tmpl, tmph, al, bh);
38 tcg_gen_add2_tl(r1, r2, r1, zero, tmpl, tmph);
39 tcg_gen_mulu2_tl(tmpl, tmph, ah, bl);
40 tcg_gen_add2_tl(r1, tmph, r1, r2, tmpl, tmph);
46 tcg_gen_mulu2_tl(tmpl, tmph, ah, bh);
47 tcg_gen_add2_tl(r2, r3, r2, r3, tmpl, tmph);
53 TCGv tmpl = tcg_temp_new();
59 tcg_gen_mulu2_tl(tmpl, tmph, rs1l, rs2h);
60 tcg_gen_add2_tl(rh, tmpx, rh, zero, tmpl, tmph);
[all …]
/openbmc/linux/tools/testing/selftests/net/
H A Dl2tp.sh236 tmpl proto esp mode transport
240 tmpl proto esp mode transport
244 tmpl proto esp mode transport
248 tmpl proto esp mode transport
275 tmpl proto esp mode transport
279 tmpl proto esp mode transport
283 tmpl proto esp mode transport
287 tmpl proto esp mode transport

1234567