Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Nuke more gost | beck | 2024-03-28 | 2 | -0/+0 | |
| | ||||||
* | Nuke more leftover GOST tendrils. | beck | 2024-03-28 | 3 | -1497/+1 | |
| | | | | ok tb@ | |||||
* | Codify more insane CRYPTO_EX_DATA API. | jsing | 2024-03-25 | 1 | -9/+59 | |
| | | | | | | The current CRYPTO_EX_DATA implementation allows for data to be set without calling new, indexes can be used without allocation, new can be called without getting an index and dup can be called after new or without calling new. | |||||
* | Add tests for EVP_get_cipherbyname(NULL) and EVP_get_digestbyname(NULL) | jca | 2024-03-24 | 1 | -1/+25 | |
| | | | | Requested by and ok tb@ | |||||
* | Detect OPENSSL_NO_GOST correctly | tb | 2024-02-29 | 1 | -1/+2 | |
| | ||||||
* | CRYPTO_mem_leaks* will go away. Remove calls in legacy tests | tb | 2024-02-29 | 3 | -6/+3 | |
| | ||||||
* | Link x509_algor test statically and switch to the internal | tb | 2024-02-29 | 2 | -9/+18 | |
| | | | | X509_ALGOR_set0_evp_md() | |||||
* | OBJ_NAME_TYPE_PKEY_METH is no longer supported | tb | 2024-02-29 | 1 | -5/+1 | |
| | ||||||
* | Stop testing EVP_PKEY_GOST{IMIT,R01} | tb | 2024-02-29 | 1 | -3/+1 | |
| | ||||||
* | Prepare freenull test for GOST removal | tb | 2024-02-29 | 1 | -1/+3 | |
| | ||||||
* | asn1time: remove some debugging code | tb | 2024-02-18 | 1 | -3/+1 | |
| | ||||||
* | Tweak previous | tb | 2024-02-18 | 1 | -7/+6 | |
| | ||||||
* | Adjust regress test for memset() requested by jsing on review | tb | 2024-02-18 | 1 | -4/+18 | |
| | ||||||
* | Add regress coverage for the new API | tb | 2024-02-18 | 2 | -2/+197 | |
| | | | | | This exercises the new API, in particular with respect to overflow behavior around the years 0/9999, which are special for GeneralizedTime/X.509. | |||||
* | bio_dump: add a test that prints all values of a single byte | tb | 2024-02-09 | 1 | -1/+59 | |
| | ||||||
* | Fix asn1_integer_null_data_test() | tb | 2024-02-04 | 1 | -2/+2 | |
| | | | | | | | The failed variable was erroneously initialized to 0, making this test always pass. From Christian Andersen, thanks! | |||||
* | bio_dump: fix indent | tb | 2024-02-02 | 1 | -32/+32 | |
| | ||||||
* | bio_dump: add one more testcase | tb | 2024-02-02 | 1 | -2/+36 | |
| | | | | | This one covers the silly minuses between the hexdump and the ASCII dump when dumping eight bytes per line. | |||||
* | Add regress coverage for BIO_dump() | tb | 2024-02-02 | 2 | -1/+745 | |
| | ||||||
* | Replace more occurrences of OBJ_NAME_do_all_sorted() with | tb | 2024-01-21 | 1 | -7/+4 | |
| | | | | OBJ_NAME_do_all() | |||||
* | ec_point_conversion: zap an empty line | tb | 2024-01-18 | 1 | -2/+1 | |
| | ||||||
* | Run the pkey cleanup test also for {Ed,X}25519 | tb | 2024-01-15 | 1 | -1/+3 | |
| | ||||||
* | Switch to EVP_CIPHER_do_all() now that snaps are available on most arches | tb | 2024-01-15 | 1 | -5/+3 | |
| | ||||||
* | Remove the evp_pkey_method() test | tb | 2024-01-11 | 1 | -38/+1 | |
| | | | | | This is a minimal test for an API that will be removed in a subsequent commit. | |||||
* | Sprinkle a handfull of missing continue | tb | 2023-12-31 | 1 | -1/+10 | |
| | ||||||
* | Add extended regress coverage for ASN.1 methods | tb | 2023-12-30 | 1 | -1/+147 | |
| | | | | | | | | Validate that every alias resolves to a non-alias in one step and that non-aliases have pkey_id == pkey_base_id, an info string and a pem_str. They can be looked up by their pkey_id or pem_str. Conversely, all these are false for aliases. | |||||
* | Add initial regress for CRYPTO_EX_DATA. | jsing | 2023-12-27 | 3 | -1/+237 | |
| | ||||||
* | Remove engine regress. | jsing | 2023-12-27 | 3 | -264/+1 | |
| | | | | | | Engines are no longer a thing. Discussed with tb@ | |||||
* | c2sp: replace openssl 3.0 with 3.2 support | tb | 2023-12-17 | 1 | -2/+2 | |
| | ||||||
* | Remove the string_table test | tb | 2023-12-15 | 2 | -130/+1 | |
| | | | | | | | | If it wasn't for security/xca, all of the ASN1_STRING_TABLE API would hit the attic before long. API design by a trained professional... The table can at least be made immutable, which in turn makes this test entirely pointless. | |||||
* | rfc3779: remove redundant const. | tb | 2023-12-13 | 1 | -5/+5 | |
| | | | | | This is already included in the typedef (yuck) and makes some Windows compilers unhappy. | |||||
* | constraints: \178 isn't a valid octal escape sequence | tb | 2023-12-13 | 1 | -2/+2 | |
| | ||||||
* | x509_asn1: avoid lookup table that makes some compilers whine | tb | 2023-12-13 | 1 | -59/+37 | |
| | ||||||
* | evp_test: zap extra empty line | tb | 2023-12-10 | 1 | -2/+1 | |
| | ||||||
* | Add regress coverage for OBJ_NAME_do_all*() | tb | 2023-12-08 | 1 | -2/+99 | |
| | | | | | | | While this may seem a bit out of place since is an objects API by name, it really is about EVP. Plus, we want to leverage some things we already needed for the EVP_*do_all() API (which currently wraps OBJ_NAME_do_all* but that will change soon). | |||||
* | EVP test: fix includes | tb | 2023-11-27 | 1 | -3/+3 | |
| | ||||||
* | EVP test: add regress coverage for the do_all() API | tb | 2023-11-27 | 1 | -1/+132 | |
| | ||||||
* | Still need engine.h for ENGINE_free() | tb | 2023-11-20 | 1 | -1/+2 | |
| | | | | But do away with the OPENSSL_NO_ENGINE dance. | |||||
* | Unifdef OPENSSL_NO_ENGINE in libcrypto regress | tb | 2023-11-19 | 8 | -68/+8 | |
| | ||||||
* | Fix an error message left out in the mustDecodeHexString() conversion | tb | 2023-11-07 | 1 | -2/+2 | |
| | ||||||
* | Pull up the handling of the two webcrypto special snowflakes | tb | 2023-11-07 | 1 | -13/+9 | |
| | ||||||
* | Drop a useless line and bump copyright years | tb | 2023-11-07 | 1 | -4/+3 | |
| | ||||||
* | Unwrap a few lines | tb | 2023-11-07 | 1 | -72/+32 | |
| | ||||||
* | Wrap hex.DecodeString() into mustDecodeHexString() | tb | 2023-11-07 | 1 | -390/+78 | |
| | | | | | | | | | | | | | The hex decoding is only done from the JSON files provided by the wycheproof-testvectors package. Failure is always fatal. So there is no need for repeated error checks, and we can use an ergonomic wrapper. Also rework the calculation of the message digest from input data this had a similar deficit. All in all this shaves off about 10% of the code and removes a lot of tedious repetition. | |||||
* | Use maps to retrieve various AES variants | tb | 2023-11-07 | 1 | -60/+72 | |
| | ||||||
* | Convert hashEvpMdFromString() to a map | tb | 2023-11-07 | 1 | -26/+19 | |
| | ||||||
* | Add stringer interfaces to the test groups | tb | 2023-11-07 | 1 | -102/+126 | |
| | | | | This simplifies and unifies a lot of error messages. | |||||
* | Pull everything except the actual run call out of the closure | tb | 2023-11-06 | 1 | -11/+9 | |
| | | | | | | | | The determination of the test group type and the JSON unmarshalling can be done before the closure without performance impact. This is more readable and eliminates the need of a temporary variable again. Suggested by jsing | |||||
* | Introduce testGroupFromAlgorithm() | tb | 2023-11-06 | 1 | -50/+54 | |
| | | | | | This factors another ugly switch into a helper function. This should probably become a map eventually, but for now keep things straightforward. | |||||
* | Add a wycheproofTestGroupRunner interface | tb | 2023-11-06 | 1 | -72/+26 | |
| | | | | | This allows us to use a simpler way of running the individual test groups and gets rid of an ugly mostly copy-pasted switch inside a closure. |