Lines Matching defs:in
7 * Redistribution and use in source and binary forms, with or without
14 * 2. Redistributions in binary form must reproduce the above copyright
15 * notice, this list of conditions and the following disclaimer in
22 * for use in the OpenSSL Toolkit. (http://www.OpenSSL.org/)"
30 * nor may "OpenSSL" appear in their names without prior written
36 * for use in the OpenSSL Toolkit (http://www.OpenSSL.org/)"
41 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
46 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
48 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
163 uint8_t *in = NULL;
166 int in_len = i2d_X509_SIG(pkcs8, &in);
172 CBS_init(&cbs, in, in_len);
181 OPENSSL_free(in);
237 /* PKCS12_handle_sequence parses a BER-encoded SEQUENCE of elements in a PKCS#12
244 CBS in;
248 * the ASN.1 data gets wrapped in OCTETSTRINGs and/or encrypted and the
257 CBS_init(&in, der_bytes, der_len);
259 CBS_init(&in, CBS_data(sequence), CBS_len(sequence));
263 if (!CBS_get_asn1(&in, &child, CBS_ASN1_SEQUENCE) ||
264 CBS_len(&in) != 0) {
300 /* PKCS12_handle_safe_bag parses a single SafeBag element in a PKCS#12
392 /* PKCS12_handle_content_info parses a single PKCS#7 ContentInfo element in a
475 CBS in, pfx, mac_data, authsafe, content_type, wrapped_authsafes, authsafes;
481 /* The input may be in BER format. */
487 CBS_init(&in, der_bytes, der_len);
489 CBS_init(&in, CBS_data(ber_in), CBS_len(ber_in));
497 if (!CBS_get_asn1(&in, &pfx, CBS_ASN1_SEQUENCE) ||
498 CBS_len(&in) != 0 ||
676 /* Workaround a bug in node.js. It uses a memory BIO for this in the wrong