mirror of https://github.com/ctz/rustls
ci-bench: separately bench use of P384 curve
This renames the P256 cases, so will introduce a discontinuity in results tracking.
This commit is contained in:
parent
d9b35282db
commit
5fa3322588
|
@ -336,7 +336,13 @@ fn all_benchmarks_params() -> Vec<BenchmarkParams> {
|
|||
KeyType::EcdsaP256,
|
||||
CipherSuite::TLS13_AES_128_GCM_SHA256,
|
||||
&rustls::version::TLS13,
|
||||
"1.3_ecdsa_aes",
|
||||
"1.3_ecdsap256_aes",
|
||||
),
|
||||
(
|
||||
KeyType::EcdsaP384,
|
||||
CipherSuite::TLS13_AES_128_GCM_SHA256,
|
||||
&rustls::version::TLS13,
|
||||
"1.3_ecdsap384_aes",
|
||||
),
|
||||
(
|
||||
KeyType::Rsa,
|
||||
|
@ -348,7 +354,13 @@ fn all_benchmarks_params() -> Vec<BenchmarkParams> {
|
|||
KeyType::EcdsaP256,
|
||||
CipherSuite::TLS13_CHACHA20_POLY1305_SHA256,
|
||||
&rustls::version::TLS13,
|
||||
"1.3_ecdsa_chacha",
|
||||
"1.3_ecdsap256_chacha",
|
||||
),
|
||||
(
|
||||
KeyType::EcdsaP384,
|
||||
CipherSuite::TLS13_CHACHA20_POLY1305_SHA256,
|
||||
&rustls::version::TLS13,
|
||||
"1.3_ecdsap384_chacha",
|
||||
),
|
||||
] {
|
||||
all.push(BenchmarkParams::new(
|
||||
|
|
|
@ -6,6 +6,7 @@ use rustls::pki_types::{CertificateDer, PrivateKeyDer};
|
|||
pub enum KeyType {
|
||||
Rsa,
|
||||
EcdsaP256,
|
||||
EcdsaP384,
|
||||
}
|
||||
|
||||
impl KeyType {
|
||||
|
@ -13,6 +14,7 @@ impl KeyType {
|
|||
match self {
|
||||
Self::Rsa => format!("../test-ca/rsa/{}", part),
|
||||
Self::EcdsaP256 => format!("../test-ca/ecdsa-p256/{}", part),
|
||||
Self::EcdsaP384 => format!("../test-ca/ecdsa-p384/{}", part),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue