| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
This is the only architecture that has an assembly implementation. There is
little to gain from accelerating a legacy algorithm on a legacy
architecture.
ok beck@ tb@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are currently three ways in which AES is implemented - all in
assembly (amd64 et al), all in C (aarch64 et al) and, half in C and
half in assembly (hppa and sparc64). The last of these cases currently
makes use of a near duplicate AES_set_{encrypt,decrypt}_key()
implementation that avoids using the AES tables.
Remove the near duplicate version and if only a half assembly version is
implemented, use the same C version of AES_set_{encrypt,decrypt}_key() as
everyone else. This adds around 8KB of rodata to libcrypto on these two
platforms.
Discussed with beck and tb.
|
|
|
|
| |
with jsing
|
| |
|
|
|
|
| |
ok tb@
|
| |
|
| |
|
|
|
|
| |
ok tb@
|
|
|
|
|
|
|
|
|
| |
EVP_DigestSignFinal
Additionally, this cleans up some more surrounding code.
This is a fixed version of r1.21.
ok tb
|
|
|
|
|
|
|
| |
Use static inline functions instead of macros. Also number rounds as per
the RFC.
ok joshua@ tb@
|
|
|
|
| |
ok jsing
|
|
|
|
| |
ok tb jsing
|
| |
|
|
|
|
|
|
|
|
| |
EVP_DigestSignFinal
Additionally, this cleans up some more surrounding code.
ok tB
|
|
|
|
|
| |
This unifies variable names and does some other cleanup. Only change in
generated assembly is line number changes.
|
|
|
|
| |
No need for a variety of r, d, ...
|
|
|
|
|
|
| |
No need for an inconsistently named local variable and a ternary operator.
ok jsing
|
|
|
|
| |
No change in generated assembly
|
|
|
|
| |
No change in generated assembly
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
| |
No functional change.
|
|
|
|
|
|
| |
Use le32toh(), htole32() and crypto_{load,store}_htole32() as appropriate.
ok joshua@ tb@
|
|
|
|
|
|
|
| |
There is no need to call HMAC_CTX_init() as the memory has already been
initialised to zero.
ok tb
|
|
|
|
| |
ok jsing tb
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
No change to generated assembly.
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
No functional change.
|
|
|
|
|
|
| |
This gets use of the last mention of EVP_CTRL_PBE_PRF_NID outside of evp.h
ok jsing
|
|
|
|
| |
No change to generated assembly.
|
|
|
|
| |
No change to generated assembly.
|
|
|
|
| |
No functional change.
|
|
|
|
| |
bn_subw() will be used more widely in an upcoming change.
|
|
|
|
| |
ok jsing@
|
|
|
|
|
|
| |
This is now no longer needed.
ok tb@
|
|
|
|
| |
ok tb@
|
| |
|
| |
|
|
|
|
| |
quoth the muppet "yes I know this is horrible!"
|
|
|
|
| |
ok tb@
|
|
|
|
|
|
| |
RSA_verify_PKCS1_PSS_mgf1
ok jsing@ tb@
|
|
|
|
| |
ok tb@
|
|
|
|
|
|
|
| |
Use static inline functions instead of macros and improve handling of
aligned data. Also number rounds as per RFC 1321.
ok tb@
|
| |
|
|
|
|
| |
No functional change.
|