diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-12 14:27:29 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-13 09:35:20 +0000 |
commit | c30a6232df03e1efbd9f3b226777b07e087a1122 (patch) | |
tree | e992f45784689f373bcc38d1b79a239ebe17ee23 /chromium/device/fido/cable/noise.h | |
parent | 7b5b123ac58f58ffde0f4f6e488bcd09aa4decd3 (diff) | |
download | qtwebengine-chromium-85-based.tar.gz |
BASELINE: Update Chromium to 85.0.4183.14085-based
Change-Id: Iaa42f4680837c57725b1344f108c0196741f6057
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/device/fido/cable/noise.h')
-rw-r--r-- | chromium/device/fido/cable/noise.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chromium/device/fido/cable/noise.h b/chromium/device/fido/cable/noise.h index 8bd4d8c906c..0372f452b82 100644 --- a/chromium/device/fido/cable/noise.h +++ b/chromium/device/fido/cable/noise.h @@ -12,6 +12,7 @@ #include "base/component_export.h" #include "base/containers/span.h" +#include "third_party/boringssl/src/include/openssl/base.h" namespace device { @@ -41,6 +42,10 @@ class COMPONENT_EXPORT(DEVICE_FIDO) Noise { base::Optional<std::vector<uint8_t>> DecryptAndHash( base::span<const uint8_t> ciphertext); + // MaxHashPoint calls |MixHash| with the uncompressed, X9.62 serialization of + // |point|. + void MixHashPoint(const EC_POINT* point); + // traffic_keys() calls Split from the protocol spec but, rather than // returning CipherState objects, returns the raw keys. std::tuple<std::array<uint8_t, 32>, std::array<uint8_t, 32>> traffic_keys() |