mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:07:46 +00:00
LibTLS: Move HashAlgorithm to Extensions.h
Also add missing values from the IANA registry
This commit is contained in:
parent
fba7695dcc
commit
da8edece29
2 changed files with 15 additions and 11 deletions
|
@ -95,17 +95,6 @@ enum class CipherSuite {
|
|||
AES_128_CCM_8_SHA256 = 0x1305,
|
||||
};
|
||||
|
||||
// Defined in RFC 5246 section 7.4.1.4.1
|
||||
enum class HashAlgorithm : u8 {
|
||||
None = 0,
|
||||
MD5 = 1,
|
||||
SHA1 = 2,
|
||||
SHA224 = 3,
|
||||
SHA256 = 4,
|
||||
SHA384 = 5,
|
||||
SHA512 = 6,
|
||||
};
|
||||
|
||||
// Defined in RFC 5246 section 7.4.1.4.1
|
||||
struct SignatureAndHashAlgorithm {
|
||||
HashAlgorithm hash;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue