45 Commits (dd68e4bb4d63b74b0996b714d0bc8c7f51af334b)

Author SHA1 Message Date
David Benjamin dd68e4bb4d Add OPENSSL_zalloc 1 year ago
David Benjamin 70be01270b Use constant curve-specific groups whenever possible 1 year ago
David Benjamin c807a23714 Fix truncation warnings with the iteration count 1 year ago
David Benjamin 6f13380d27 Don't store a redundant copy of the order in EC_GROUP 1 year ago
David Benjamin 8ead3f5314 Add more tests for recognizing explicit forms of built-in curves 1 year ago
David Benjamin 6a7d8b5472 Remove p > q normalization in RSA keys 1 year ago
David Benjamin 754bcf6dcb Don't expose EVP_PKEY internal representation through EVP_PKEY_assign 1 year ago
David Benjamin f4a4e27715 Make DSA opaque 1 year ago
Adam Langley 89de6e1afe Move RSA (en|de)cryption out of the FIPS module. 2 years ago
David Benjamin a925c220c1 Remove EVP_PKEY_ASN1_METHOD and EVP_PKEY_METHOD from public headers 2 years ago
David Benjamin 788bf74188 Add more DSA consistency checks. 2 years ago
David Benjamin aa8d3b5a53 Reject zero ECDSA keys in EC_KEY_set_private_key 2 years ago
David Benjamin ffb80509b9 Replace the union inside EVP_PKEY with void*. 2 years ago
David Benjamin 890c201d4a Make EVP_PKEY opaque. 2 years ago
Bob Beck dcabfe2d89 Make OPENSSL_malloc push ERR_R_MALLOC_FAILURE on failure. 2 years ago
David Benjamin f7d37fba96 Fix various malloc failure paths. 2 years ago
David Benjamin 29564f2b63 Reject even moduli in RSA_check_key. 2 years ago
David Benjamin 41eb357d05 Do not allow changing keys with parameters already set. 2 years ago
David Benjamin 6b785f6e07 Allow EVP_PKEY_copy_parameters into an untyped EVP_PKEY. 2 years ago
David Benjamin 054a5d36bb Print the curve name, not bit length in EVP_PKEY_print_* 2 years ago
David Benjamin 045129c80c Fix EC public key output in EVP_PKEY_print_* 2 years ago
David Benjamin 11c25a65cf Add missing heading to DSA output. 2 years ago
David Benjamin 1e0f0423dd Fix trailing whitespace in EVP_PKEY_print_* 2 years ago
David Benjamin 3592aa3009 Simplify crypto/evp/print.c. 2 years ago
David Benjamin 1ec335da79 Add tests for EVP_PKEY_print_* 2 years ago
David Benjamin 7deb831462 Clean up short BIGNUM handling in bn_print. 2 years ago
David Benjamin 9d64d8d237 Miscellaneous -Wshorten-64-to-32 fixes. 2 years ago
David Benjamin 671ccb1a98 Make EVP_PKEY_*_tls_encodedpoint work with EVP_PKEY_EC. 2 years ago
David Benjamin 2e295b91a3 Stub out DSA paramgen functions. 2 years ago
David Benjamin b7d6320be9 Replace OPENSSL_STATIC_ASSERT with static_assert. 2 years ago
David Benjamin e3ebb9e773 Don't use a union in Ed25519 EVP_PKEYs. 2 years ago
David Benjamin d27a01eb90 Get the EVP_PKEY_METHOD from EVP_PKEY_ASN1_METHOD. 2 years ago
David Benjamin 44872e1c74 Add EVP_PKEY_HKDF for OpenSSL compatibility. 2 years ago
Adam Langley 49350b22be Move digestsign.c into the module. 2 years ago
David Benjamin 71573dc40b Clean up ECDSA EVP_PKEY_CTRL_MD validation. 3 years ago
Adam Langley 118a892d2d Add a service indicator for FIPS 140-3. 3 years ago
David Benjamin 4f1fae3043 Fix the easy -Wformat-signedness errors. 3 years ago
David Benjamin cfafcd454f Deduplicate d2i and i2d documentation. 3 years ago
David Benjamin fa6ced9512 Extract common rotl/rotr functions. 3 years ago
Shelley Vohr cf816d0825 Add compatibility impl for EVP_PKEY_get0 4 years ago
Daniel McArdle bc24805109 Implement PSK variants of HPKE setup functions. 4 years ago
David Benjamin 9372f38cd0 Bound RSA and DSA key sizes better. 4 years ago
Adam Langley d3a5b87aed Handle NULL arguments in some i2d_* functions. 4 years ago
David Benjamin 5d7c2f8b1d Implement i2d_PUBKEY and friends without crypto/asn1. 4 years ago
Adam Langley fb0c05cac2 acvp: add CMAC-AES support. 4 years ago