Home | History | Annotate | Download | only in asn1

Lines Matching defs:in

11  * apply to all code found in this distribution, be it the RC4, RSA,
16 * Copyright remains Eric Young's, and as such any Copyright notices in
18 * If this package is used in a product, Eric Young should be given attribution
20 * This can be in the form of a textual message at program startup or
21 * in documentation (online or textual) provided with the package.
23 * Redistribution and use in source and binary forms, with or without
28 * 2. Redistributions in binary form must reproduce the above copyright
29 * notice, this list of conditions and the following disclaimer in the
44 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
48 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
49 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
70 const unsigned char **in, long len,
81 static int asn1_string_canon(ASN1_STRING *out, ASN1_STRING *in);
83 unsigned char **in);
173 const unsigned char **in, long len, const ASN1_ITEM *it,
176 const unsigned char *p = *in, *q;
215 *in = p;
306 * In it all strings are converted to UTF8, leading, trailing and
310 * In future we could also normalize the UTF8 too.
394 static int asn1_string_canon(ASN1_STRING *out, ASN1_STRING *in)
399 /* If type not in bitmask just copy string across */
400 if (!(ASN1_tag2bit(in->type) & ASN1_MASK_CANON))
402 if (!ASN1_STRING_copy(out, in))
408 out->length = ASN1_STRING_to_UTF8(&out->data, in);
417 /* Convert string in place to canonical form.
481 unsigned char **in)
491 ltmp = ASN1_item_ex_i2d(&v, in,
502 X509_NAME *in;
508 in=X509_NAME_dup(name);
509 if (in != NULL)
512 *xn=in;