Searched refs:dup_blob (Results 1 – 1 of 1) sorted by relevance
/system/keymaster/ |
D | android_keymaster_test_utils.h | 344 uint8_t* dup_blob = dup_buffer(blob, blob_length); in unmunge_blob() local 345 if (dup_blob && blob_length > 0 && *dup_blob == 'Q') in unmunge_blob() 346 *dup_blob = 'P'; in unmunge_blob() 347 return dup_blob; in unmunge_blob() 399 std::unique_ptr<uint8_t[]> dup_blob(unmunge_blob(key_blob, key_blob_length)); in counting_get_keypair_public() 400 return device(dev)->get_keypair_public(device(dev), dup_blob.get(), key_blob_length, in counting_get_keypair_public() 408 std::unique_ptr<uint8_t[]> dup_blob(unmunge_blob(key_blob, key_blob_length)); in counting_delete_keypair() 409 return device(dev)->delete_keypair(device(dev), dup_blob.get(), key_blob_length); in counting_delete_keypair() 426 std::unique_ptr<uint8_t[]> dup_blob(unmunge_blob(key_blob, key_blob_length)); in counting_sign_data() 427 return device(dev)->sign_data(device(dev), signing_params, dup_blob.get(), key_blob_length, in counting_sign_data() [all …]
|