Home | History | Annotate | Download | only in pkcs8

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
405 const uint8_t *in, size_t in_len,
433 if (!EVP_CipherUpdate(&ctx, buf, &n, in, in_len)) {
508 uint8_t *in = NULL;
517 in_len = ASN1_item_i2d(obj, &in, it);
518 if (!in) {
522 if (!pbe_crypt(algor, pass_raw, pass_raw_len, in, in_len, &oct->data, &crypt_len,
525 OPENSSL_free(in);
529 OPENSSL_cleanse(in, in_len);
530 OPENSSL_free(in);
673 /* PKCS12_handle_content_infos parses a series of PKCS#7 ContentInfos in a
680 CBS in;
692 * the ASN.1 data gets wrapped in OCTETSTRINGs and/or encrypted and the
701 CBS_init(&in, der_bytes, der_len);
703 CBS_init(&in, CBS_data(content_infos), CBS_len(content_infos));
706 if (!CBS_get_asn1(&in, &in, CBS_ASN1_SEQUENCE)) {
711 while (CBS_len(&in) > 0) {
713 if (!CBS_get_asn1(&in, &content_info, CBS_ASN1_SEQUENCE)) {
734 /* PKCS12_handle_content_info parses a single PKCS#7 ContentInfo element in a
905 CBS in, pfx, mac_data, authsafe, content_type, wrapped_authsafes, authsafes;
911 /* The input may be in BER format. */
917 CBS_init(&in, der_bytes, der_len);
919 CBS_init(&in, CBS_data(ber_in), CBS_len(ber_in));
927 if (!CBS_get_asn1(&in, &pfx, CBS_ASN1_SEQUENCE) ||
928 CBS_len(&in) != 0 ||