diff options
author | Rob Landley <rob@landley.net> | 2016-07-15 04:45:08 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2016-07-15 04:45:08 -0500 |
commit | adef5dcb1857f524e2a24dd0223f31db7cd7a8b9 (patch) | |
tree | 2201bf6146fdf17426e0d75d708189b42c27f485 /toys/pending/tr.c | |
parent | fff20ab005ccd98373c5a0675c286e20cf84cbb7 (diff) | |
download | toybox-adef5dcb1857f524e2a24dd0223f31db7cd7a8b9.tar.gz |
Add optional openssl accelerated versions of hash functions, loosely based on
a patch from Elliott Hughes, who said:
[PATCH] Add support for libcrypto for MD5/SHA.
Orders of magnitude faster (for architectures where OpenSSL/BoringSSL
has optimized assembler).
Also adds sha224sum, sha256sum, sha384sum, and sha512sum for folks
building with libcrypto.
The fallback portable C implementations could easily be refactored
to be API-compatible, but I don't know whether they'd stay here or
move to lib/ so I've left that part alone for now.
Diffstat (limited to 'toys/pending/tr.c')
0 files changed, 0 insertions, 0 deletions