/system/keymaster/include/keymaster/ |
D | authorization_set.h | 30 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/ |
D | authorization_set_test.cpp | 75 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 …]
|
D | attestation_record_test.cpp | 91 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 …]
|
D | keymaster_enforcement_test.cpp | 490 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 …]
|
D | nist_curve_key_exchange_test.cpp | 42 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()
|
D | ecies_kem_test.cpp | 43 AuthorizationSet kem_description(AuthorizationSetBuilder() in TEST()
|
D | wrapped_key_test.cpp | 76 AuthorizationSet authorization_list = AuthorizationSetBuilder().AesEncryptionKey(256).build(); in TEST()
|
/system/keymaster/fuzzer/ |
D | k4_AndroidKeymaster4Device_fuzzer.cpp | 27 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/ |
D | keystore_cli_v2.cpp | 258 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/ |
D | KeyStorage.cpp | 118 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/ |
D | pure_soft_keymaster_context.cpp | 495 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/ |
D | keymaster_types.h | 41 using keymaster::AuthorizationSetBuilder;
|
/system/keymaster/android_keymaster/ |
D | keymaster_configuration.cpp | 117 AuthorizationSet config_params(AuthorizationSetBuilder() in ConfigureDevice()
|
D | authorization_set.cpp | 35 AuthorizationSet::AuthorizationSet(AuthorizationSetBuilder& builder) { in AuthorizationSet()
|
/system/security/keystore/tests/ |
D | auth_token_table_test.cpp | 77 AuthorizationSetBuilder builder; in make_set() 282 AuthorizationSetBuilder().Authorization(TAG_NO_AUTH_REQUIRED), KeyPurpose::SIGN, in TEST()
|
/system/security/keystore2/tests/ |
D | ffi_test_utils.cpp | 202 return keymaster::AuthorizationSet(keymaster::AuthorizationSetBuilder() in build_wrapped_key_auth_list()
|
/system/hardware/interfaces/wifi/keystore/1.0/vts/functional/ |
D | VtsHalWifiKeystoreV1_0TargetTest.cpp | 151 keymint::AuthorizationSetBuilder key_parameters; in generateKey()
|
/system/keymaster/km_openssl/ |
D | attestation_record.cpp | 1620 keymaster_error_t parse_submod_values(AuthorizationSetBuilder* set_builder, in parse_submod_values() 1870 AuthorizationSetBuilder auth_set_builder; in parse_eat_submod()
|