mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-26 19:30:21 +00:00
Update public keys for benchmarking (GH #1013)
This commit is contained in:
parent
f6ff2f0028
commit
041e684502
@ -426,7 +426,7 @@ void BenchmarkEllipticCurveAlgorithms(double t, double hertz)
|
|||||||
ECDSA<ECP, SHA1>::Signer spriv(cpriv);
|
ECDSA<ECP, SHA1>::Signer spriv(cpriv);
|
||||||
ECDSA<ECP, SHA1>::Verifier spub(spriv);
|
ECDSA<ECP, SHA1>::Verifier spub(spriv);
|
||||||
ECDSA_RFC6979<ECP, SHA1>::Signer spriv2(cpriv);
|
ECDSA_RFC6979<ECP, SHA1>::Signer spriv2(cpriv);
|
||||||
ECDSA_RFC6979<ECP, SHA1>::Verifier spub2(spriv);
|
ECDSA_RFC6979<ECP, SHA1>::Verifier spub2(spriv2);
|
||||||
ECGDSA<ECP, SHA1>::Signer spriv3(Test::GlobalRNG(), ASN1::secp256k1());
|
ECGDSA<ECP, SHA1>::Signer spriv3(Test::GlobalRNG(), ASN1::secp256k1());
|
||||||
ECGDSA<ECP, SHA1>::Verifier spub3(spriv3);
|
ECGDSA<ECP, SHA1>::Verifier spub3(spriv3);
|
||||||
ECDH<ECP>::Domain ecdhc(ASN1::secp256k1());
|
ECDH<ECP>::Domain ecdhc(ASN1::secp256k1());
|
||||||
@ -453,7 +453,7 @@ void BenchmarkEllipticCurveAlgorithms(double t, double hertz)
|
|||||||
ECDSA<EC2N, SHA1>::Signer spriv(cpriv);
|
ECDSA<EC2N, SHA1>::Signer spriv(cpriv);
|
||||||
ECDSA<EC2N, SHA1>::Verifier spub(spriv);
|
ECDSA<EC2N, SHA1>::Verifier spub(spriv);
|
||||||
ECDSA_RFC6979<EC2N, SHA1>::Signer spriv2(cpriv);
|
ECDSA_RFC6979<EC2N, SHA1>::Signer spriv2(cpriv);
|
||||||
ECDSA_RFC6979<EC2N, SHA1>::Verifier spub2(spriv);
|
ECDSA_RFC6979<EC2N, SHA1>::Verifier spub2(spriv2);
|
||||||
ECGDSA<EC2N, SHA1>::Signer spriv3(Test::GlobalRNG(), ASN1::sect233r1());
|
ECGDSA<EC2N, SHA1>::Signer spriv3(Test::GlobalRNG(), ASN1::sect233r1());
|
||||||
ECGDSA<EC2N, SHA1>::Verifier spub3(spriv3);
|
ECGDSA<EC2N, SHA1>::Verifier spub3(spriv3);
|
||||||
ECDH<EC2N>::Domain ecdhc(ASN1::sect233r1());
|
ECDH<EC2N>::Domain ecdhc(ASN1::sect233r1());
|
||||||
|
Loading…
Reference in New Issue
Block a user