Home
last modified time | relevance | path

Searched refs:AuthorizationSetBuilder (Results 1 – 18 of 18) sorted by relevance

/system/keymaster/include/keymaster/
Dauthorization_set.h30 class AuthorizationSetBuilder; variable
83 explicit AuthorizationSet(/* NOT const */ AuthorizationSetBuilder& builder);
480 class AuthorizationSetBuilder {
483 AuthorizationSetBuilder& Authorization(TagType tag, ValueType value) { in Authorization()
489 AuthorizationSetBuilder& Authorization(TypedTag<KM_BOOL, Tag> tag) { in Authorization()
495 AuthorizationSetBuilder& Authorization(TypedTag<KM_INVALID, Tag> tag) { in Authorization()
503 AuthorizationSetBuilder& Authorization(TypedTag<KM_BYTES, Tag> tag, const uint8_t* data, in Authorization()
510 AuthorizationSetBuilder& Authorization(TypedTag<KM_BYTES, Tag> tag, const char* data, in Authorization()
515 AuthorizationSetBuilder& RsaKey(uint32_t key_size, uint64_t public_exponent);
516 AuthorizationSetBuilder& EcdsaKey(uint32_t key_size);
[all …]
/system/keymaster/tests/
Dauthorization_set_test.cpp75 AuthorizationSet set(AuthorizationSetBuilder() in TEST()
106 AuthorizationSet set(AuthorizationSetBuilder() in TEST()
135 AuthorizationSet set(AuthorizationSetBuilder() in TEST()
155 AuthorizationSet set(AuthorizationSetBuilder() in TEST()
187 AuthorizationSet set(AuthorizationSetBuilder() in TEST()
232 AuthorizationSet set(AuthorizationSetBuilder() in TEST()
280 AuthorizationSet set(AuthorizationSetBuilder() in TEST()
415 AuthorizationSetBuilder builder; in TEST()
436 AuthorizationSet set(AuthorizationSetBuilder() in TEST()
454 AuthorizationSet set1(AuthorizationSetBuilder() in TEST()
[all …]
Dattestation_record_test.cpp91 AuthorizationSet hw_set(AuthorizationSetBuilder() in TEST()
98 AuthorizationSetBuilder() in TEST()
107 AuthorizationSetBuilder() in TEST()
183 AuthorizationSetBuilder() in TEST()
191 AuthorizationSetBuilder() in TEST()
199 AuthorizationSetBuilder() in TEST()
274 AuthorizationSet hw_set(AuthorizationSetBuilder().Authorization( in TEST()
277 AuthorizationSetBuilder() in TEST()
290 AuthorizationSet hw_set(AuthorizationSetBuilder().Authorization(TAG_OS_PATCHLEVEL, 201512)); in TEST()
291 AuthorizationSet attest_params(AuthorizationSetBuilder().Authorization( in TEST()
[all …]
Dkeymaster_enforcement_test.cpp490 AuthorizationSetBuilder().Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY)); in TEST_F()
499 AuthorizationSet auth_set(AuthorizationSetBuilder() in TEST_F()
516 AuthorizationSet auth_set(AuthorizationSetBuilder() in TEST_F()
534 AuthorizationSet no_caller_nonce(AuthorizationSetBuilder() in TEST_F()
538 AuthorizationSet caller_nonce(AuthorizationSetBuilder() in TEST_F()
543 AuthorizationSet begin_params(AuthorizationSetBuilder().Authorization(TAG_NONCE, "foo", 3)); in TEST_F()
561 AuthorizationSet auth_set(AuthorizationSetBuilder() in TEST_F()
574 AuthorizationSet auth_set(AuthorizationSetBuilder() in TEST_F()
592 AuthorizationSet auth_set(AuthorizationSetBuilder() in TEST_F()
615 AuthorizationSet auth_set(AuthorizationSetBuilder() in TEST_F()
[all …]
Dnist_curve_key_exchange_test.cpp42 AuthorizationSetBuilder().Authorization(TAG_EC_CURVE, curve)); in TEST()
80 AuthorizationSetBuilder().Authorization(TAG_EC_CURVE, curve)); in TEST()
112 AuthorizationSetBuilder().Authorization(TAG_EC_CURVE, curve)); in TEST()
Decies_kem_test.cpp43 AuthorizationSet kem_description(AuthorizationSetBuilder() in TEST()
Dwrapped_key_test.cpp76 AuthorizationSet authorization_list = AuthorizationSetBuilder().AesEncryptionKey(256).build(); in TEST()
/system/keymaster/fuzzer/
Dk4_AndroidKeymaster4Device_fuzzer.cpp27 using ::android::hardware::keymaster::V4_0::AuthorizationSetBuilder;
84 return AuthorizationSetBuilder() in getAuthorizationSet()
91 return AuthorizationSetBuilder() in getAuthorizationSet()
97 return AuthorizationSetBuilder() in getAuthorizationSet()
103 return AuthorizationSetBuilder() in getAuthorizationSet()
109 return AuthorizationSetBuilder() in getAuthorizationSet()
115 return AuthorizationSetBuilder() in getAuthorizationSet()
122 return AuthorizationSetBuilder() in getAuthorizationSet()
128 return AuthorizationSetBuilder() in getAuthorizationSet()
134 return AuthorizationSetBuilder() in getAuthorizationSet()
[all …]
/system/security/keystore/
Dkeystore_cli_v2.cpp258 auto params = keymint::AuthorizationSetBuilder() in loadOrCreateAndVerifyEncryptionKey()
311 auto params = keymint::AuthorizationSetBuilder() in loadOrCreateAndVerifyAuthenticationKey()
367 auto encrypt_params = keymint::AuthorizationSetBuilder() in encryptWithAuthentication()
412 auto sign_params = keymint::AuthorizationSetBuilder() in encryptWithAuthentication()
486 auto sign_params = keymint::AuthorizationSetBuilder() in decryptWithAuthentication()
517 auto encrypt_params = keymint::AuthorizationSetBuilder() in decryptWithAuthentication()
607 keymint::AuthorizationSetBuilder parameters; in GetRSASignParameters()
622 keymint::AuthorizationSetBuilder parameters; in GetRSAEncryptParameters()
631 keymint::AuthorizationSetBuilder parameters; in GetECDSAParameters()
644 keymint::AuthorizationSetBuilder parameters; in GetAESParameters()
[all …]
/system/vold/
DKeyStorage.cpp118 auto paramBuilder = km::AuthorizationSetBuilder() in generateKeyStorageKey()
140 auto paramBuilder = km::AuthorizationSetBuilder().AesEncryptionKey(AES_KEY_BYTES * 8); in generateWrappedStorageKey()
160 return km::AuthorizationSetBuilder() in beginParams()
374 km::AuthorizationSetBuilder().Authorization(km::TAG_PURPOSE, km::KeyPurpose::ENCRYPT); in encryptWithKeystoreKey()
401 auto opParams = km::AuthorizationSetBuilder() in decryptWithKeystoreKey()
/system/keymaster/contexts/
Dpure_soft_keymaster_context.cpp495 auto wrapping_key_params = AuthorizationSetBuilder() in UnwrapKey()
542 auto transit_key_authorizations = AuthorizationSetBuilder() in UnwrapKey()
552 auto gcm_params = AuthorizationSetBuilder() in UnwrapKey()
597 auto update_params = AuthorizationSetBuilder() in UnwrapKey()
/system/security/keystore/include/keystore/
Dkeymaster_types.h41 using keymaster::AuthorizationSetBuilder;
/system/keymaster/android_keymaster/
Dkeymaster_configuration.cpp117 AuthorizationSet config_params(AuthorizationSetBuilder() in ConfigureDevice()
Dauthorization_set.cpp35 AuthorizationSet::AuthorizationSet(AuthorizationSetBuilder& builder) { in AuthorizationSet()
/system/security/keystore/tests/
Dauth_token_table_test.cpp77 AuthorizationSetBuilder builder; in make_set()
282 AuthorizationSetBuilder().Authorization(TAG_NO_AUTH_REQUIRED), KeyPurpose::SIGN, in TEST()
/system/security/keystore2/tests/
Dffi_test_utils.cpp202 return keymaster::AuthorizationSet(keymaster::AuthorizationSetBuilder() in build_wrapped_key_auth_list()
/system/hardware/interfaces/wifi/keystore/1.0/vts/functional/
DVtsHalWifiKeystoreV1_0TargetTest.cpp151 keymint::AuthorizationSetBuilder key_parameters; in generateKey()
/system/keymaster/km_openssl/
Dattestation_record.cpp1620 keymaster_error_t parse_submod_values(AuthorizationSetBuilder* set_builder, in parse_submod_values()
1870 AuthorizationSetBuilder auth_set_builder; in parse_eat_submod()