/freebsd-current/sys/contrib/openzfs/include/sys/crypto/ |
H A D | api.h | 49 crypto_key_t *key, crypto_ctx_template_t *tmpl); 50 extern void crypto_destroy_ctx_template(crypto_ctx_template_t tmpl); 56 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *mac); 58 crypto_ctx_template_t tmpl, crypto_context_t *ctxp); 66 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *ciphertext); 68 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *plaintext);
|
/freebsd-current/crypto/openssl/external/perl/Text-Template-1.56/t/ |
H A D | inline-comment.t | 11 my $tmpl = Text::Template->new( 17 is $tmpl->fill_in(HASH => $vars), 'Hello Bob';
|
H A D | nested-tags.t | 19 my $tmpl = Text::Template->new( 24 is $tmpl->fill_in, ' {{$NEXT}} ';
|
H A D | preprocess.t | 30 my $tmpl; 32 $tmpl = Text::Template::Preprocess->new(TYPE => 'STRING', SOURCE => $t) or die; 36 $tmpl = Text::Template::Preprocess->new(TYPE => 'FILEHANDLE', SOURCE => $tfh) or die; 38 $tmpl->preprocessor($py) if ($test & 1) == 1; 40 my $o = $tmpl->fill_in(@args, HASH => { x => 119, 'y' => 23, z => 5 });
|
H A D | basic.t | 67 open my $tmpl, '<', $TEMPFILE or die "failed to open $TEMPFILE: $!"; 69 $template = Text::Template->new(type => 'FILEHANDLE', source => $tmpl); 80 close $tmpl; 103 $tmpl = Text::Template->new(TYPE => 'STRING', SOURCE => 'B{"\\}"}C{"\\{"}D'); 106 $text = $tmpl->fill_in(); 111 $tmpl = Text::Template->new(TYPE => 'STRING', SOURCE => qq{A{"\t"}B}); 116 $text = $tmpl->fill_in(); 141 my $tmpl = Text::Template->new(TYPE => 'STRING', SOURCE => $test); 142 my $text = $tmpl->fill_in; 151 $tmpl [all...] |
H A D | delimiters.t | 73 my $tmpl = Text::Template->new( 78 my $text = $tmpl->fill_in;
|
/freebsd-current/contrib/netbsd-tests/bin/df/ |
H A D | getmntinfo.c | 66 other_variants(const struct statvfs *tmpl, const int *minfree, int minfreecnt, argument 76 *sf = *tmpl; 93 static const struct statvfs tmpl = { local 112 *getnewstatvfs() = tmpl; 113 other_variants(&tmpl, minfree, sizeof(minfree) / sizeof(minfree[0]), 124 static const struct statvfs tmpl = { local 145 *getnewstatvfs() = tmpl; 146 other_variants(&tmpl, minfree, sizeof(minfree) / sizeof(minfree[0]), 156 static const struct statvfs tmpl = { local 175 *getnewstatvfs() = tmpl; 185 static const struct statvfs tmpl = { local [all...] |
/freebsd-current/usr.sbin/config/ |
H A D | Makefile | 11 kernconf.c: kernconf.tmpl 13 ${SRCDIR}/kernconf.tmpl > kernconf.c
|
/freebsd-current/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
H A D | HTMLLogger.js | 47 for (tmpl of root.getElementsByTagName('template')) 48 reinflate(tmpl, data); 52 // Expands template `tmpl` based on input `data`: 56 function inflate(tmpl, data, parent, next) { 63 if (tmpl.nodeName != 'TEMPLATE') { 64 let clone = tmpl.cloneNode(); 71 for (c of tmpl.childNodes) 77 if ('use' in tmpl.dataset) 78 return inflate(document.getElementById(tmpl.dataset.use), data, parent, next); 81 for (c of tmpl [all...] |
/freebsd-current/crypto/openssl/crypto/crmf/ |
H A D | crmf_lib.c | 262 OSSL_CRMF_CERTTEMPLATE *tmpl = OSSL_CRMF_MSG_get0_tmpl(crm); local 264 if (tmpl == NULL) { /* also crm == NULL implies this */ 273 tmpl->validity = vld; 321 OSSL_CRMF_CERTTEMPLATE *tmpl = OSSL_CRMF_MSG_get0_tmpl(crm); local 323 if (tmpl == NULL) { /* also crm == NULL implies this */ 333 sk_X509_EXTENSION_pop_free(tmpl->extensions, X509_EXTENSION_free); 334 tmpl->extensions = exts; 343 OSSL_CRMF_CERTTEMPLATE *tmpl = OSSL_CRMF_MSG_get0_tmpl(crm); local 345 if (tmpl == NULL || ext == NULL) { /* also crm == NULL implies this */ 350 if (tmpl 535 OSSL_CRMF_CERTTEMPLATE_get0_serialNumber(const OSSL_CRMF_CERTTEMPLATE *tmpl) argument 541 OSSL_CRMF_CERTTEMPLATE_get0_subject(const OSSL_CRMF_CERTTEMPLATE *tmpl) argument 548 OSSL_CRMF_CERTTEMPLATE_get0_issuer(const OSSL_CRMF_CERTTEMPLATE *tmpl) argument 554 OSSL_CRMF_CERTTEMPLATE_get0_extensions(const OSSL_CRMF_CERTTEMPLATE *tmpl) argument 576 OSSL_CRMF_CERTTEMPLATE_fill(OSSL_CRMF_CERTTEMPLATE *tmpl, EVP_PKEY *pubkey, const X509_NAME *subject, const X509_NAME *issuer, const ASN1_INTEGER *serial) argument [all...] |
/freebsd-current/crypto/heimdal/lib/roken/ |
H A D | test-readenv.c | 49 make_file(char *tmpl, size_t l) argument 52 strlcpy(tmpl, "env.XXXXXX", l); 53 fd = mkstemp(tmpl);
|
/freebsd-current/sys/contrib/openzfs/module/icp/api/ |
H A D | kcf_mac.c | 67 * tmpl: a crypto_ctx_template_t, opaque template of a context of a 68 * MAC with the 'mech' using 'key'. 'tmpl' is created by 85 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *mac) 103 if (((ctx_tmpl = (kcf_ctx_template_t *)tmpl) != NULL)) 136 * tmpl: a crypto_ctx_template_t, opaque template of a context of a 137 * MAC with the 'mech' using 'key'. 'tmpl' is created by 146 * context from the context template, tmpl. 157 crypto_mechanism_t *mech, crypto_key_t *key, crypto_spi_ctx_template_t tmpl, 172 rv = KCF_PROV_MAC_INIT(real_provider, ctx, &lmech, key, tmpl); 191 crypto_ctx_template_t tmpl, crypto_context_ 84 crypto_mac(crypto_mechanism_t *mech, crypto_data_t *data, crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *mac) argument 156 crypto_mac_init_prov(kcf_provider_desc_t *pd, crypto_mechanism_t *mech, crypto_key_t *key, crypto_spi_ctx_template_t tmpl, crypto_context_t *ctxp) argument 190 crypto_mac_init(crypto_mechanism_t *mech, crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_context_t *ctxp) argument [all...] |
H A D | kcf_cipher.c | 52 * tmpl: a crypto_ctx_template_t, opaque template of a context of an 53 * encryption with the 'mech' using 'key'. 'tmpl' is created by 69 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *ciphertext) 87 if (((ctx_tmpl = (kcf_ctx_template_t *)tmpl) != NULL)) 123 * tmpl: a crypto_ctx_template_t, opaque template of a context of an 124 * encryption with the 'mech' using 'key'. 'tmpl' is created by 140 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *plaintext) 158 if (((ctx_tmpl = (kcf_ctx_template_t *)tmpl) != NULL)) 68 crypto_encrypt(crypto_mechanism_t *mech, crypto_data_t *plaintext, crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *ciphertext) argument 139 crypto_decrypt(crypto_mechanism_t *mech, crypto_data_t *ciphertext, crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *plaintext) argument
|
H A D | kcf_ctxops.c | 120 * tmpl: an opaque crypto_ctx_template_t previously created by 132 crypto_destroy_ctx_template(crypto_ctx_template_t tmpl) argument 134 kcf_ctx_template_t *ctx_tmpl = (kcf_ctx_template_t *)tmpl;
|
/freebsd-current/tools/test/stress2/misc/ |
H A D | selfd.sh | 88 fd_set rset, tmpl; 98 FD_ZERO(&tmpl); 102 FD_SET(fds[i][0], &tmpl); 111 rset = tmpl;
|
/freebsd-current/crypto/openssl/crypto/ec/ |
H A D | ec_backend.c | 156 static int ec_group_explicit_todata(const EC_GROUP *group, OSSL_PARAM_BLD *tmpl, argument 186 if (tmpl != NULL || param_p != NULL || param_a != NULL || param_b != NULL) 201 if (!ossl_param_build_set_bn(tmpl, params, OSSL_PKEY_PARAM_EC_P, p) 202 || !ossl_param_build_set_bn(tmpl, params, OSSL_PKEY_PARAM_EC_A, a) 203 || !ossl_param_build_set_bn(tmpl, params, OSSL_PKEY_PARAM_EC_B, b)) { 210 if (tmpl != NULL || param != NULL) { 217 if (!ossl_param_build_set_bn(tmpl, params, OSSL_PKEY_PARAM_EC_ORDER, 225 if (tmpl != NULL || param != NULL) { 226 if (!ossl_param_build_set_utf8_string(tmpl, params, 235 if (tmpl ! 288 ossl_ec_group_todata(const EC_GROUP *group, OSSL_PARAM_BLD *tmpl, OSSL_PARAM params[], OSSL_LIB_CTX *libctx, const char *propq, BN_CTX *bnctx, unsigned char **genbuf) argument [all...] |
/freebsd-current/stand/powerpc/boot1.chrp/ |
H A D | Makefile | 36 uudecode ${.CURDIR}/hfs.tmpl.bz2.uu 37 mv hfs.tmpl.bz2 ${.TARGET}.bz2
|
/freebsd-current/contrib/ntp/libntp/ |
H A D | dolfptoa.c | 69 u_int32 digit, tmph, tmpl; local 80 tmpl = fpv; 83 M_ADD(digit, fpv, tmph, tmpl);
|
/freebsd-current/crypto/openssl/crypto/dsa/ |
H A D | dsa_ameth.c | 434 OSSL_PARAM_BLD *tmpl; local 445 tmpl = OSSL_PARAM_BLD_new(); 446 if (tmpl == NULL) 449 if (!OSSL_PARAM_BLD_push_BN(tmpl, OSSL_PKEY_PARAM_FFC_P, p) 450 || !OSSL_PARAM_BLD_push_BN(tmpl, OSSL_PKEY_PARAM_FFC_Q, q) 451 || !OSSL_PARAM_BLD_push_BN(tmpl, OSSL_PKEY_PARAM_FFC_G, g)) 455 if (!OSSL_PARAM_BLD_push_BN(tmpl, OSSL_PKEY_PARAM_PUB_KEY, 461 if (!OSSL_PARAM_BLD_push_BN(tmpl, OSSL_PKEY_PARAM_PRIV_KEY, 467 if ((params = OSSL_PARAM_BLD_to_param(tmpl)) == NULL) 475 OSSL_PARAM_BLD_free(tmpl); [all...] |
/freebsd-current/crypto/openssl/providers/implementations/keymgmt/ |
H A D | mac_legacy_kmgmt.c | 244 static int key_to_params(MAC_KEY *key, OSSL_PARAM_BLD *tmpl, argument 251 && !ossl_param_build_set_octet_string(tmpl, params, 257 && !ossl_param_build_set_utf8_string(tmpl, params, 264 && !ossl_param_build_set_utf8_string(tmpl, params, 277 OSSL_PARAM_BLD *tmpl; local 287 tmpl = OSSL_PARAM_BLD_new(); 288 if (tmpl == NULL) 292 && !key_to_params(key, tmpl, NULL)) 295 params = OSSL_PARAM_BLD_to_param(tmpl); 302 OSSL_PARAM_BLD_free(tmpl); [all...] |
/freebsd-current/crypto/openssl/apps/ |
H A D | dhparam.c | 365 OSSL_PARAM_BLD *tmpl = NULL; local 378 if ((tmpl = OSSL_PARAM_BLD_new()) == NULL 379 || !OSSL_PARAM_BLD_push_BN(tmpl, OSSL_PKEY_PARAM_FFC_P, 381 || !OSSL_PARAM_BLD_push_BN(tmpl, OSSL_PKEY_PARAM_FFC_Q, 383 || !OSSL_PARAM_BLD_push_BN(tmpl, OSSL_PKEY_PARAM_FFC_G, 385 || (params = OSSL_PARAM_BLD_to_param(tmpl)) == NULL) { 401 OSSL_PARAM_BLD_free(tmpl);
|
/freebsd-current/crypto/openssl/crypto/evp/ |
H A D | ctrl_params_translate.c | 2516 lookup_translation(struct translation_st *tmpl, argument 2539 if (item->optype != -1 && (tmpl->optype & item->optype) == 0) 2546 && tmpl->keytype1 != item->keytype1 2547 && tmpl->keytype2 != item->keytype2) 2555 if (tmpl->ctrl_num != 0) { 2556 if (tmpl->ctrl_num != item->ctrl_num) 2558 } else if (tmpl->ctrl_str != NULL) { 2575 && OPENSSL_strcasecmp(tmpl->ctrl_str, item->ctrl_str) == 0) 2576 ctrl_str = tmpl->ctrl_str; 2578 && OPENSSL_strcasecmp(tmpl 2621 lookup_evp_pkey_ctx_translation(struct translation_st *tmpl) argument 2628 lookup_evp_pkey_translation(struct translation_st *tmpl) argument 2640 struct translation_st tmpl = { 0, }; local 2708 struct translation_st tmpl = { 0, }; local 2775 struct translation_st tmpl = { 0, }; local 2838 struct translation_st tmpl = { 0, }; local [all...] |
/freebsd-current/crypto/openssl/crypto/dh/ |
H A D | dh_ameth.c | 457 OSSL_PARAM_BLD *tmpl; local 469 tmpl = OSSL_PARAM_BLD_new(); 470 if (tmpl == NULL) 472 if (!OSSL_PARAM_BLD_push_BN(tmpl, OSSL_PKEY_PARAM_FFC_P, p) 473 || !OSSL_PARAM_BLD_push_BN(tmpl, OSSL_PKEY_PARAM_FFC_G, g)) 476 if (!OSSL_PARAM_BLD_push_BN(tmpl, OSSL_PKEY_PARAM_FFC_Q, q)) 481 if (!OSSL_PARAM_BLD_push_long(tmpl, OSSL_PKEY_PARAM_DH_PRIV_LEN, l)) 486 if (!OSSL_PARAM_BLD_push_BN(tmpl, OSSL_PKEY_PARAM_PUB_KEY, pub_key)) 491 if (!OSSL_PARAM_BLD_push_BN(tmpl, OSSL_PKEY_PARAM_PRIV_KEY, 497 if ((params = OSSL_PARAM_BLD_to_param(tmpl)) [all...] |
/freebsd-current/crypto/openssl/ |
H A D | configdata.pm.in | 135 my $tmpl; 138 $tmpl = OpenSSL::Template->new(TYPE => 'FILE', 140 $tmpl->fill_in(FILENAME => $_, 160 $tmpl = OpenSSL::Template->new(TYPE => 'FILE', 162 $tmpl->fill_in(FILENAME => $_, 352 my @tmpl = ($_); 353 unshift @tmpl, $here 355 print ' ',canonpath(catfile(@tmpl)),"\n";
|
/freebsd-current/crypto/openssl/test/helpers/ |
H A D | predefined_dhparams.c | 22 OSSL_PARAM_BLD *tmpl = NULL; local 29 if ((tmpl = OSSL_PARAM_BLD_new()) == NULL 30 || !OSSL_PARAM_BLD_push_BN(tmpl, OSSL_PKEY_PARAM_FFC_P, p) 31 || !OSSL_PARAM_BLD_push_BN(tmpl, OSSL_PKEY_PARAM_FFC_G, g) 33 && !OSSL_PARAM_BLD_push_BN(tmpl, OSSL_PKEY_PARAM_FFC_Q, q))) 36 params = OSSL_PARAM_BLD_to_param(tmpl); 44 OSSL_PARAM_BLD_free(tmpl);
|