Lines Matching refs:dup_blob
356 uint8_t* dup_blob = dup_buffer(blob, blob_length); in unmunge_blob() local
357 if (dup_blob && blob_length > 0 && *dup_blob == 'Q') in unmunge_blob()
358 *dup_blob = 'P'; in unmunge_blob()
359 return dup_blob; in unmunge_blob()
411 std::unique_ptr<uint8_t[]> dup_blob(unmunge_blob(key_blob, key_blob_length)); in counting_get_keypair_public()
412 return device(dev)->get_keypair_public(device(dev), dup_blob.get(), key_blob_length, in counting_get_keypair_public()
422 std::unique_ptr<uint8_t[]> dup_blob(unmunge_blob(key_blob, key_blob_length)); in counting_delete_keypair()
423 return device(dev)->delete_keypair(device(dev), dup_blob.get(), key_blob_length); in counting_delete_keypair()
440 std::unique_ptr<uint8_t[]> dup_blob(unmunge_blob(key_blob, key_blob_length)); in counting_sign_data()
441 return device(dev)->sign_data(device(dev), signing_params, dup_blob.get(), key_blob_length, in counting_sign_data()
450 std::unique_ptr<uint8_t[]> dup_blob(unmunge_blob(key_blob, key_blob_length)); in counting_verify_data()
451 return device(dev)->verify_data(device(dev), signing_params, dup_blob.get(), in counting_verify_data()