#
d1ac4eb2 |
| 21-Jun-2023 |
jsing <jsing@openbsd.org> |
Add tests for BN_sqr() corner cases.
Test BN_sqr() with a newly allocated BN, a BN explicitly set to zero and small values that fit in a single BN_ULONG.
|
#
b2cabbc1 |
| 11-Apr-2023 |
jsing <jsing@openbsd.org> |
Correct benchmark result computation on 32 bit platforms.
|
#
8d9f23ac |
| 29-Jan-2023 |
jsing <jsing@openbsd.org> |
Use utime in order to make benchmarks less noisy and more consistent.
|
#
964a7cf0 |
| 29-Jan-2023 |
jsing <jsing@openbsd.org> |
Set BN_FLG_CONSTTIME on benchmark inputs.
The public APIs still change behaviour based on BN_FLG_CONSTTIME - set it to avoid benchmark noise.
|
#
72c289bd |
| 29-Jan-2023 |
jsing <jsing@openbsd.org> |
Add benchmarks for BN_div()
|
#
a3f05336 |
| 29-Jan-2023 |
jsing <jsing@openbsd.org> |
Correct setup for BN_mul/BN_sqr benchmarks.
BN_rand() takes a bit length, not the top bit.
|
#
2900a9c1 |
| 29-Jan-2023 |
jsing <jsing@openbsd.org> |
Rename bn_mul.c regress to bn_mul_div.c.
|