Searched refs:nprimes (Results 1 – 2 of 2) sorted by relevance
/external/boringssl/src/tool/ |
D | genrsa.cc | 47 unsigned bits, nprimes = 0; in GenerateRSAKey() local 49 !GetUnsigned(&nprimes, "-nprimes", 2, args_map)) { in GenerateRSAKey() 59 !RSA_generate_multi_prime_key(rsa.get(), bits, nprimes, e.get(), NULL) || in GenerateRSAKey()
|
/external/boringssl/src/crypto/rsa/ |
D | rsa_test.cc | 611 static bool TestMultiPrimeKey(int nprimes, const uint8_t *der, size_t der_size, in TestMultiPrimeKey() argument 615 fprintf(stderr, "%d-prime key failed to parse.\n", nprimes); in TestMultiPrimeKey() 621 fprintf(stderr, "RSA_check_key failed for %d-prime key.\n", nprimes); in TestMultiPrimeKey() 632 fprintf(stderr, "%d-prime key failed to decrypt.\n", nprimes); in TestMultiPrimeKey()
|