File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -326,7 +326,13 @@ fn all_benchmarks_params() -> Vec<BenchmarkParams> {
326326 KeyType :: EcdsaP256 ,
327327 CipherSuite :: TLS13_AES_128_GCM_SHA256 ,
328328 & rustls:: version:: TLS13 ,
329- "1.3_ecdsa_aes" ,
329+ "1.3_ecdsap256_aes" ,
330+ ) ,
331+ (
332+ KeyType :: EcdsaP384 ,
333+ CipherSuite :: TLS13_AES_128_GCM_SHA256 ,
334+ & rustls:: version:: TLS13 ,
335+ "1.3_ecdsap384_aes" ,
330336 ) ,
331337 (
332338 KeyType :: Rsa ,
@@ -338,7 +344,13 @@ fn all_benchmarks_params() -> Vec<BenchmarkParams> {
338344 KeyType :: EcdsaP256 ,
339345 CipherSuite :: TLS13_CHACHA20_POLY1305_SHA256 ,
340346 & rustls:: version:: TLS13 ,
341- "1.3_ecdsa_chacha" ,
347+ "1.3_ecdsap256_chacha" ,
348+ ) ,
349+ (
350+ KeyType :: EcdsaP384 ,
351+ CipherSuite :: TLS13_CHACHA20_POLY1305_SHA256 ,
352+ & rustls:: version:: TLS13 ,
353+ "1.3_ecdsap384_chacha" ,
342354 ) ,
343355 ] {
344356 all. push ( BenchmarkParams :: new (
Original file line number Diff line number Diff line change @@ -6,13 +6,15 @@ use rustls::pki_types::{CertificateDer, PrivateKeyDer};
66pub enum KeyType {
77 Rsa ,
88 EcdsaP256 ,
9+ EcdsaP384 ,
910}
1011
1112impl KeyType {
1213 pub ( crate ) fn path_for ( & self , part : & str ) -> String {
1314 match self {
1415 Self :: Rsa => format ! ( "../test-ca/rsa/{}" , part) ,
1516 Self :: EcdsaP256 => format ! ( "../test-ca/ecdsa-p256/{}" , part) ,
17+ Self :: EcdsaP384 => format ! ( "../test-ca/ecdsa-p384/{}" , part) ,
1618 }
1719 }
1820
You can’t perform that action at this time.
0 commit comments