Searched refs:exponent (Results 1 - 11 of 11) sorted by relevance
/system/media/audio_utils/ |
H A D | minifloat.c | 59 int exponent = (a >> MANTISSA_BITS) & EXPONENT_MAX; local 60 return ldexpf((exponent > 0 ? HIDDEN_BIT | mantissa : mantissa << 1) / ONE_FLOAT, 61 exponent - EXCESS);
|
/system/core/include/mincrypt/ |
H A D | rsa.h | 45 int exponent; /* 3 or 65537 */ member in struct:RSAPublicKey
|
/system/keymaster/ |
H A D | rsa_key_factory.cpp | 63 LOG_E("%s", "No public exponent specified for RSA key generation"); 77 UniquePtr<BIGNUM, BIGNUM_Delete> exponent(BN_new()); 80 if (exponent.get() == NULL || rsa_key.get() == NULL || pkey.get() == NULL) 83 if (!BN_set_word(exponent.get(), public_exponent) || 84 !RSA_generate_key_ex(rsa_key.get(), key_size, exponent.get(), NULL /* callback */)) 147 LOG_E("Imported public exponent (%u) does not match specified public exponent (%u)",
|
/system/extras/verity/ |
H A D | generate_verity_key.c | 71 pkey->exponent = BN_get_word(rsa->e); 179 BIGNUM* exponent = BN_new(); local 182 if (!pkey || !exponent || !rsa) { 187 BN_set_word(exponent, RSA_F4); 188 RSA_generate_key_ex(rsa, 2048, exponent, NULL); 214 BN_free(exponent);
|
H A D | VerityVerifier.java | 129 BigInteger exponent = new BigInteger(1, reverse(binaryExp)); 131 RSAPublicKeySpec spec = new RSAPublicKeySpec(modulus, exponent);
|
/system/core/adb/ |
H A D | adb_auth_host.cpp | 104 pkey->exponent = BN_get_word(rsa->e); 223 BIGNUM* exponent = BN_new(); local 231 if (!pkey || !exponent || !rsa) { 236 BN_set_word(exponent, RSA_F4); 237 RSA_generate_key_ex(rsa, 2048, exponent, NULL); 268 BN_free(exponent);
|
/system/core/libmincrypt/ |
H A D | rsa.c | 115 if (key->exponent == 65537) { 123 } else if (key->exponent == 3) { 271 if (key->exponent != 3 && key->exponent != 65537) { 272 return 0; // Unsupported exponent.
|
/system/core/libpixelflinger/ |
H A D | fixed.cpp | 26 int32_t gglRecipQNormalized(int32_t x, int* exponent) argument 33 *exponent = 0; 55 *exponent = 30-lz-1;
|
/system/core/libmincrypt/test/ |
H A D | rsa_test.c | 109 .exponent = 65537,
|
/system/core/libpixelflinger/include/private/pixelflinger/ |
H A D | ggl_fixed.h | 92 int32_t gglRecipQNormalized(int32_t x, int* exponent);
|
/system/security/keystore/ |
H A D | keystore.cpp | 1946 unsigned long exponent = RSA_DEFAULT_EXPONENT; local 1957 ALOGI("Could not convert public exponent to BN"); 1960 exponent = BN_get_word(pubExpBn.get()); 1961 if (exponent == 0xFFFFFFFFL) { 1962 ALOGW("cannot represent public exponent as a long value"); 1966 ALOGW("public exponent not read"); 1971 exponent));
|
Completed in 169 milliseconds