/system/keymaster/ng/include/ |
D | authorization_set.h | 26 class AuthorizationSetBuilder; variable 220 class AuthorizationSetBuilder: public AuthorizationSet { 223 AuthorizationSetBuilder& Authorization(TagType ttag, ValueType&&... value) { in Authorization() 229 AuthorizationSetBuilder& Authorization(TypedTag<TagType::BYTES, tag> ttag, const uint8_t* data, in Authorization() 238 AuthorizationSetBuilder& Authorization(TypedTag<TagType::BYTES, tag> ttag, const char* data, in Authorization() 243 AuthorizationSetBuilder& RsaKey(uint32_t key_size, uint64_t public_exponent); 244 AuthorizationSetBuilder& EcdsaKey(uint32_t key_size); 245 AuthorizationSetBuilder& AesKey(uint32_t key_size); 246 AuthorizationSetBuilder& HmacKey(uint32_t key_size); 248 AuthorizationSetBuilder& RsaSigningKey(uint32_t key_size, uint64_t public_exponent); [all …]
|
/system/keymaster/include/keymaster/ |
D | authorization_set.h | 29 class AuthorizationSetBuilder; variable 77 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 | 68 AuthorizationSet set(AuthorizationSetBuilder() in TEST() 99 AuthorizationSet set(AuthorizationSetBuilder() in TEST() 128 AuthorizationSet set(AuthorizationSetBuilder() in TEST() 148 AuthorizationSet set(AuthorizationSetBuilder() in TEST() 180 AuthorizationSet set(AuthorizationSetBuilder() in TEST() 225 AuthorizationSet set(AuthorizationSetBuilder() in TEST() 273 AuthorizationSet set(AuthorizationSetBuilder() in TEST() 408 AuthorizationSetBuilder builder; in TEST() 429 AuthorizationSet set(AuthorizationSetBuilder() in TEST() 447 AuthorizationSet set1(AuthorizationSetBuilder() in TEST() [all …]
|
D | android_keymaster_test.cpp | 119 AuthorizationSet version_info(AuthorizationSetBuilder() in CreateDevice() 153 AuthorizationSet version_info(AuthorizationSetBuilder() in CreateDevice() 188 AuthorizationSet version_info(AuthorizationSetBuilder() in CreateDevice() 250 ASSERT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder() in TEST_P() 285 GenerateKey(AuthorizationSetBuilder() in TEST_P() 295 GenerateKey(AuthorizationSetBuilder().EcdsaSigningKey(224).Digest(KM_DIGEST_NONE))); in TEST_P() 323 GenerateKey(AuthorizationSetBuilder() in TEST_P() 333 GenerateKey(AuthorizationSetBuilder().EcdsaSigningKey(190).Digest(KM_DIGEST_NONE))); in TEST_P() 339 GenerateKey(AuthorizationSetBuilder() in TEST_P() 348 EXPECT_EQ(KM_ERROR_OK, GenerateKey(AuthorizationSetBuilder().EcdsaSigningKey(size).Digest( in TEST_P() [all …]
|
D | keymaster_enforcement_test.cpp | 481 AuthorizationSetBuilder().Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY)); in TEST_F() 490 AuthorizationSet auth_set(AuthorizationSetBuilder() in TEST_F() 507 AuthorizationSet auth_set(AuthorizationSetBuilder() in TEST_F() 525 AuthorizationSet no_caller_nonce(AuthorizationSetBuilder() in TEST_F() 529 AuthorizationSet caller_nonce(AuthorizationSetBuilder() in TEST_F() 534 AuthorizationSet begin_params(AuthorizationSetBuilder().Authorization(TAG_NONCE, "foo", 3)); in TEST_F() 552 AuthorizationSet auth_set(AuthorizationSetBuilder() in TEST_F() 565 AuthorizationSet auth_set(AuthorizationSetBuilder() in TEST_F() 583 AuthorizationSet auth_set(AuthorizationSetBuilder() in TEST_F() 606 AuthorizationSet auth_set(AuthorizationSetBuilder() in TEST_F() [all …]
|
D | attestation_record_test.cpp | 68 AuthorizationSet hw_set(AuthorizationSetBuilder() in TEST() 75 AuthorizationSet sw_set(AuthorizationSetBuilder() in TEST() 83 AuthorizationSetBuilder() in TEST()
|
D | nist_curve_key_exchange_test.cpp | 44 AuthorizationSetBuilder().Authorization(TAG_EC_CURVE, curve)); in TEST() 82 AuthorizationSetBuilder().Authorization(TAG_EC_CURVE, curve)); in TEST() 114 AuthorizationSetBuilder().Authorization(TAG_EC_CURVE, curve)); in TEST()
|
D | ecies_kem_test.cpp | 45 AuthorizationSet kem_description(AuthorizationSetBuilder() in TEST()
|
D | wrapped_key_test.cpp | 77 AuthorizationSet authorization_list = AuthorizationSetBuilder().AesEncryptionKey(256).build(); in TEST()
|
D | android_keymaster_test_utils.cpp | 194 keymaster_error_t Keymaster2Test::GenerateKey(const AuthorizationSetBuilder& builder) { in GenerateKey() 208 keymaster_error_t Keymaster2Test::ImportKey(const AuthorizationSetBuilder& builder, in ImportKey() 630 ASSERT_EQ(KM_ERROR_OK, ImportKey(AuthorizationSetBuilder() in CheckHmacTestVector() 643 ASSERT_EQ(KM_ERROR_OK, ImportKey(AuthorizationSetBuilder() in CheckAesCtrTestVector() 664 auto authset = AuthorizationSetBuilder() in CheckTripleDesTestVector()
|
D | android_keymaster_test_utils.h | 186 keymaster_error_t GenerateKey(const AuthorizationSetBuilder& builder); 190 keymaster_error_t ImportKey(const AuthorizationSetBuilder& builder,
|
/system/security/keystore/ |
D | keystore_cli_v2.cpp | 141 AuthorizationSetBuilder parameters; in GetRSASignParameters() 154 AuthorizationSetBuilder parameters; in GetRSAEncryptParameters() 163 AuthorizationSetBuilder parameters; in GetECDSAParameters() 174 AuthorizationSetBuilder parameters; in GetAESParameters() 189 AuthorizationSetBuilder parameters; in GetHMACParameters() 294 AuthorizationSetBuilder params; in GenerateKey() 407 AuthorizationSetBuilder sign_params; in SignAndVerify()
|
D | keystore_client_impl.cpp | 53 using keystore::AuthorizationSetBuilder; 82 AuthorizationSetBuilder encrypt_params; in encryptWithAuthentication() 100 AuthorizationSetBuilder authenticate_params; in encryptWithAuthentication() 130 AuthorizationSetBuilder authenticate_params; in decryptWithAuthentication() 141 AuthorizationSetBuilder encrypt_params; in decryptWithAuthentication() 477 AuthorizationSetBuilder key_parameters; in createOrVerifyEncryptionKey() 516 AuthorizationSetBuilder key_parameters; in createOrVerifyAuthenticationKey()
|
/system/keymaster/contexts/ |
D | pure_soft_keymaster_context.cpp | 282 auto wrapping_key_params = AuthorizationSetBuilder() in UnwrapKey() 329 auto transit_key_authorizations = AuthorizationSetBuilder() in UnwrapKey() 339 auto gcm_params = AuthorizationSetBuilder() in UnwrapKey() 383 auto update_params = AuthorizationSetBuilder() in UnwrapKey()
|
/system/bt/btif/src/ |
D | btif_keystore.cc | 79 AuthorizationSetBuilder params; in GenerateKey()
|
/system/security/keystore/include/keystore/ |
D | keymaster_types.h | 41 using keymaster::AuthorizationSetBuilder;
|
/system/keymaster/android_keymaster/ |
D | keymaster_configuration.cpp | 72 AuthorizationSet config_params(AuthorizationSetBuilder() in ConfigureDevice()
|
D | authorization_set.cpp | 37 AuthorizationSet::AuthorizationSet(AuthorizationSetBuilder& builder) { in AuthorizationSet()
|
/system/vold/ |
D | Keymaster.cpp | 242 return km::AuthorizationSetBuilder() in keyParams() 306 auto paramBuilder = km::AuthorizationSetBuilder().NoDigestOrPadding(); in keymaster_sign_object_for_cryptfs_scrypt()
|
D | KeyStorage.cpp | 110 auto paramBuilder = km::AuthorizationSetBuilder() in generateKeymasterKey() 134 auto paramBuilder = km::AuthorizationSetBuilder() in beginParams() 273 auto opParams = km::AuthorizationSetBuilder().Authorization(km::TAG_NONCE, in decryptWithKeymasterKey()
|
/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/hardware/interfaces/wifi/keystore/1.0/vts/functional/ |
D | VtsHalWifiKeystoreV1_0TargetTest.cpp | 140 keystore::AuthorizationSetBuilder key_parameters; in generateKey()
|