Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Simplify evp test Makefile. | tb | 2023-03-02 | 1 | -18/+5 |
| | | | | | Make evptest silent by default: these pages of hexdumps are useless noise. Add a verbose target for debugging. | ||||
* | evp_pkey_check: make this test silent on success | tb | 2023-03-02 | 1 | -18/+13 |
| | |||||
* | Remove a few unnecessary line continuations | tb | 2023-03-02 | 1 | -7/+7 |
| | |||||
* | Comment out glob for JSON webcrypto tests for now | tb | 2023-03-01 | 1 | -2/+3 |
| | | | | | Allows test to pass with the old version of the wycheproof-testvectors package. | ||||
* | Explicitly skip the json_web* tests now. | tb | 2023-02-28 | 1 | -1/+2 |
| | |||||
* | Add a few missing NIDs for new Wycheproof tests. | tb | 2023-02-28 | 1 | -1/+12 |
| | |||||
* | Skip FRP256v1 curve in ECDH tests. We do not support it. | tb | 2023-02-28 | 1 | -1/+6 |
| | |||||
* | Add regress coverage for BN_num_bits_word() | tb | 2023-02-14 | 1 | -1/+25 |
| | |||||
* | asn1x509 test: Remove unnecessary line continuations | tb | 2023-02-13 | 1 | -24/+24 |
| | |||||
* | Revise for negative zero changes. | jsing | 2023-02-13 | 1 | -2/+2 |
| | |||||
* | Add currently failing negative zero check to BN_rshift() regress. | jsing | 2023-02-13 | 1 | -1/+5 |
| | |||||
* | Add bn/arch/${MACHINE_CPU} to the include path. | jsing | 2023-01-31 | 1 | -1/+2 |
| | | | | This will be needed once headers pull in bn_arch.h. | ||||
* | Add more regress tests for BN_usub(). | jsing | 2023-01-31 | 1 | -1/+22 |
| | | | | | | This adds more tests for BN_usub(), particularly where b > a, which should be an error condition. One of these currently succeeds and produces incorrect results. | ||||
* | Use utime in order to make benchmarks less noisy and more consistent. | jsing | 2023-01-29 | 1 | -5/+14 |
| | |||||
* | Set BN_FLG_CONSTTIME on benchmark inputs. | jsing | 2023-01-29 | 1 | -1/+4 |
| | | | | | The public APIs still change behaviour based on BN_FLG_CONSTTIME - set it to avoid benchmark noise. | ||||
* | Add benchmarks for BN_div() | jsing | 2023-01-29 | 1 | -10/+147 |
| | |||||
* | Correct setup for BN_mul/BN_sqr benchmarks. | jsing | 2023-01-29 | 1 | -4/+4 |
| | | | | BN_rand() takes a bit length, not the top bit. | ||||
* | Rename bn_mul.c regress to bn_mul_div.c. | jsing | 2023-01-29 | 2 | -5/+5 |
| | |||||
* | Switch regress to using x509_verify.h from libcrypto instead of the | tb | 2023-01-28 | 4 | -8/+12 |
| | | | | one in /usr/include/openssl. | ||||
* | Provide basic benchmarks for BN_mul() and BN_sqr(). | jsing | 2023-01-21 | 2 | -2/+275 |
| | |||||
* | Fix previous. | jsing | 2023-01-07 | 1 | -3/+9 |
| | |||||
* | Add additional shift benchmarks that are useful on BN_BITS2 == 32 platforms | jsing | 2023-01-05 | 1 | -2/+56 |
| | |||||
* | Add explicit LL suffixes to large constants to appease some compilers on | miod | 2023-01-01 | 1 | -6/+6 |
| | | | | 32-bit systems. | ||||
* | Add regress coverage for shifts of zero bits. | jsing | 2022-12-23 | 1 | -1/+38 |
| | |||||
* | Do similar setup for lshift and rshift benchmarks. | jsing | 2022-12-23 | 1 | -1/+13 |
| | | | | This prevents realloc from unnecessarily impacting the lshift benchmarks. | ||||
* | Use volatile sig_atomic_t for flag set in signal handler | tb | 2022-12-18 | 1 | -2/+2 |
| | |||||
* | Switch to using BN_zero() instead of BN_zero_ex() | tb | 2022-12-17 | 1 | -2/+2 |
| | |||||
* | Move benchmark target up a bit and mark it phony | tb | 2022-12-17 | 1 | -4/+5 |
| | |||||
* | Zap some whitespace | tb | 2022-12-17 | 1 | -2/+2 |
| | |||||
* | Provide regress coverage for BN shift functions. | jsing | 2022-12-17 | 2 | -1/+543 |
| | | | | | | Provide regress coverage for BN_lshift1(), BN_rshift1(), BN_lshift() and BN_rshift(), along with basic benchmarking functionality (run via 'make benchmark'). | ||||
* | bio chain test: compress some error printing | tb | 2022-12-10 | 1 | -5/+4 |
| | |||||
* | bio chain test: deduplicate chain walking code | tb | 2022-12-10 | 1 | -52/+40 |
| | |||||
* | bio chain test: handle walking of empty chains | tb | 2022-12-10 | 1 | -27/+15 |
| | | | | | | Rework the loops walking the chains to be correct for empty chains as well. This simplifies the checking at the cost of slightly more initialization and will allow further refactoring in a subsequent check. | ||||
* | bio chain test: add a consistency check for chain lengths | tb | 2022-12-09 | 1 | -1/+9 |
| | |||||
* | bn/Makefile: tidy up and simplify | tb | 2022-12-09 | 1 | -16/+10 |
| | |||||
* | bio chain test: make two errors noisy | tb | 2022-12-09 | 1 | -3/+11 |
| | |||||
* | bio chain test: ensure the length of empty chains is 0 | tb | 2022-12-09 | 1 | -3/+9 |
| | |||||
* | bio chain test: various minor readability tweaks | tb | 2022-12-09 | 1 | -6/+8 |
| | | | | | | Align initialization in walk_backward() with walk_forward(), fix grammar in a comment and move initialization of oldhead_len in a place consistent with the other length initializations in that function | ||||
* | bio chain test: fix inconsequential off-by-one | tb | 2022-12-08 | 1 | -2/+2 |
| | |||||
* | bio chain test: minor readability tweaks | tb | 2022-12-08 | 1 | -5/+6 |
| | |||||
* | bio chain test: rename a few variables for consistency | tb | 2022-12-08 | 1 | -29/+29 |
| | |||||
* | bio chain test: decouple lengths of test chains | tb | 2022-12-08 | 1 | -59/+89 |
| | | | | | | Add helpers to create and destroy a linear chain of BIOs. Provide two defines for the two lengths of the test chains and make them distinct to rule out coincidences. As a bonus, the code becomes simpler. | ||||
* | bio chain test: refactor link_chains_at() | tb | 2022-12-08 | 1 | -198/+109 |
| | | | | | Add helper that validate the chains. This deduplicates a lot of code and makes the heart of the test much easier to read. | ||||
* | bio chain test: lose some do_{,bio_} prefixes | tb | 2022-12-08 | 1 | -12/+12 |
| | |||||
* | Split biotest into its three logical parts | tb | 2022-12-08 | 4 | -458/+512 |
| | | | | | | Some parts of this test rely on unportable behavior, so cannot run in portable. This way we can run more tests for portable which is helpful for analysis tools, better coverage, etc. | ||||
* | biotest: Tweak long comment a bit | tb | 2022-12-08 | 1 | -11/+13 |
| | |||||
* | Add BIO_push() and BIO_set_next() regress coverage | tb | 2022-12-08 | 1 | -1/+367 |
| | | | | | | This tests for the behavior changes in bio_lib.c r1.40 and r1.41 and makes sure that BIO_push() and BIO_set_next() act on two chains in the expected and now documented way. | ||||
* | bn_mod_exp test: drop extra parentheses for readability | tb | 2022-12-08 | 1 | -4/+4 |
| | |||||
* | Add a few missing headers and drop a few unused ones | tb | 2022-12-06 | 7 | -20/+20 |
| | | | | In bn_test.c include bn_local.h instead of using copy-pasted prototypes. | ||||
* | bn_mod_exp.c doesn't need <string.h> | tb | 2022-12-05 | 1 | -2/+1 |
| |