forked from etotheipi/BitcoinArmory
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cryptoTimings.txt produced from Python/SWIG code
Run on an Intel Core i5 2500K (not overclocked) Testing with the exact methods that would be used in client software using BitcoinArmory as a base. AES Encryption with IV generation: 10298.1/sec AES Encryption with supplied IV : 11987.9/sec AES Decryption with supplied IV : 10014.1/sec ECDSA PrivateKey --> PublicKey : 754.9/sec ECDSA PrivateKey --> Signature : 753.9/sec ECDSA PublicKey --> SigVerified : 130.8/sec ECDSA PrivateKey --> NextInChain : 15073.0/sec ECDSA PublicKey --> NextInChain : 110.1/sec
- Loading branch information
Showing
4 changed files
with
475 additions
and
240 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
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 |
---|---|---|
@@ -0,0 +1,57 @@ | ||
################################################################################ | ||
Testing Crypto++::AES timings | ||
################################################################################ | ||
AES Encryption with IV generation: 13299.5/sec | ||
AES Encryption with supplied IV : 11507.8/sec | ||
AES Decryption with supplied IV : 12124.1/sec | ||
AES roundtrip, compare results: | ||
Secret : aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa | ||
Cipher : 5c24d6bdb56621b3dc42f29d01ba0c327e410367e43cc2e4d0d713d8a83c454e | ||
Decrypt: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa | ||
Result : *** PASSED *** | ||
|
||
|
||
|
||
################################################################################ | ||
Testing Crypto++::ECDSA timings | ||
################################################################################ | ||
PrivateKey --> PublicKey : 753.4/sec | ||
PrivateKey --> Signature : 755.1/sec | ||
PublicKey --> SigVerified : 130.8/sec | ||
PrivateKey --> NextInChain : 14974.3/sec | ||
PublicKey --> NextInChain : 109.0/sec | ||
|
||
|
||
|
||
################################################################################ | ||
Testing key-derivation function - timings and memory usage: | ||
################################################################################ | ||
***KDF 1: Default params*** | ||
***KDF 2: 0.5s-1.0s timing, default mem*** | ||
***KDF 3: 0.25s-0.5s timing, 256kB max*** | ||
Testing KDF(1) | ||
Hash Function: sha512 | ||
Mem Required : 8.0 MB | ||
Num Iteration: 2 | ||
Hex Salt Used: 8f953b5020995b464d7d5cbfabb3e... | ||
Pass: "This is my password " --> Key: 1446c42ec06ffecf21b5199fe14df82f (0.183717 sec) | ||
Pass: "This is my password." --> Key: 176484a5bbfe25522151e426d3853394 (0.174887 sec) | ||
Pass: "This is my password " --> Key: 1446c42ec06ffecf21b5199fe14df82f (0.174840 sec) | ||
Testing KDF(2) | ||
Hash Function: sha512 | ||
Mem Required : 32.0 MB | ||
Num Iteration: 2 | ||
Hex Salt Used: 64a37c25c00c9bd95fc8eefd77b7f... | ||
Pass: "This is my password " --> Key: d041597c0e0a1fddf0d69cf57ab8ef50 (0.695917 sec) | ||
Pass: "This is my password." --> Key: c3ab637b0e72f69ecce54d9fd9c009f8 (0.702719 sec) | ||
Pass: "This is my password " --> Key: d041597c0e0a1fddf0d69cf57ab8ef50 (0.695516 sec) | ||
Testing KDF(3) | ||
Hash Function: sha512 | ||
Mem Required : 256.0 kB | ||
Num Iteration: 47 | ||
Hex Salt Used: c3843c1175bddfd1935d02a36244c... | ||
Pass: "This is my password " --> Key: 7a525bbd64fdbc52497df31c8f5ec669 (0.165906 sec) | ||
Pass: "This is my password." --> Key: 1af480216027b77b0a8eb6e4e2bf88ef (0.161794 sec) | ||
Pass: "This is my password " --> Key: 7a525bbd64fdbc52497df31c8f5ec669 (0.165756 sec) | ||
|
||
|
Oops, something went wrong.