Home
last modified time | relevance | path

Searched refs:public_exponent (Results 1 – 10 of 10) sorted by relevance

/system/keymaster/km_openssl/
Drsa_key_factory.cpp61 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/
Drsa_keymaster0_key.cpp43 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()
Dkeymaster0_engine.cpp79 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/
Dauthorization_set.h243 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/
Dauthorization_set.h515 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/
Drsa_key_factory.h57 uint64_t* public_exponent,
/system/keymaster/key_blob_utils/
Dsoftware_keyblobs.cpp125 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/
Dkeymaster0_engine.h48 bool GenerateRsaKey(uint64_t public_exponent, uint32_t public_modulus,
/system/vold/tests/
DCryptfsScryptHidlizationEquivalence_test.cpp191 params.public_exponent = RSA_EXPONENT; in keymaster_create_key_old()
/system/core/trusty/keymaster/legacy/
Dtrusty_keymaster_device_test.cpp116 rsa_params.public_exponent = 65537; in build_rsa_params()