/system/keymaster/ |
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() 83 if (!BN_set_word(exponent.get(), public_exponent) || in GenerateKey() 109 uint64_t public_exponent; in ImportKey() local 113 &authorizations, &public_exponent, &key_size); in ImportKey() 124 uint64_t* public_exponent, in UpdateImportKeyDescription() argument 126 if (!updated_description || !public_exponent || !key_size) in UpdateImportKeyDescription() 141 *public_exponent = BN_get_word(rsa_key->e); in UpdateImportKeyDescription() 142 if (*public_exponent == 0xffffffffL) in UpdateImportKeyDescription() 144 if (!updated_description->GetTagValue(TAG_RSA_PUBLIC_EXPONENT, public_exponent)) in UpdateImportKeyDescription() [all …]
|
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 | 97 bool Keymaster0Engine::GenerateRsaKey(uint64_t public_exponent, uint32_t public_modulus, in GenerateRsaKey() argument 101 params.public_exponent = public_exponent; in GenerateRsaKey()
|
D | keymaster0_engine.h | 47 bool GenerateRsaKey(uint64_t public_exponent, uint32_t public_modulus,
|
D | soft_keymaster_context.cpp | 929 uint64_t public_exponent = BN_get_word(rsa->e); in FakeKeyAuthorizations() local 930 if (public_exponent == 0xffffffffL) in FakeKeyAuthorizations() 932 hw_enforced->push_back(TAG_RSA_PUBLIC_EXPONENT, public_exponent); in FakeKeyAuthorizations()
|
/system/keymaster/include/keymaster/ |
D | authorization_set.h | 502 AuthorizationSetBuilder& RsaKey(uint32_t key_size, uint64_t public_exponent); 507 AuthorizationSetBuilder& RsaSigningKey(uint32_t key_size, uint64_t public_exponent); 508 AuthorizationSetBuilder& RsaEncryptionKey(uint32_t key_size, uint64_t public_exponent); 538 uint64_t public_exponent) { in RsaKey() argument 541 Authorization(TAG_RSA_PUBLIC_EXPONENT, public_exponent); in RsaKey() 563 uint64_t public_exponent) { in RsaSigningKey() argument 564 RsaKey(key_size, public_exponent); in RsaSigningKey() 569 AuthorizationSetBuilder::RsaEncryptionKey(uint32_t key_size, uint64_t public_exponent) { in RsaEncryptionKey() argument 570 RsaKey(key_size, public_exponent); in RsaEncryptionKey()
|
D | rsa_key_factory.h | 54 uint64_t* public_exponent,
|
/system/tpm/trunks/ |
D | tpm_utility.h | 181 uint32_t public_exponent, 204 uint32_t public_exponent,
|
D | tpm_utility_impl.h | 92 uint32_t public_exponent, 99 uint32_t public_exponent,
|
D | trunks_factory_for_test.cc | 243 uint32_t public_exponent, in ImportRSAKey() argument 248 return target_->ImportRSAKey(key_type, modulus, public_exponent, in ImportRSAKey() 254 uint32_t public_exponent, in CreateRSAKeyPair() argument 262 return target_->CreateRSAKeyPair(key_type, modulus_bits, public_exponent, in CreateRSAKeyPair()
|
D | tpm_utility_test.cc | 1237 uint32_t public_exponent = 0x10001; in TEST_F() local 1253 public_exponent, in TEST_F() 1262 public_exponent); in TEST_F() 1302 uint32_t public_exponent = 0x10001; in TEST_F() local 1309 public_exponent, in TEST_F() 1317 uint32_t public_exponent = 0x10001; in TEST_F() local 1326 public_exponent, in TEST_F()
|
D | tpm_utility_impl.cc | 773 uint32_t public_exponent, in ImportRSAKey() argument 806 public_area.parameters.rsa_detail.exponent = public_exponent; in ImportRSAKey() 857 uint32_t public_exponent, in CreateRSAKeyPair() argument 900 public_area.parameters.rsa_detail.exponent = public_exponent; in CreateRSAKeyPair()
|
/system/tpm/attestation/server/ |
D | pkcs11_key_store.cc | 291 unsigned char public_exponent[] = {1, 0, 1}; in Register() local 304 {CKA_PUBLIC_EXPONENT, public_exponent, arraysize(public_exponent)}, in Register() 334 {CKA_PUBLIC_EXPONENT, public_exponent, arraysize(public_exponent)}, in Register()
|
/system/security/softkeymaster/ |
D | keymaster_openssl.cpp | 338 if (BN_set_word(bn.get(), rsa_params->public_exponent) == 0) { in generate_rsa_keypair()
|
/system/vold/ |
D | cryptfs.c | 255 params.public_exponent = RSA_EXPONENT; in keymaster_create_key()
|