Commit 98472740 authored by Kim Paulhamus's avatar Kim Paulhamus Committed by Commit Bot

Make caBLE version an octet instead of uint32.

Bug: 846544
Change-Id: Ia0d38c10b7b6d42a50ca97af45a3b54ac9f0843b
Reviewed-on: https://chromium-review.googlesource.com/1079893Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
Reviewed-by: default avatarBalazs Engedy <engedy@chromium.org>
Commit-Queue: Kim Paulhamus <kpaulhamus@chromium.org>
Cr-Commit-Position: refs/heads/master@{#563086}
parent 0112af76
...@@ -119,7 +119,7 @@ enum UserVerificationRequirement { ...@@ -119,7 +119,7 @@ enum UserVerificationRequirement {
// Cloud-assisted BLE extension data for getAssertion. // Cloud-assisted BLE extension data for getAssertion.
struct CableAuthentication { struct CableAuthentication {
// The caBLE version requested. // The caBLE version requested.
int32 version; uint8 version;
// A 16-byte ephemeral identifier that the browser will advertise. // A 16-byte ephemeral identifier that the browser will advertise.
array<uint8, 16> client_eid; array<uint8, 16> client_eid;
...@@ -136,7 +136,7 @@ struct CableAuthentication { ...@@ -136,7 +136,7 @@ struct CableAuthentication {
// Cloud-assisted BLE extension data for makeCredential. // Cloud-assisted BLE extension data for makeCredential.
struct CableRegistration { struct CableRegistration {
// The caBLE versions supported by the relying party. // The caBLE versions supported by the relying party.
array<int32> versions; array<uint8> versions;
// The 65-byte ECDSA ephemeral public key belonging to the relying party // The 65-byte ECDSA ephemeral public key belonging to the relying party
// for use in establishing an encrypted caBLE channel with an authenticator. // for use in establishing an encrypted caBLE channel with an authenticator.
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
dictionary CableAuthenticationData { dictionary CableAuthenticationData {
required long version; required octet version;
required BufferSource clientEid; required BufferSource clientEid;
required BufferSource authenticatorEid; required BufferSource authenticatorEid;
required BufferSource sessionPreKey; required BufferSource sessionPreKey;
......
...@@ -3,6 +3,6 @@ ...@@ -3,6 +3,6 @@
// found in the LICENSE file. // found in the LICENSE file.
dictionary CableRegistrationData { dictionary CableRegistrationData {
required sequence<long> versions; required sequence<octet> versions;
required BufferSource rpPublicKey; required BufferSource rpPublicKey;
}; };
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment