diff --git a/README.md b/README.md index 61dbc58..5defe92 100644 --- a/README.md +++ b/README.md @@ -86,8 +86,9 @@ For AES key generation, encryption and decryption, check [doc/aes.md](/doc/aes.m For 4096 bits RSA support, check [doc/rsa_4096_support.md](/doc/rsa_4096.md). -## Key generation time -Generating EC keys is almost instant. RSA keypair generation takes some time, specially for `2048` and `4096` bits. +## Operation time +### Keypair generation +Generating EC keys is almost instant. RSA keypair generation takes some time, specially for `3072` and `4096` bits. | RSA key length (bits) | Average time (seconds) | | :---: | :---: | @@ -96,6 +97,14 @@ Generating EC keys is almost instant. RSA keypair generation takes some time, sp | 3072 | 600 | | 4096 | ~1000 | +### Signature and decrypt +| RSA key length (bits) | Average time (seconds) | +| :---: | :---: | +| 1024 | 1 | +| 2048 | 3 | +| 3072 | 7 | +| 4096 | 15 | + ## Driver Pico HSM uses the `sc-hsm` driver provided by [OpenSC](https://github.com/OpenSC/OpenSC/ "OpenSC") or the `sc-hsm-embedded` driver provided by [CardContact](https://github.com/CardContact/sc-hsm-embedded "CardContact"). This driver utilizes the standardized PKCS#11 interface to communicate with the user and it can be used with many engines that accept PKCS#11 interface, such as OpenSSL, P11 library or pkcs11-tool.