Skip to content

Commit

Permalink
feat: support parsing quantum safe ciphersuite (#2049)
Browse files Browse the repository at this point in the history
  • Loading branch information
typfel committed Oct 11, 2023
1 parent c1fa26d commit 53211c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ data class Conversation(
MLS_256_DHKEMX448_AES256GCM_SHA512_Ed448(4),
MLS_256_DHKEMP521_AES256GCM_SHA512_P521(5),
MLS_256_DHKEMX448_CHACHA20POLY1305_SHA512_Ed448(6),
MLS_256_DHKEMP384_AES256GCM_SHA384_P384(7);
MLS_256_DHKEMP384_AES256GCM_SHA384_P384(7),
MLS_128_X25519KYBER768DRAFT00_AES128GCM_SHA256_ED25519(61489);

companion object {
fun fromTag(tag: Int): CipherSuite = values().first { type -> type.tag == tag }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ data class ConversationEntity(
MLS_256_DHKEMX448_AES256GCM_SHA512_Ed448(4),
MLS_256_DHKEMP521_AES256GCM_SHA512_P521(5),
MLS_256_DHKEMX448_CHACHA20POLY1305_SHA512_Ed448(6),
MLS_256_DHKEMP384_AES256GCM_SHA384_P384(7);
MLS_256_DHKEMP384_AES256GCM_SHA384_P384(7),
MLS_128_X25519KYBER768DRAFT00_AES128GCM_SHA256_ED25519(61489);

companion object {
fun fromTag(tag: Int?): CipherSuite =
Expand Down

0 comments on commit 53211c9

Please sign in to comment.