Lines Matching defs:to
7 * The implementation was written so as to conform with Netscapes SSL.
10 * the following conditions are aheared to. The following conditions
11 * apply to all code found in this distribution, be it the RC4, RSA,
17 * the code are not to be removed.
96 * encoding, except if the first byte is >= 0x80 we need to add a zero pad.
101 * adding one to the result. This can be done less messily with a little trick.
103 * complement and 0 by the add one (due to carry) so just copy as many trailing
104 * zeros to the destination as there are in the source. The carry will add one
105 * to the last none zero octet: so complement this octet and add one and finally
106 * complement any left over until you get to the start of the string.
159 /* Copy zeros to destination as long as source is zero */
176 /* Convert just ASN1 INTEGER content octets to ASN1_INTEGER structure */
183 unsigned char *to,*s;
205 to=s;
220 to += i - 1;
222 *(to--) = 0;
227 * the form FF followed by n zero bytes: this corresponds to
229 * so we just append an extra one and set the first byte to
238 *(to--) = (*(p--) ^ 0xff) + 1;
240 for(;i > 0; i--) *(to--) = *(p--) ^ 0xff;
276 unsigned char *to,*s;
311 to=s;