summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2023-07-08Tidy up #include lines.YASUOKA Masahiko
2023-07-08Hide symbols in crypto.hBob Beck
ok jsing@
2023-07-08Hide symbols in cms, comp, conf, and bufferBob Beck
ok jsing@
2023-07-08Remove unused SHA-1 implementation.Joel Sing
2023-07-08Remove now unnecessary "do { } while (0)"Joel Sing
2023-07-08Inline HASH_MAKE_STRING macro.Joel Sing
No change to generated assembly.
2023-07-08Reorder functions.Joel Sing
No functional change.
2023-07-08More style(9).Joel Sing
2023-07-08Hit cast with the style(9) stick.Joel Sing
2023-07-08Hide symbols in dso and ctBob Beck
ok jsing@
2023-07-08Hit the des directory with the loving mallet of knfmtBob Beck
ok tb@
2023-07-08style(9)Joel Sing
2023-07-08Hit ripemd with the style(9) stick.Joel Sing
2023-07-08Hit md5 with the style(9) stick.Joel Sing
2023-07-08Hit md4 with the style(9) stick.Joel Sing
2023-07-08Inline rmd_local.h in rmd_dgst.c.Joel Sing
rmd_local.h is not really a local header, just another layer of indirection that cannot be included by anything other than rmd_dgst.c. As such, include it directly instead. No change in generated assembly.
2023-07-08Inline md5_local.h in md5_dgst.c.Joel Sing
md5_local.h is not really a local header, just another layer of indirection that cannot be included by anything other than md5_dgst.c. As such, include it directly instead. No change in generated assembly.
2023-07-08Inline md4_local.h in md4_dgst.c.Joel Sing
md4_local.h is not really a local header, just another layer of indirection that cannot be included by anything other than md4_dgst.c. As such, include it directly instead. No change in generated assembly.
2023-07-08Inline sm3_local.h in sm3.c.Joel Sing
sm3_local.h is not really a local header, just another layer of indirection that cannot be included by anything other than sm3.c. As such, include it directly instead. No change in generated assembly.
2023-07-08Hide symbols in sm3Bob Beck
ok tb@ jsing@
2023-07-08unbreak build when namespaced, file was here in my tree but didn't manageBob Beck
to cvs add
2023-07-07Unbreak the namespace build after a broken mk.conf and tool misfire hadBob Beck
me aliasing symbols not in the headers I was procesing. This unbreaks the namespace build so it will pass again ok tb@
2023-07-07Provide optimised bn_mulw() for riscv64.Joel Sing
This provides a 1.5-2x performance gain for BN multiplication, with a similar improvement being seen for RSA operations.
2023-07-07Remove symbols already declared in the public headerTheo Buehler
ok bcook beck jsing
2023-07-07Provide a libcrypto Makefile.inc for riscv64.Joel Sing
This is currently no different from the existing behaviour and just pulls in the C code that would have previously been built. However, it means that OPENSSL_NO_ASM is no longer being defined by the main libcrypto Makefile, which in turn will allow us to implement assembly optimisations.
2023-07-07Implement SHA1_{Update,Transform,Final}() directly in sha1.c.Joel Sing
Copy the update, transform and final functions from md32_common.h, manually expanding the macros for SHA1. This will allow for further clean up to occur. No change in generated assembly.
2023-07-07Clean up alignment handling for SHA-256.Joel Sing
If input data is 32 bit aligned use be32toh() directly, otherwise use crypto_load_be32toh(), cleaning up all of the HOST_c2l() usage. ok beck@
2023-07-07Clean up SHA-256 input handling and round macros.Joel Sing
Avoid reach around and initialisation outside of the macro, cleaning up the call sites to remove the initialisation. ok beck@
2023-07-07Remove unused SHA-256 implementation.Joel Sing
ok beck@
2023-07-07Hide symbols in hkdf, evp, err, ecdsa, and ecBob Beck
(part 2 of commit) ok jsing@
2023-07-07Hide symbols in hkdf, evp, err, ecdsa and ecBob Beck
ok jsing@
2023-07-07Hide symbols in lhash, pem, and rc2Bob Beck
ok jsing@
2023-07-07Hit idea with the loving mallet of knfmtBob Beck
ok knfmt
2023-07-07hide symbols in sm, rand, and poly1305Bob Beck
ok jsing@
2023-07-07Replace HOST_l2c() with htob32() or crypto_store_htobe32().Joel Sing
ok beck@
2023-07-07Rename RSA_eay_* to rsa_*.Joel Sing
Rename all of the RSA_eay_* functions to rsa_*, as well as changing the method name (and naming). Reorder things slightly so that we can remove all of the prototypes for static functions. ok tb@
2023-07-07Enable reading RSA-PSS certificatesTheo Buehler
ok beck jsing
2023-07-07Hit rc2 with the loving mallet of knfmt.Bob Beck
ok tb@
2023-07-07Hide symbols in tsBob Beck
ok jsing@
2023-07-07Use an unsigned long long and corresponding formatsTheo Buehler
Fixes build on 32 bit. Reported by claudio
2023-07-07Mop up remaining uses of ASN1_bn_print()Theo Buehler
This removes lots of silly buffers and will allow us to make this API go away. ok jsing
2023-07-07Insert leading octet if high bit of first nibble is 1Theo Buehler
The reason the function this replaces is called ASN1_bn_print() is that it actually prints a representation of the ASN.1 encoding. ok jsing
2023-07-07One source file per line.Joel Sing
2023-07-06Convert ecpk_print_explicit_parameters() to bn_printf()Theo Buehler
This eliminates a few stupid dances the horrible ASN1_bn_print() API required. ok jsing
2023-07-06Add bn_printf(), a replacement for ASN1_bn_print()Theo Buehler
ASN1_bn_print() will be removed in an upcoming bump. This adds an internal API that covers the same functionality but doesn't require that the caller pass in a sufficiently large scratch space that ASN1_bn_print() may or may not use. In addition, this takes a format string, which allows us to ditch some extra dances. ok jsing
2023-07-06unifdef the LIBRESSL_HAS_TLS1_3_[CLIENT|SERVER] gooBob Beck
And remove the tendrils. This was useful for transition but we are now well past this.
2023-07-06define OPENSSL_NO_DTLS1_1 since we no longer have that either.Bob Beck
ok tb@
2023-07-06Add missing entry for gelf_update_ehdr in the list of functions thatJasper Lievisse Adriaanse
update an existing header. ok jmc@
2023-07-06Define the 'standard' OPENSSL_NO_BLAHBLAH's for no tls 1.0 or 1.1Bob Beck
We have no tls 1.0 or 1.1 or methods for them. These "in theory" will make things that check the openssl #ifdef soup for all the floating eyeballs make the correct decisions, or if they do not they at least can not blame us. ok tb@
2023-07-05Hide symbols in asn1 and bioBob Beck
ok jsing@