/external/chromium_org/third_party/boringssl/src/crypto/rsa/ |
rsa_impl.c | 92 const unsigned rsa_size = RSA_size(rsa); local 98 if (rsa_size > OPENSSL_RSA_MAX_MODULUS_BITS) { 103 if (max_out < rsa_size) { 128 buf = OPENSSL_malloc(rsa_size); 136 i = RSA_padding_add_PKCS1_type_2(buf, rsa_size, in, in_len); 140 i = RSA_padding_add_PKCS1_OAEP_mgf1(buf, rsa_size, in, in_len, 144 i = RSA_padding_add_none(buf, rsa_size, in, in_len); 155 if (BN_bin2bn(buf, rsa_size, f) == NULL) { 178 if (!BN_bn2bin_padded(out, rsa_size, result)) 329 const unsigned rsa_size = RSA_size(rsa); local 379 const unsigned rsa_size = RSA_size(rsa); local 440 const unsigned rsa_size = RSA_size(rsa); local [all...] |
rsa.c | 181 if (!RSA_encrypt(rsa, &out_len, to, RSA_size(rsa), from, flen, padding)) { 202 if (!RSA_sign_raw(rsa, &out_len, to, RSA_size(rsa), from, flen, padding)) { 223 if (!RSA_decrypt(rsa, &out_len, to, RSA_size(rsa), from, flen, padding)) { 244 if (!RSA_verify_raw(rsa, &out_len, to, RSA_size(rsa), from, flen, padding)) { 251 unsigned RSA_size(const RSA *rsa) { 407 const unsigned rsa_size = RSA_size(rsa); local 423 if (rsa_size < RSA_PKCS1_PADDING_SIZE || 424 signed_msg_len > rsa_size - RSA_PKCS1_PADDING_SIZE) { 429 if (RSA_sign_raw(rsa, &size_t_out_len, out, rsa_size, signed_msg 444 const size_t rsa_size = RSA_size(rsa); local [all...] |
/external/chromium_org/third_party/boringssl/src/ssl/ |
s3_srvr.c | 1844 size_t rsa_size, decrypt_len, premaster_index, j; local [all...] |