diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
commit | 40a355a42d4a9444dc753c04c6608dade2f06a23 (patch) | |
tree | 871fc667d2de662f171103ce5ec067014ef85e61 /security/nss/gtests/common/testvectors_base/test-structs.h | |
parent | Adding upstream version 124.0.1. (diff) | |
download | firefox-upstream/125.0.1.tar.xz firefox-upstream/125.0.1.zip |
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'security/nss/gtests/common/testvectors_base/test-structs.h')
-rw-r--r-- | security/nss/gtests/common/testvectors_base/test-structs.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/security/nss/gtests/common/testvectors_base/test-structs.h b/security/nss/gtests/common/testvectors_base/test-structs.h index 1ed227da50..ca8c39b7bd 100644 --- a/security/nss/gtests/common/testvectors_base/test-structs.h +++ b/security/nss/gtests/common/testvectors_base/test-structs.h @@ -69,6 +69,14 @@ typedef struct EcdsaTestVectorStr { typedef EcdsaTestVector DsaTestVector; +typedef struct EddsaTestVectorStr { + uint32_t id; + std::vector<uint8_t> sig; + std::vector<uint8_t> public_key; + std::vector<uint8_t> msg; + bool valid; +} EddsaTestVector; + typedef struct EcdhTestVectorStr { uint64_t id; std::vector<uint8_t> private_key; |