forked from rustls/rustls
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e82313f
commit 47382ba
Showing
48 changed files
with
2,623 additions
and
2,599 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
pub use crate::msgs::enums::NamedGroup::CSIDH2047K221 as DEFAULT_GROUP; | ||
pub use crate::msgs::enums::NamedGroup::Kyber512 as DEFAULT_GROUP; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
+��K.T |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
+��K.U |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
+��K.V |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
+��K.W |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
+��K.X |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
+��K.Y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
+��K.Z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
+��K.[ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
+��K.\ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
+��K.] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
+��K.^ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
+��K._ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
match scheme { | ||
SignatureScheme::NIKE_CTIDH512 => NikeImpl::CTIDH512, | ||
SignatureScheme::NIKE_CTIDH1024 => NikeImpl::CTIDH1024, | ||
SignatureScheme::NIKE_CSIDH2047K221 => NikeImpl::SecSidh(secsidh::Algorithm::CSIDH2047k221), | ||
SignatureScheme::NIKE_CSIDH4095K256 => NikeImpl::SecSidh(secsidh::Algorithm::CSIDH4095k256), | ||
SignatureScheme::NIKE_CSIDH5119K234 => NikeImpl::SecSidh(secsidh::Algorithm::CSIDH5119k234), | ||
SignatureScheme::NIKE_CSIDH6143K256 => NikeImpl::SecSidh(secsidh::Algorithm::CSIDH6143k256), | ||
SignatureScheme::NIKE_CSIDH8191K332 => NikeImpl::SecSidh(secsidh::Algorithm::CSIDH8191k332), | ||
SignatureScheme::NIKE_CSIDH9215K384 => NikeImpl::SecSidh(secsidh::Algorithm::CSIDH9215k384), | ||
SignatureScheme::NIKE_CTIDH2047K221 => NikeImpl::SecSidh(secsidh::Algorithm::CTIDH2047k221), | ||
SignatureScheme::NIKE_CTIDH4095K256 => NikeImpl::SecSidh(secsidh::Algorithm::CTIDH4095k256), | ||
SignatureScheme::NIKE_CTIDH5119K234 => NikeImpl::SecSidh(secsidh::Algorithm::CTIDH5119k234), | ||
SignatureScheme::NIKE_CTIDH6143K256 => NikeImpl::SecSidh(secsidh::Algorithm::CTIDH6143k256), | ||
SignatureScheme::NIKE_CTIDH8191K332 => NikeImpl::SecSidh(secsidh::Algorithm::CTIDH8191k332), | ||
SignatureScheme::NIKE_CTIDH9215K384 => NikeImpl::SecSidh(secsidh::Algorithm::CTIDH9215k384), | ||
SignatureScheme::NIKE_CSIDH2047M1L226 => NikeImpl::SecSidh(secsidh::Algorithm::CSIDH2047m1l226), | ||
SignatureScheme::NIKE_CSIDH4095M27L262 => NikeImpl::SecSidh(secsidh::Algorithm::CSIDH4095m27l262), | ||
SignatureScheme::NIKE_CSIDH5119M46L244 => NikeImpl::SecSidh(secsidh::Algorithm::CSIDH5119m46l244), | ||
SignatureScheme::NIKE_CSIDH6143M59L262 => NikeImpl::SecSidh(secsidh::Algorithm::CSIDH6143m59l262), | ||
SignatureScheme::NIKE_CSIDH8191M78L338 => NikeImpl::SecSidh(secsidh::Algorithm::CSIDH8191m78l338), | ||
SignatureScheme::NIKE_CSIDH9215M85L389 => NikeImpl::SecSidh(secsidh::Algorithm::CSIDH9215m85l389), | ||
SignatureScheme::NIKE_CTIDH2047M1L226 => NikeImpl::SecSidh(secsidh::Algorithm::CTIDH2047m1l226), | ||
SignatureScheme::NIKE_CTIDH4095M27L262 => NikeImpl::SecSidh(secsidh::Algorithm::CTIDH4095m27l262), | ||
SignatureScheme::NIKE_CTIDH5119M46L244 => NikeImpl::SecSidh(secsidh::Algorithm::CTIDH5119m46l244), | ||
SignatureScheme::NIKE_CTIDH6143M59L262 => NikeImpl::SecSidh(secsidh::Algorithm::CTIDH6143m59l262), | ||
SignatureScheme::NIKE_CTIDH8191M78L338 => NikeImpl::SecSidh(secsidh::Algorithm::CTIDH8191m78l338), | ||
SignatureScheme::NIKE_CTIDH9215M85L389 => NikeImpl::SecSidh(secsidh::Algorithm::CTIDH9215m85l389), | ||
_ => unreachable!(),} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
match (named_group, sigalg) { | ||
(NamedGroup::CTIDH512, SignatureScheme::NIKE_CTIDH512) => true, | ||
(NamedGroup::CTIDH1024, SignatureScheme::NIKE_CTIDH1024) => true, | ||
(NamedGroup::CSIDH2047K221, SignatureScheme::NIKE_CSIDH2047K221) => true, | ||
(NamedGroup::CSIDH4095K256, SignatureScheme::NIKE_CSIDH4095K256) => true, | ||
(NamedGroup::CSIDH5119K234, SignatureScheme::NIKE_CSIDH5119K234) => true, | ||
(NamedGroup::CSIDH6143K256, SignatureScheme::NIKE_CSIDH6143K256) => true, | ||
(NamedGroup::CSIDH8191K332, SignatureScheme::NIKE_CSIDH8191K332) => true, | ||
(NamedGroup::CSIDH9215K384, SignatureScheme::NIKE_CSIDH9215K384) => true, | ||
(NamedGroup::CTIDH2047K221, SignatureScheme::NIKE_CTIDH2047K221) => true, | ||
(NamedGroup::CTIDH4095K256, SignatureScheme::NIKE_CTIDH4095K256) => true, | ||
(NamedGroup::CTIDH5119K234, SignatureScheme::NIKE_CTIDH5119K234) => true, | ||
(NamedGroup::CTIDH6143K256, SignatureScheme::NIKE_CTIDH6143K256) => true, | ||
(NamedGroup::CTIDH8191K332, SignatureScheme::NIKE_CTIDH8191K332) => true, | ||
(NamedGroup::CTIDH9215K384, SignatureScheme::NIKE_CTIDH9215K384) => true, | ||
(NamedGroup::CSIDH2047M1L226, SignatureScheme::NIKE_CSIDH2047M1L226) => true, | ||
(NamedGroup::CSIDH4095M27L262, SignatureScheme::NIKE_CSIDH4095M27L262) => true, | ||
(NamedGroup::CSIDH5119M46L244, SignatureScheme::NIKE_CSIDH5119M46L244) => true, | ||
(NamedGroup::CSIDH6143M59L262, SignatureScheme::NIKE_CSIDH6143M59L262) => true, | ||
(NamedGroup::CSIDH8191M78L338, SignatureScheme::NIKE_CSIDH8191M78L338) => true, | ||
(NamedGroup::CSIDH9215M85L389, SignatureScheme::NIKE_CSIDH9215M85L389) => true, | ||
(NamedGroup::CTIDH2047M1L226, SignatureScheme::NIKE_CTIDH2047M1L226) => true, | ||
(NamedGroup::CTIDH4095M27L262, SignatureScheme::NIKE_CTIDH4095M27L262) => true, | ||
(NamedGroup::CTIDH5119M46L244, SignatureScheme::NIKE_CTIDH5119M46L244) => true, | ||
(NamedGroup::CTIDH6143M59L262, SignatureScheme::NIKE_CTIDH6143M59L262) => true, | ||
(NamedGroup::CTIDH8191M78L338, SignatureScheme::NIKE_CTIDH8191M78L338) => true, | ||
(NamedGroup::CTIDH9215M85L389, SignatureScheme::NIKE_CTIDH9215M85L389) => true, | ||
(_, _) => false,} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
&[ | ||
SignatureScheme::NIKE_CTIDH512, | ||
SignatureScheme::NIKE_CTIDH1024, | ||
SignatureScheme::NIKE_CSIDH2047K221, | ||
SignatureScheme::NIKE_CSIDH4095K256, | ||
SignatureScheme::NIKE_CSIDH5119K234, | ||
SignatureScheme::NIKE_CSIDH6143K256, | ||
SignatureScheme::NIKE_CSIDH8191K332, | ||
SignatureScheme::NIKE_CSIDH9215K384, | ||
SignatureScheme::NIKE_CTIDH2047K221, | ||
SignatureScheme::NIKE_CTIDH4095K256, | ||
SignatureScheme::NIKE_CTIDH5119K234, | ||
SignatureScheme::NIKE_CTIDH6143K256, | ||
SignatureScheme::NIKE_CTIDH8191K332, | ||
SignatureScheme::NIKE_CTIDH9215K384, | ||
SignatureScheme::NIKE_CSIDH2047M1L226, | ||
SignatureScheme::NIKE_CSIDH4095M27L262, | ||
SignatureScheme::NIKE_CSIDH5119M46L244, | ||
SignatureScheme::NIKE_CSIDH6143M59L262, | ||
SignatureScheme::NIKE_CSIDH8191M78L338, | ||
SignatureScheme::NIKE_CSIDH9215M85L389, | ||
SignatureScheme::NIKE_CTIDH2047M1L226, | ||
SignatureScheme::NIKE_CTIDH4095M27L262, | ||
SignatureScheme::NIKE_CTIDH5119M46L244, | ||
SignatureScheme::NIKE_CTIDH6143M59L262, | ||
SignatureScheme::NIKE_CTIDH8191M78L338, | ||
SignatureScheme::NIKE_CTIDH9215M85L389, | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.