/external/boringssl/src/crypto/rsa/ |
rsa_impl.c | 90 const unsigned rsa_size = RSA_size(rsa); local 96 if (rsa_size > OPENSSL_RSA_MAX_MODULUS_BITS) { 101 if (max_out < rsa_size) { 126 buf = OPENSSL_malloc(rsa_size); 134 i = RSA_padding_add_PKCS1_type_2(buf, rsa_size, in, in_len); 138 i = RSA_padding_add_PKCS1_OAEP_mgf1(buf, rsa_size, in, in_len, 142 i = RSA_padding_add_none(buf, rsa_size, in, in_len); 153 if (BN_bin2bn(buf, rsa_size, f) == NULL) { 177 if (!BN_bn2bin_padded(out, rsa_size, result)) 307 const unsigned rsa_size = RSA_size(rsa); local 356 const unsigned rsa_size = RSA_size(rsa); local 416 const unsigned rsa_size = RSA_size(rsa); local [all...] |
rsa.c | 179 if (!RSA_encrypt(rsa, &out_len, to, RSA_size(rsa), from, flen, padding)) { 200 if (!RSA_sign_raw(rsa, &out_len, to, RSA_size(rsa), from, flen, padding)) { 221 if (!RSA_decrypt(rsa, &out_len, to, RSA_size(rsa), from, flen, padding)) { 242 if (!RSA_verify_raw(rsa, &out_len, to, RSA_size(rsa), from, flen, padding)) { 249 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...] |
padding.c | 584 emLen = RSA_size(rsa); 696 emLen = RSA_size(rsa);
|
rsa_test.c | 289 RSA_size(key) > sizeof(buf)) { 358 if (RSA_size(key2) > buf_len) {
|
/external/boringssl/src/include/openssl/ |
rsa.h | 115 * |max_out| argument must be, at least, |RSA_size| in order to ensure success. 128 * |max_out| argument must be, at least, |RSA_size| in order to ensure success. 141 * least |RSA_size| bytes of space. It returns the number of bytes written, or 153 * least |RSA_size| bytes of space. It returns the number of bytes written, or 181 * most, |RSA_size(rsa)| bytes to |out|. On successful return, the actual 195 * |max_out| argument must be, at least, |RSA_size| in order to ensure success. 221 * |out|. The |max_out| argument must be, at least, |RSA_size| in order to 234 * least |RSA_size| bytes of space. It returns the number of bytes written, or 245 * have at least |RSA_size| bytes of space. It returns the number of bytes 257 /* RSA_size returns the number of bytes in the modulus, which is also the siz [all...] |
/external/openssh/ |
ssh-rsa.c | 59 slen = RSA_size(key->rsa); 153 /* RSA_verify expects a signature of RSA_size */ 154 modlen = RSA_size(key->rsa); 235 rsasize = RSA_size(rsa);
|
ssh-pkcs11-client.c | 132 if (slen <= (u_int)RSA_size(rsa)) {
|
ssh-pkcs11-helper.c | 185 slen = RSA_size(key->rsa);
|
ssh-pkcs11.c | 286 tlen = RSA_size(rsa);
|
/system/keymaster/ |
rsa_key_factory.cpp | 152 *key_size = RSA_size(rsa_key.get()) * 8; 155 if (RSA_size(rsa_key.get()) * 8 != *key_size) { 157 RSA_size(rsa_key.get()) * 8, *key_size);
|
rsa_operation.cpp | 320 if (!output->Reinitialize(RSA_size(rsa.get()))) 423 size_t key_len = RSA_size(rsa.get());
|
soft_keymaster_context.cpp | 378 hw_enforced->push_back(TAG_KEY_SIZE, RSA_size(rsa.get()) * 8);
|
/external/conscrypt/src/main/java/org/conscrypt/ |
OpenSSLSignatureRawRSA.java | 100 int maxSize = NativeCrypto.RSA_size(key.getNativeRef()); 118 int maxSize = NativeCrypto.RSA_size(key.getNativeRef());
|
OpenSSLCipherRSA.java | 141 return NativeCrypto.RSA_size(this.key.getNativeRef()); 187 buffer = new byte[NativeCrypto.RSA_size(this.key.getNativeRef())];
|
NativeCrypto.java | 116 public static native int RSA_size(NativeRef.EVP_PKEY pkey); [all...] |
/system/security/keystore-engine/ |
rsa_meth.cpp | 48 int num = RSA_size(rsa); 135 int num = RSA_size(rsa);
|
/system/extras/verity/ |
generate_verity_key.c | 45 if (RSA_size(rsa) != RSANUMBYTES)
|
/external/boringssl/src/ |
STYLE | 188 * least |RSA_size| bytes of space. It returns the number of bytes written, or
|
/system/core/adb/ |
adb_auth_host.cpp | 84 if (RSA_size(rsa) != RSANUMBYTES) {
|
/external/boringssl/src/ssl/ |
s3_srvr.c | 1682 size_t rsa_size, decrypt_len, premaster_index, j; local [all...] |
/external/boringssl/src/crypto/evp/ |
p_rsa_asn1.c | 161 return RSA_size(pkey->pkey.rsa);
|
/external/boringssl/src/tool/ |
speed.cc | 145 std::unique_ptr<uint8_t[]> sig(new uint8_t[RSA_size(key)]);
|
/external/ipsec-tools/src/racoon/ |
crypto_openssl.c | 1156 len = RSA_size(rsa); 1183 len = RSA_size(rsa); [all...] |
/external/libvncserver/x11vnc/ |
enc.h | [all...] |
/external/conscrypt/src/test/java/org/conscrypt/ |
NativeCryptoTest.java | [all...] |