/system/keymaster/km_openssl/ |
D | rsa_key_factory.cpp | 61 uint64_t public_exponent; in GenerateKey() local 62 if (!authorizations.GetTagValue(TAG_RSA_PUBLIC_EXPONENT, &public_exponent)) { in GenerateKey() 66 if (public_exponent < kMinimumRsaExponent || public_exponent % 2 != 1) { in GenerateKey() 87 if (!BN_set_word(exponent.get(), public_exponent) || in GenerateKey() 113 uint64_t public_exponent; in ImportKey() local 117 &authorizations, &public_exponent, &key_size); in ImportKey() 128 uint64_t* public_exponent, in UpdateImportKeyDescription() argument 130 if (!updated_description || !public_exponent || !key_size) in UpdateImportKeyDescription() 145 *public_exponent = BN_get_word(rsa_key->e); in UpdateImportKeyDescription() 146 if (*public_exponent == 0xffffffffL) in UpdateImportKeyDescription() [all …]
|
/system/keymaster/legacy_support/ |
D | rsa_keymaster0_key.cpp | 43 uint64_t public_exponent; in GenerateKey() local 44 if (!key_description.GetTagValue(TAG_RSA_PUBLIC_EXPONENT, &public_exponent)) { in GenerateKey() 56 if (!engine_->GenerateRsaKey(public_exponent, key_size, &key_material)) in GenerateKey() 62 hw_enforced->push_back(TAG_RSA_PUBLIC_EXPONENT, public_exponent); in GenerateKey() 78 uint64_t public_exponent; in ImportKey() local 82 &authorizations, &public_exponent, &key_size); in ImportKey() 93 hw_enforced->push_back(TAG_RSA_PUBLIC_EXPONENT, public_exponent); in ImportKey()
|
D | keymaster0_engine.cpp | 79 bool Keymaster0Engine::GenerateRsaKey(uint64_t public_exponent, uint32_t public_modulus, in GenerateRsaKey() argument 83 params.public_exponent = public_exponent; in GenerateRsaKey()
|
/system/keymaster/ng/include/ |
D | authorization_set.h | 243 AuthorizationSetBuilder& RsaKey(uint32_t key_size, uint64_t public_exponent); 248 AuthorizationSetBuilder& RsaSigningKey(uint32_t key_size, uint64_t public_exponent); 249 AuthorizationSetBuilder& RsaEncryptionKey(uint32_t key_size, uint64_t public_exponent); 268 uint64_t public_exponent) { in RsaKey() argument 271 Authorization(TAG_RSA_PUBLIC_EXPONENT, public_exponent); in RsaKey() 293 uint64_t public_exponent) { in RsaSigningKey() argument 294 RsaKey(key_size, public_exponent); in RsaSigningKey() 299 AuthorizationSetBuilder::RsaEncryptionKey(uint32_t key_size, uint64_t public_exponent) { in RsaEncryptionKey() argument 300 RsaKey(key_size, public_exponent); in RsaEncryptionKey()
|
/system/keymaster/include/keymaster/ |
D | authorization_set.h | 515 AuthorizationSetBuilder& RsaKey(uint32_t key_size, uint64_t public_exponent); 521 AuthorizationSetBuilder& RsaSigningKey(uint32_t key_size, uint64_t public_exponent); 522 AuthorizationSetBuilder& RsaEncryptionKey(uint32_t key_size, uint64_t public_exponent); 557 uint64_t public_exponent) { in RsaKey() argument 560 Authorization(TAG_RSA_PUBLIC_EXPONENT, public_exponent); in RsaKey() 587 uint64_t public_exponent) { in RsaSigningKey() argument 588 RsaKey(key_size, public_exponent); in RsaSigningKey() 593 AuthorizationSetBuilder::RsaEncryptionKey(uint32_t key_size, uint64_t public_exponent) { in RsaEncryptionKey() argument 594 RsaKey(key_size, public_exponent); in RsaEncryptionKey()
|
/system/keymaster/include/keymaster/km_openssl/ |
D | rsa_key_factory.h | 57 uint64_t* public_exponent,
|
/system/keymaster/key_blob_utils/ |
D | software_keyblobs.cpp | 125 uint64_t public_exponent = BN_get_word(rsa->e); in FakeKeyAuthorizations() local 126 if (public_exponent == 0xffffffffL) in FakeKeyAuthorizations() 128 hw_enforced->push_back(TAG_RSA_PUBLIC_EXPONENT, public_exponent); in FakeKeyAuthorizations()
|
/system/keymaster/include/keymaster/legacy_support/ |
D | keymaster0_engine.h | 48 bool GenerateRsaKey(uint64_t public_exponent, uint32_t public_modulus,
|
/system/vold/tests/ |
D | CryptfsScryptHidlizationEquivalence_test.cpp | 191 params.public_exponent = RSA_EXPONENT; in keymaster_create_key_old()
|
/system/core/trusty/keymaster/legacy/ |
D | trusty_keymaster_device_test.cpp | 116 rsa_params.public_exponent = 65537; in build_rsa_params()
|