Searched defs:characteristics (Results 1 - 8 of 8) sorted by relevance

/system/security/keystore/
H A Doperation.h32 void operator()(keymaster_key_characteristics_t* characteristics) const {
33 keymaster_free_characteristics(characteristics);
34 delete characteristics;
52 sp<IBinder> appToken, keymaster_key_characteristics_t* characteristics,
74 keymaster_key_characteristics_t* characteristics, sp<IBinder> appToken);
79 Unique_keymaster_key_characteristics characteristics; member in struct:android::OperationMap::Operation
H A Doperation.cpp31 keymaster_key_characteristics_t* characteristics,
34 mMap[token] = std::move(Operation(handle, keyid, purpose, dev, characteristics, appToken));
63 *outCharacteristics = entry->second.characteristics.get();
159 characteristics(characteristics_),
163 OperationMap::Operation::Operation() : handle(0), device(NULL), characteristics(), appToken(NULL) {
27 addOperation(keymaster_operation_handle_t handle, uint64_t keyid, keymaster_purpose_t purpose, const keymaster1_device_t* dev, sp<IBinder> appToken, keymaster_key_characteristics_t* characteristics, bool pruneable) argument
H A Dkeystore.cpp1495 &input, &blob, NULL /* characteristics */);
1506 &input, &blob, NULL /* characteristics */);
2464 outCharacteristics->characteristics = *out;
2517 outCharacteristics->characteristics = *out;
2558 outCharacteristics->characteristics = *out;
2640 Unique_keymaster_key_characteristics characteristics; local
2641 characteristics.reset(new keymaster_key_characteristics_t);
2642 err = getOperationCharacteristics(key, dev, opParams, characteristics.get());
2648 int32_t authResult = getAuthToken(characteristics.get(), 0, purpose, &authToken,
2681 keymaster::AuthorizationSet key_auths(characteristics
2752 const keymaster_key_characteristics_t* characteristics; local
2804 const keymaster_key_characteristics_t* characteristics; local
2883 const keymaster_key_characteristics_t* characteristics; local
3108 getAuthToken(const keymaster_key_characteristics_t* characteristics, keymaster_operation_handle_t handle, keymaster_purpose_t purpose, const hw_auth_token_t** authToken, bool failOnTokenMissing = true) argument
3167 const keymaster_key_characteristics_t* characteristics = NULL; local
3197 getKeyAlgorithm(keymaster_key_characteristics_t* characteristics) argument
3217 KeyCharacteristics characteristics; local
[all...]
/system/keymaster/
H A Dkeymaster1_engine.cpp69 static void ConvertCharacteristics(keymaster_key_characteristics_t* characteristics, argument
72 characteristics);
74 hw_enforced->Reinitialize(characteristics->hw_enforced);
76 sw_enforced->Reinitialize(characteristics->sw_enforced);
85 keymaster_key_characteristics_t* characteristics; local
88 &blob, &characteristics);
95 ConvertCharacteristics(characteristics, hw_enforced, sw_enforced);
107 keymaster_key_characteristics_t* characteristics; local
113 &blob, &characteristics);
120 ConvertCharacteristics(characteristics, hw_enforce
[all...]
H A Dsoft_keymaster_context.cpp389 // Get key characteristics, which incidentally verifies that the HW recognizes the key.
390 keymaster_key_characteristics_t* characteristics; local
392 app_data_ptr, &characteristics);
396 characteristics);
400 hw_enforced->Reinitialize(characteristics->hw_enforced);
401 sw_enforced->Reinitialize(characteristics->sw_enforced);
H A Dsoft_keymaster_device.cpp277 keymaster_key_characteristics_t* characteristics = local
280 if (characteristics) {
281 hw_enforced.CopyToParamSet(&characteristics->hw_enforced);
282 sw_enforced.CopyToParamSet(&characteristics->sw_enforced);
284 return characteristics;
608 keymaster_key_blob_t* key_blob, keymaster_key_characteristics_t** characteristics) {
622 return km1_dev->generate_key(km1_dev, params, key_blob, characteristics);
636 if (characteristics) {
637 *characteristics = BuildCharacteristics(response.enforced, response.unenforced);
638 if (!*characteristics)
606 generate_key( const keymaster1_device_t* dev, const keymaster_key_param_set_t* params, keymaster_key_blob_t* key_blob, keymaster_key_characteristics_t** characteristics) argument
646 get_key_characteristics( const keymaster1_device_t* dev, const keymaster_key_blob_t* key_blob, const keymaster_blob_t* client_id, const keymaster_blob_t* app_data, keymaster_key_characteristics_t** characteristics) argument
677 import_key( const keymaster1_device_t* dev, const keymaster_key_param_set_t* params, keymaster_key_format_t key_format, const keymaster_blob_t* key_data, keymaster_key_blob_t* key_blob, keymaster_key_characteristics_t** characteristics) argument
820 keymaster_key_characteristics_t* characteristics; local
[all...]
H A Dandroid_keymaster_test_utils.cpp773 keymaster_key_characteristics_t** characteristics) {
780 return unwrap(dev)->generate_key(unwrap(dev), params, key_blob, characteristics);
787 keymaster_key_characteristics_t** characteristics) {
789 ->get_key_characteristics(unwrap(dev), key_blob, client_id, app_data, characteristics);
795 keymaster_key_blob_t* key_blob, keymaster_key_characteristics_t** characteristics) {
803 ->import_key(unwrap(dev), params, key_format, key_data, key_blob, characteristics);
770 generate_key(const keymaster1_device_t* dev, const keymaster_key_param_set_t* params, keymaster_key_blob_t* key_blob, keymaster_key_characteristics_t** characteristics) argument
784 get_key_characteristics(const struct keymaster1_device* dev, const keymaster_key_blob_t* key_blob, const keymaster_blob_t* client_id, const keymaster_blob_t* app_data, keymaster_key_characteristics_t** characteristics) argument
793 import_key(const keymaster1_device_t* dev, const keymaster_key_param_set_t* params, keymaster_key_format_t key_format, const keymaster_blob_t* key_data, keymaster_key_blob_t* key_blob, keymaster_key_characteristics_t** characteristics) argument
/system/security/keystore/include/keystore/
H A DIKeystoreService.h90 keymaster_key_characteristics_t characteristics; member in struct:android::KeyCharacteristics

Completed in 471 milliseconds