Lines Matching refs: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.
67 int RSA_padding_add_PKCS1_type_1(unsigned char *to, int tlen,
79 p = (unsigned char *)to;
93 int RSA_padding_check_PKCS1_type_1(unsigned char *to, int tlen,
110 if (*p != 0xff) { /* should decrypt to 0xff */
140 memcpy(to, p, (unsigned int)j);
145 int RSA_padding_add_PKCS1_type_2(unsigned char *to, int tlen,
157 p = (unsigned char *)to;
182 int RSA_padding_check_PKCS1_type_2(unsigned char *to, int tlen,
187 /* |em| is the encoded message, zero-padded to exactly |num| bytes */
213 * Always do this zero-padding copy (even when num == flen) to avoid
215 * information, but it's impossible to have a fixed memory access
255 * We can't continue in constant-time because we need to copy the result
266 memcpy(to, em + msg_index, mlen);