Lines Matching refs:tlen
28 int RSA_padding_add_PKCS1_type_1(unsigned char *to, int tlen,
34 if (flen > (tlen - RSA_PKCS1_PADDING_SIZE)) {
45 j = tlen - 3 - flen;
53 int RSA_padding_check_PKCS1_type_1(unsigned char *to, int tlen,
112 if (j > tlen) {
122 int tlen, const unsigned char *from,
128 if (flen > (tlen - RSA_PKCS1_PADDING_SIZE)) {
142 j = tlen - 3 - flen;
161 int RSA_padding_add_PKCS1_type_2(unsigned char *to, int tlen,
164 return ossl_rsa_padding_add_PKCS1_type_2_ex(NULL, to, tlen, from, flen);
167 int RSA_padding_check_PKCS1_type_2(unsigned char *to, int tlen,
177 if (tlen <= 0 || flen <= 0)
238 good &= constant_time_ge(tlen, mlen);
250 tlen = constant_time_select_int(constant_time_lt(num - RSA_PKCS1_PADDING_SIZE, tlen),
251 num - RSA_PKCS1_PADDING_SIZE, tlen);
257 for (i = 0; i < tlen; i++) {
279 * in the buffer pointed to by |to| which should be |tlen| bytes long. |tlen|
298 unsigned char *to, size_t tlen,
311 || tlen < SSL_MAX_MASTER_KEY_LENGTH) {