blob: a20baa22576f1e3befd9aea0a6ec1412c4a080c4 [file] [log] [blame]
Louis Collard2bf43192019-04-03 17:09:47 +08001// Copyright 2019 The Chromium OS Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5syntax = "proto3";
6option optimize_for = LITE_RUNTIME;
7
8package u2f;
9
10// Contains the user secret used in key derivation.
11message UserSecret {
12 bytes secret = 1;
13}
14
15// Represents the U2F device counter.
16message U2fCounter {
17 int64 counter = 1;
18}
19
20// Wrapper message for a proto, and a hash to verify integrity.
21message UserDataContainer {
22 // Contains an encoded proto.
23 bytes data = 1;
24 // Hash of the encoded proto.
25 bytes sha256 = 2;
26}