/system/security/keystore/include/keystore/ |
D | keystore_client.h | 77 const keymaster::AuthorizationSet& input_parameters, 80 keymaster::AuthorizationSet* output_parameters, 93 const keymaster::AuthorizationSet& key_parameters, 94 keymaster::AuthorizationSet* hardware_enforced_characteristics, 95 keymaster::AuthorizationSet* software_enforced_characteristics) = 0; 102 keymaster::AuthorizationSet* hardware_enforced_characteristics, 103 keymaster::AuthorizationSet* software_enforced_characteristics) = 0; 111 const keymaster::AuthorizationSet& key_parameters, 113 keymaster::AuthorizationSet* hardware_enforced_characteristics, 114 keymaster::AuthorizationSet* software_enforced_characteristics) = 0; [all …]
|
D | keystore_client_mock.h | 40 const keymaster::AuthorizationSet& input_parameters, 42 keymaster::AuthorizationSet* output_parameters, std::string* output_data)); 46 const keymaster::AuthorizationSet& key_parameters, 47 keymaster::AuthorizationSet* hardware_enforced_characteristics, 48 keymaster::AuthorizationSet* software_enforced_characteristics)); 51 keymaster::AuthorizationSet* hardware_enforced_characteristics, 52 keymaster::AuthorizationSet* software_enforced_characteristics)); 55 const keymaster::AuthorizationSet& key_parameters, 57 keymaster::AuthorizationSet* hardware_enforced_characteristics, 58 keymaster::AuthorizationSet* software_enforced_characteristics)); [all …]
|
D | keystore_client_impl.h | 42 const keymaster::AuthorizationSet& input_parameters, 44 keymaster::AuthorizationSet* output_parameters, 48 const keymaster::AuthorizationSet& key_parameters, 49 keymaster::AuthorizationSet* hardware_enforced_characteristics, 50 keymaster::AuthorizationSet* software_enforced_characteristics) override; 53 keymaster::AuthorizationSet* hardware_enforced_characteristics, 54 keymaster::AuthorizationSet* software_enforced_characteristics) override; 56 const keymaster::AuthorizationSet& key_parameters, 58 keymaster::AuthorizationSet* hardware_enforced_characteristics, 59 keymaster::AuthorizationSet* software_enforced_characteristics) override; [all …]
|
/system/vold/ |
D | KeyStorage.cpp | 99 static bool generateKeymasterKey(Keymaster& keymaster, const KeyAuthentication& auth, in generateKeymasterKey() argument 101 auto paramBuilder = keymaster::AuthorizationSetBuilder() in generateKeymasterKey() 103 .Authorization(keymaster::TAG_BLOCK_MODE, KM_MODE_GCM) in generateKeymasterKey() 104 .Authorization(keymaster::TAG_MIN_MAC_LENGTH, GCM_MAC_BYTES * 8) in generateKeymasterKey() 105 .Authorization(keymaster::TAG_PADDING, KM_PAD_NONE); in generateKeymasterKey() 106 addStringParam(¶mBuilder, keymaster::TAG_APPLICATION_ID, appId); in generateKeymasterKey() 109 paramBuilder.Authorization(keymaster::TAG_NO_AUTH_REQUIRED); in generateKeymasterKey() 118 paramBuilder.Authorization(keymaster::TAG_USER_SECURE_ID, at->user_id); in generateKeymasterKey() 119 paramBuilder.Authorization(keymaster::TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD); in generateKeymasterKey() 120 paramBuilder.Authorization(keymaster::TAG_AUTH_TIMEOUT, AUTH_TIMEOUT); in generateKeymasterKey() [all …]
|
D | Keymaster.cpp | 198 bool Keymaster::generateKey(const keymaster::AuthorizationSet& inParams, std::string* key) { in generateKey() 221 const keymaster::AuthorizationSet& inParams, in begin() 222 keymaster::AuthorizationSet* outParams) { in begin() 238 const keymaster::AuthorizationSet& inParams) { in begin()
|
/system/security/keystore/ |
D | keystore_client_impl.cpp | 38 using keymaster::AuthorizationSet; 39 using keymaster::AuthorizationSetBuilder; 93 encrypt_params.Authorization(keymaster::TAG_BLOCK_MODE, KM_MODE_CBC); in encryptWithAuthentication() 103 if (!output_params.GetTagValue(keymaster::TAG_NONCE, &init_vector_blob)) { in encryptWithAuthentication() 112 authenticate_params.Authorization(keymaster::TAG_MAC_LENGTH, kHMACOutputSize); in encryptWithAuthentication() 153 encrypt_params.Authorization(keymaster::TAG_BLOCK_MODE, KM_MODE_CBC); in decryptWithAuthentication() 154 encrypt_params.Authorization(keymaster::TAG_NONCE, protobuf.init_vector().data(), in decryptWithAuthentication() 166 const keymaster::AuthorizationSet& input_parameters, in oneShotOperation() 169 keymaster::AuthorizationSet* output_parameters, in oneShotOperation() 409 .Authorization(keymaster::TAG_BLOCK_MODE, KM_MODE_CBC) in createOrVerifyEncryptionKey() [all …]
|
D | keystore_cli_v2.cpp | 27 using keymaster::AuthorizationSet; 28 using keymaster::AuthorizationSetBuilder; 67 printf(" %s\n", keymaster::StringifyTag(iter->tag)); in PrintTags() 126 .Authorization(keymaster::TAG_NO_AUTH_REQUIRED); in GetRSASignParameters() 140 .Authorization(keymaster::TAG_NO_AUTH_REQUIRED); in GetRSAEncryptParameters() 148 .Authorization(keymaster::TAG_NO_AUTH_REQUIRED); in GetECDSAParameters() 159 parameters.AesEncryptionKey(key_size).Authorization(keymaster::TAG_NO_AUTH_REQUIRED); in GetAESParameters() 161 parameters.Authorization(keymaster::TAG_BLOCK_MODE, KM_MODE_GCM) in GetAESParameters() 162 .Authorization(keymaster::TAG_MIN_MAC_LENGTH, 128); in GetAESParameters() 164 parameters.Authorization(keymaster::TAG_BLOCK_MODE, KM_MODE_ECB); in GetAESParameters() [all …]
|
D | keystore_main.cpp | 40 using keymaster::AuthorizationSet; 41 using keymaster::AuthorizationSetBuilder; 42 using keymaster::SoftKeymasterDevice; 45 keymaster_error_t error = keymaster::ConfigureDevice(main); in configure_keymaster_devices() 50 error = keymaster::ConfigureDevice(fallback); in configure_keymaster_devices() 180 static keymaster::SoftKeymasterLogger softkeymaster_logger;
|
D | key_store_service.cpp | 33 using keymaster::AuthorizationSet; 34 using keymaster::AuthorizationSetBuilder; 35 using keymaster::TAG_APPLICATION_DATA; 36 using keymaster::TAG_APPLICATION_ID; 892 keymaster::km_id_t keyid; in begin() 900 keymaster::AuthorizationSet key_auths(characteristics->hw_enforced); in begin() 902 keymaster::AuthorizationSet operation_params(inParams); in begin() 968 keymaster::km_id_t keyid; in update() 987 keymaster::AuthorizationSet key_auths(characteristics->hw_enforced); in update() 989 keymaster::AuthorizationSet operation_params(inParams); in update() [all …]
|
/system/keymaster/ |
D | keymaster_configuration.cpp | 36 namespace keymaster { namespace 67 .Authorization(keymaster::TAG_OS_VERSION, os_version) in ConfigureDevice() 68 .Authorization(keymaster::TAG_OS_PATCHLEVEL, os_patchlevel)); in ConfigureDevice()
|
D | openssl_err.h | 23 namespace keymaster {
|
D | kdf1.h | 28 namespace keymaster {
|
D | kdf2.h | 28 namespace keymaster {
|
D | key.cpp | 25 namespace keymaster { namespace
|
D | ec_key.cpp | 25 namespace keymaster { namespace
|
D | key_exchange.h | 24 namespace keymaster {
|
D | soft_keymaster_logger.cpp | 25 namespace keymaster { namespace
|
D | auth_encrypted_key_blob.h | 22 namespace keymaster {
|
D | key.h | 28 namespace keymaster {
|
D | iso18033kdf.h | 28 namespace keymaster {
|
D | integrity_assured_key_blob.h | 22 namespace keymaster {
|
D | operation_table.h | 24 namespace keymaster {
|
D | ocb_utils.h | 26 namespace keymaster {
|
/system/keymaster/include/keymaster/ |
D | keymaster_configuration.h | 27 namespace keymaster {
|
D | soft_keymaster_logger.h | 22 namespace keymaster {
|