Home | History | Annotate | Download | only in x509

Lines Matching defs:in

10  * apply to all code found in this distribution, be it the RC4, RSA,
15 * Copyright remains Eric Young's, and as such any Copyright notices in
17 * If this package is used in a product, Eric Young should be given attribution
19 * This can be in the form of a textual message at program startup or
20 * in documentation (online or textual) provided with the package.
22 * Redistribution and use in source and binary forms, with or without
27 * 2. Redistributions in binary form must reproduce the above copyright
28 * notice, this list of conditions and the following disclaimer in the
43 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
47 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
48 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
76 const unsigned char **in, long len,
87 static int asn1_string_canon(ASN1_STRING *out, ASN1_STRING *in);
89 unsigned char **in);
189 const unsigned char **in, long len, const ASN1_ITEM *it,
192 const unsigned char *p = *in, *q;
237 *in = p;
319 * In it all strings are converted to UTF8, leading, trailing and
323 * In future we could also normalize the UTF8 too.
413 static int asn1_string_canon(ASN1_STRING *out, ASN1_STRING *in)
418 /* If type not in bitmask just copy string across */
419 if (!(ASN1_tag2bit(in->type) & ASN1_MASK_CANON))
421 if (!ASN1_STRING_copy(out, in))
427 out->length = ASN1_STRING_to_UTF8(&out->data, in);
436 /* Convert string in place to canonical form.
500 unsigned char **in)
511 ltmp = ASN1_item_ex_i2d(&v, in,
522 X509_NAME *in;
528 in=X509_NAME_dup(name);
529 if (in != NULL)
532 *xn=in;