Home
last modified time | relevance | path

Searched refs:templates (Results 1 – 23 of 23) sorted by relevance

/openssl/ssl/record/methods/
H A Dtls_multib.c86 if (templates[i - 1].type != templates[i].type in tls_write_records_multiblock_int()
87 || templates[i - 1].buflen != templates[i].buflen in tls_write_records_multiblock_int()
88 || templates[i - 1].buf + templates[i - 1].buflen in tls_write_records_multiblock_int()
89 != templates[i].buf) in tls_write_records_multiblock_int()
93 totlen = templates[0].buflen * numtempl; in tls_write_records_multiblock_int()
94 if (!tls_is_multiblock_capable(rl, templates[0].type, totlen, in tls_write_records_multiblock_int()
95 templates[0].buflen)) in tls_write_records_multiblock_int()
123 aad[8] = templates[0].type; in tls_write_records_multiblock_int()
124 aad[9] = (unsigned char)(templates[0].version >> 8); in tls_write_records_multiblock_int()
125 aad[10] = (unsigned char)(templates[0].version); in tls_write_records_multiblock_int()
[all …]
H A Drecmethod_local.h144 int (*write_records)(OSSL_RECORD_LAYER *rl, OSSL_RECORD_TEMPLATE *templates,
149 OSSL_RECORD_TEMPLATE *templates,
161 OSSL_RECORD_TEMPLATE *templates,
454 int tls_write_records(OSSL_RECORD_LAYER *rl, OSSL_RECORD_TEMPLATE *templates,
478 OSSL_RECORD_TEMPLATE *templates,
488 OSSL_RECORD_TEMPLATE *templates,
491 OSSL_RECORD_TEMPLATE *templates,
498 OSSL_RECORD_TEMPLATE *templates,
501 OSSL_RECORD_TEMPLATE *templates,
522 OSSL_RECORD_TEMPLATE *templates,
H A Dtls1_meth.c579 OSSL_RECORD_TEMPLATE *templates, in tls1_allocate_write_buffers() argument
584 && templates[0].type == SSL3_RT_APPLICATION_DATA; in tls1_allocate_write_buffers()
601 OSSL_RECORD_TEMPLATE *templates, in tls1_initialise_write_packets() argument
614 && templates[0].type == SSL3_RT_APPLICATION_DATA; in tls1_initialise_write_packets()
622 prefixtempl->version = templates[0].version; in tls1_initialise_write_packets()
647 return tls_initialise_write_packets_default(rl, templates, numtempl, in tls1_initialise_write_packets()
H A Dktls_meth.c447 OSSL_RECORD_TEMPLATE *templates, in ktls_allocate_write_buffers() argument
463 OSSL_RECORD_TEMPLATE *templates, in ktls_initialise_write_packets() argument
477 wb->type = templates[0].type; in ktls_initialise_write_packets()
485 TLS_BUFFER_set_buf(wb, (unsigned char *)templates[0].buf); in ktls_initialise_write_packets()
H A Dtls_common.c1548 OSSL_RECORD_TEMPLATE *templates, in tls_allocate_write_buffers_default() argument
1561 OSSL_RECORD_TEMPLATE *templates, in tls_initialise_write_packets_default() argument
1576 wb->type = templates[j].type; in tls_initialise_write_packets_default()
1748 OSSL_RECORD_TEMPLATE *templates, in tls_write_records_default() argument
1769 if (!rl->funcs->allocate_write_buffers(rl, templates, numtempl, &prefix)) { in tls_write_records_default()
1774 if (!rl->funcs->initialise_write_packets(rl, templates, numtempl, in tls_write_records_default()
1789 thistempl = (j < prefix) ? &prefixtempl : &templates[j - prefix]; in tls_write_records_default()
1867 thistempl = (j < prefix) ? &prefixtempl : &templates[j - prefix]; in tls_write_records_default()
1886 int tls_write_records(OSSL_RECORD_LAYER *rl, OSSL_RECORD_TEMPLATE *templates, in tls_write_records() argument
1896 if (!rl->funcs->write_records(rl, templates, numtempl)) { in tls_write_records()
/openssl/crypto/asn1/
H A Dtasn_fre.c48 if (it->templates) in ossl_asn1_item_embed_free()
49 ossl_asn1_template_free(pval, it->templates); in ossl_asn1_item_embed_free()
68 tt = it->templates + i; in ossl_asn1_item_embed_free()
105 tt = it->templates + it->tcount; in ossl_asn1_item_embed_free()
H A Dtasn_new.c90 if (it->templates) { in asn1_item_embed_new()
91 if (!asn1_template_new(pval, it->templates, libctx, propq)) in asn1_item_embed_new()
149 for (i = 0, tt = it->templates; i < it->tcount; tt++, i++) { in asn1_item_embed_new()
189 if (it->templates) in asn1_item_clear()
190 asn1_template_clear(pval, it->templates); in asn1_item_clear()
H A Dtasn_enc.c101 if (it->templates) in ASN1_item_ex_i2d()
102 return asn1_template_ex_i2d(pval, out, it->templates, in ASN1_item_ex_i2d()
132 chtt = it->templates + i; in ASN1_item_ex_i2d()
172 for (i = 0, tt = it->templates; i < it->tcount; tt++, i++) { in ASN1_item_ex_i2d()
191 for (i = 0, tt = it->templates; i < it->tcount; tt++, i++) { in ASN1_item_ex_i2d()
H A Dtasn_prn.c165 if (it->templates) { in asn1_item_print_ctx()
167 it->templates, pctx)) in asn1_item_print_ctx()
203 tt = it->templates + i; in asn1_item_print_ctx()
232 for (i = 0, tt = it->templates; i < it->tcount; i++, tt++) { in asn1_item_print_ctx()
H A Dtasn_dec.c202 if (it->templates) { in asn1_item_embed_d2i()
214 return asn1_template_ex_d2i(pval, in, len, it->templates, opt, ctx, in asn1_item_embed_d2i()
282 tt = it->templates + i; in asn1_item_embed_d2i()
293 for (i = 0, tt = it->templates; i < it->tcount; i++, tt++) { in asn1_item_embed_d2i()
375 for (i = 0, tt = it->templates; i < it->tcount; i++, tt++) { in asn1_item_embed_d2i()
388 for (i = 0, tt = it->templates; i < it->tcount; i++, tt++) { in asn1_item_embed_d2i()
/openssl/external/perl/Text-Template-1.56/
H A DChanges49 - Allow precompiled templates to work with preprocessing [#29928] (Thanks
55 - Fix templates with inline comments without newline after comment for perl
147 - Code added to prevent memory leaks when filling many templates. Thanks
170 - Code added to prevent memory leaks when filling many templates. Thanks to
203 or for all templates, or for the duration of only one call to fill_in.
205 your templates but you don't want to manually add `use strict' to the
213 appear in your templates. And third, because of the simplifications
230 templates was replaced with `n' before it was given to Perl for
269 - Note about failure of lexical variables to propagate into templates. Why
H A DREADME5 filling in templates generally. A `template' is a piece of text that
/openssl/Configurations/
H A DREADME-design.md20 build-file templates. See the section on build-file templates further
36 build-file templates, adapted for the platform they are meant for (see
37 sections on `%unified_info` and build-file templates further down).
408 Build-file templates
411 Build-file templates are essentially build-files (such as `Makefile` on
555 Along with the build-file templates is the driving template
H A DREADME.md10 *.tmpl Build file templates, please read 'Build-file
260 Note 2: pure templates have the attribute `template => 1` and
266 templates for different configuration aspects that can be combined
384 without extensions. The build file templates will figure them out.
/openssl/include/internal/
H A Drecordmethod.h205 int (*write_records)(OSSL_RECORD_LAYER *rl, OSSL_RECORD_TEMPLATE *templates,
/openssl/include/openssl/
H A Dasn1t.h.in47 * Otherwise templates must contain a single
51 * For SEQUENCE types the templates field points
55 * For CHOICE types the templates field points
606 const ASN1_TEMPLATE *templates; /* If SEQUENCE or CHOICE this contains member
608 long tcount; /* Number of templates if SEQUENCE or CHOICE */
/openssl/doc/man3/
H A DASN1_EXTERN_FUNCS.pod48 ASN.1 data structures templates are typically defined in OpenSSL using a series
50 templates can also be defined based entirely on external functions. These
H A DPEM_read_CMS.pod97 the PEM encoding. For more information on the templates, see
H A DX509_dup.pod414 The OpenSSL ASN1 parsing library templates are like a data-driven bytecode
/openssl/doc/designs/quic-design/
H A Drecord-layer.md179 templates for records to be written out and pass them to the "write" record
462 * Write |numtempl| records from the array of record templates pointed to
463 * by |templates|. Each record should be no longer than the value returned
472 * Buffers allocated for the record templates can be freed immediately after
474 * The record templates represent the plaintext payload. The encrypted
481 int (*write_records)(OSSL_RECORD_LAYER *rl, OSSL_RECORD_TEMPLATE *templates,
/openssl/
H A DNOTES-PERL.md99 libtext-template-perl - perl module to process text templates
H A DINSTALL.md1653 templates for those platforms. The database is comprised of
1655 file templates reside there as well as ".tmpl" files. See the
H A DCHANGES.md422 be less hard coded in the build file templates, and to allow easier
5179 * To enable users to have their own config files and build file templates,
5502 produced through general templates, such as Makefile.in and

Completed in 87 milliseconds