diff --git a/README.md b/README.md index 2280fe9..bb0ac9e 100644 --- a/README.md +++ b/README.md @@ -213,3 +213,100 @@ In these tests, the measured speed is the time to verify an ECDSA signature. The +### Maximum stack usage ### + +In these tests, `ECC_ASM` was defined to `ecc_asm_thumb` in all cases. The table values are the maximum possible stack usage for each function, in btyes. + +#### No other optimizations (smallest code size) #### + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Curve:secp128r1secp192r1secp256r1secp384r1
ecc_make_key()392488624848
ecc_valid_public_key()184224304416
ecdh_shared_secret()416528680936
ecdsa_sign()4485687281000
ecdsa_verify()4806167921096
+ +#### All optimizations (fastest) #### + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Curve:secp128r1secp192r1secp256r1secp384r1
ecc_make_key()4726007601056
ecc_valid_public_key()192232304424
ecdh_shared_secret()4966408161144
ecdsa_sign()5286808641208
ecdsa_verify()4886247921104