1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 19:47:34 +00:00

LibTLS: Move ECCurveType to Extensions.h

Also add missing values from the IANA registry
This commit is contained in:
stelar7 2023-04-14 00:11:40 +02:00 committed by Sam Atkins
parent 0fea6e7f13
commit 6df3ffaf45
3 changed files with 11 additions and 5 deletions

View file

@ -133,10 +133,6 @@ enum ClientVerificationStaus {
VerificationNeeded,
};
enum class ECCurveType : u8 {
NamedCurve = 3,
};
// Note for the 16 iv length instead of 8:
// 4 bytes of fixed IV, 8 random (nonce) bytes, 4 bytes for counter
// GCM specifically asks us to transmit only the nonce, the counter is zero