blob: 4fb89fb9b6565075c92290fdd909dd7814ad4903 [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <stddef.h>
#include <stdint.h>
#include <vector>
#include "device/fido/register_response_data.h"
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
std::vector<uint8_t> input(data, data + size);
std::vector<uint8_t> relying_party_id_hash(32);
auto response = device::RegisterResponseData::CreateFromU2fRegisterResponse(
relying_party_id_hash, input);
return 0;
}