Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove rather scary unused experimental code. | jsing | 2024-03-27 | 1 | -1081/+0 |
| | | | | ok tb@ | ||||
* | Clean up use of EVP_MD_CTX_{legacy_clear,cleanup} in | joshua | 2024-03-27 | 1 | -18/+24 |
| | | | | | | | | | EVP_DigestSignFinal Additionally, this cleans up some more surrounding code. This is a fixed version of r1.21. ok tb | ||||
* | Demacro md4. | jsing | 2024-03-27 | 1 | -100/+84 |
| | | | | | | | Use static inline functions instead of macros. Also number rounds as per the RFC. ok joshua@ tb@ | ||||
* | Hide symbols in engine | tb | 2024-03-27 | 3 | -1/+87 |
| | | | | ok jsing | ||||
* | Recommit r1.20 | joshua | 2024-03-27 | 1 | -27/+31 |
| | | | | ok tb jsing | ||||
* | Revert to r1.19 while we track down a bug in the last two commits. | jsing | 2024-03-27 | 1 | -38/+29 |
| | |||||
* | Clean up use of EVP_MD_CTX_{legacy_clear,cleanup} in | joshua | 2024-03-27 | 1 | -17/+22 |
| | | | | | | | | EVP_DigestSignFinal Additionally, this cleans up some more surrounding code. ok tB | ||||
* | Use dsa for DSA and dh for DH | tb | 2024-03-27 | 1 | -88/+90 |
| | | | | | This unifies variable names and does some other cleanup. Only change in generated assembly is line number changes. | ||||
* | Use dh for DH function arguments. | tb | 2024-03-27 | 1 | -25/+23 |
| | | | | No need for a variety of r, d, ... | ||||
* | Unify *_up_ref() implementations | tb | 2024-03-27 | 6 | -19/+12 |
| | | | | | | No need for an inconsistently named local variable and a ternary operator. ok jsing | ||||
* | Remove superfluous parentheses in X509_REQ setters | tb | 2024-03-26 | 1 | -10/+10 |
| | | | | No change in generated assembly | ||||
* | Cosmetics, mostly removal of silly parentheses | tb | 2024-03-26 | 1 | -21/+19 |
| | | | | No change in generated assembly | ||||
* | Drop superfluous parentheses in X509_set_version() | tb | 2024-03-26 | 1 | -5/+5 |
| | |||||
* | Tweak versions comment for CRLs | tb | 2024-03-26 | 1 | -1/+2 |
| | |||||
* | piuid and psuid have annoyed me for long enough | tb | 2024-03-26 | 1 | -7/+7 |
| | |||||
* | x509 trust: remove unneeded headers | tb | 2024-03-26 | 1 | -3/+1 |
| | |||||
* | Rework input and output handling for sha1. | jsing | 2024-03-26 | 1 | -128/+79 |
| | | | | | | | | Use be32toh(), htobe32() and crypto_{load,store}_htobe32() as appropriate. Also use the same while() loop that is used for other hash functions. ok joshua@ tb@ | ||||
* | Inline initial values. | jsing | 2024-03-26 | 1 | -11/+8 |
| | | | | No functional change. | ||||
* | Rework input and output handling for md4. | jsing | 2024-03-26 | 1 | -55/+61 |
| | | | | | | Use le32toh(), htole32() and crypto_{load,store}_htole32() as appropriate. ok joshua@ tb@ | ||||
* | Simplify HMAC_CTX_new() | joshua | 2024-03-26 | 1 | -9/+2 |
| | | | | | | | There is no need to call HMAC_CTX_init() as the memory has already been initialised to zero. ok tb | ||||
* | Clean up EVP_DigestSignFinal | joshua | 2024-03-26 | 1 | -27/+31 |
| | | | | ok jsing tb | ||||
* | Reject setting invalid versions for certs, CRLs and CSRs | tb | 2024-03-26 | 3 | -3/+18 |
| | | | | | | | | | | | | The toolkit aspect bites again. Lots of invalid CRLs and CSRs are produced because people neither read the RFCs nor does the toolkit check anything it is fed. Reviewers apparently also aren't capable of remembering that they have three copy-pasted versions of the same API and that adding a version check to one of the might suggest adding one for the other two. This requires ruby-openssl 20240326p0 to pass ok beck job jsing | ||||
* | Add TLS_ERROR_INVALID_CONTEXT error code to libtls | joshua | 2024-03-26 | 4 | -11/+16 |
| | | | | ok jsing@ beck@ | ||||
* | Remove now unnecessary do {} while (0); | jsing | 2024-03-26 | 1 | -3/+1 |
| | |||||
* | Inline HASH_MAKE_STRING. | jsing | 2024-03-26 | 1 | -13/+12 |
| | | | | No change to generated assembly. | ||||
* | Remove PKCS5_pbe2_set_iv() | tb | 2024-03-26 | 1 | -28/+9 |
| | | | | | | | | | | This used to be a generalization of PKCS5_pbe2_set(). Its only caller was the latter, which always passes aiv == NULL and pbe_prf == -1. Thus, the iv would always be random and regarding the pbe_prf, it would always end up being NID_hmacWithSHA1 since the only ctrl grokking EVP_CTRL_PBE_PRF_NID was RC2's control, but only if PBE_PRF_TEST was defined, which it wasn't. ok jsing | ||||
* | Reorder functions expanded from md32_common.h. | jsing | 2024-03-26 | 1 | -103/+102 |
| | | | | No functional change. | ||||
* | Unifdef PBE_PRF_TEST | tb | 2024-03-26 | 1 | -7/+1 |
| | | | | | | This gets use of the last mention of EVP_CTRL_PBE_PRF_NID outside of evp.h ok jsing | ||||
* | Expand HASH_* defines. | jsing | 2024-03-26 | 1 | -26/+28 |
| | | | | No change to generated assembly. | ||||
* | Inline hash functions from md32_common.h. | jsing | 2024-03-26 | 1 | -1/+102 |
| | | | | No change to generated assembly. | ||||
* | Fix previous commit. | jsing | 2024-03-26 | 1 | -2/+2 |
| | |||||
* | Add error code support to libtls | joshua | 2024-03-26 | 12 | -225/+363 |
| | | | | | | | | | This adds tls_config_error_code() and tls_error_code(), which will become public API at a later date. Additional error codes will be added in follow-up commits. ok jsing@ beck@ | ||||
* | Reorder functions. | jsing | 2024-03-26 | 1 | -13/+13 |
| | | | | No functional change. | ||||
* | Provide an optimised bn_subw() for amd64. | jsing | 2024-03-26 | 1 | -3/+22 |
| | | | | bn_subw() will be used more widely in an upcoming change. | ||||
* | Clean up use of EVP_MD_CTX_{legacy_clear,cleanup} in EVP_SignFinal | joshua | 2024-03-26 | 1 | -6/+8 |
| | | | | ok jsing@ | ||||
* | Stop including md32_common.h in md5.c and remove unused defines. | jsing | 2024-03-26 | 1 | -17/+1 |
| | | | | | | This is now no longer needed. ok tb@ | ||||
* | Clean up use of EVP_MD_CTX_{legacy_clear,cleanup} in EVP_VerifyFinal | joshua | 2024-03-26 | 1 | -6/+7 |
| | | | | ok tb@ | ||||
* | Include stdint.h for uintptr_t. | jsing | 2024-03-26 | 1 | -1/+2 |
| | |||||
* | Add back x509_local.h for PBKDF2PARAM | tb | 2024-03-26 | 1 | -1/+2 |
| | |||||
* | PKCS5_pbe2_set_iv() can be local to p5_pbev2 | tb | 2024-03-26 | 2 | -6/+3 |
| | | | | quoth the muppet "yes I know this is horrible!" | ||||
* | Clean up use of EVP_MD_CTX_{legacy_clear,cleanup} in PKCS1_MGF1 | joshua | 2024-03-26 | 1 | -9/+14 |
| | | | | ok tb@ | ||||
* | Clean up use of EVP_MD_CTX_{legacy_clear,cleanup} in | joshua | 2024-03-26 | 1 | -19/+22 |
| | | | | | | RSA_verify_PKCS1_PSS_mgf1 ok jsing@ tb@ | ||||
* | Clean up use of EVP_CIPHER_CTX_{legacy_clear,cleanup} in EVP_OpenInit | joshua | 2024-03-26 | 1 | -3/+3 |
| | | | | ok tb@ | ||||
* | Demacro MD5 and improve data loading. | jsing | 2024-03-26 | 1 | -116/+154 |
| | | | | | | | Use static inline functions instead of macros and improve handling of aligned data. Also number rounds as per RFC 1321. ok tb@ | ||||
* | Mark internal functions as static. | jsing | 2024-03-26 | 1 | -5/+5 |
| | |||||
* | Move bn_montgomery_reduce() and drop prototype. | jsing | 2024-03-26 | 1 | -73/+71 |
| | | | | No functional change. | ||||
* | Fix function guards. | jsing | 2024-03-26 | 1 | -3/+3 |
| | |||||
* | Add an indicator that an extension has been processed. | beck | 2024-03-26 | 3 | -3/+21 |
| | | | | ok jsing@ | ||||
* | Fix expected client hello value to allow for supported_groups change. | beck | 2024-03-26 | 1 | -4/+4 |
| | | | | ok jsing@ | ||||
* | Garbage collect the unused verifyctx() and verifyctx_init() | tb | 2024-03-26 | 2 | -23/+5 |
| | | | | ok joshua jsing |