diff options
author | Zack Weinberg <zackw@panix.com> | 2021-03-07 10:45:29 -0500 |
---|---|---|
committer | Zack Weinberg <zackw@panix.com> | 2021-03-07 10:45:29 -0500 |
commit | 44e9eb57b462cfbaeb085cea0e308511565f4a12 (patch) | |
tree | 1b31bb608d906262e080e22062294b78d8fbe507 /LICENSING | |
parent | 1d1e0a53dd26d4b00583f1f9db91f8b7295395d4 (diff) | |
download | libxcrypt-44e9eb57b462cfbaeb085cea0e308511565f4a12.tar.gz libxcrypt-44e9eb57b462cfbaeb085cea0e308511565f4a12.tar.bz2 libxcrypt-44e9eb57b462cfbaeb085cea0e308511565f4a12.zip |
Remove redundant byte order conversion functions.
alg-yescrypt-sysendian.h provides the same set of functions that
byteorder.h does, just with different names. Have byteorder.h
provide both sets of names, and remove alg-yescrypt-sysendian.h.
Also, move the vectorized byte order conversion functions from
alg-sha{256,512}.c to byteorder.h, normalize their API, and generate
them from template macros so it’s easy to add more in the future if we
need them.
Push the warning suppression pragmas from alg-yescrypt-sysendian.h
down into the one .c file that actually needs them,
alg-yescrypt-opt.c. I am a little worried that these are papering
over actual latent bugs--we use the aggressive conversion warnings for
a reason--but that’s not today’s project.
Diffstat (limited to 'LICENSING')
-rw-r--r-- | LICENSING | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -30,8 +30,7 @@ source tree. For specific licensing terms consult the files themselves. alg-yescrypt-common.c, alg-yescrypt-platform.c * Copyright Solar Designer, Colin Percival; 2-clause BSD: - alg-sha256.c, alg-sha256.h, alg-yescrypt.h, alg-yescrypt-opt.c, - alg-yescrypt-sysendian.h + alg-sha256.c, alg-sha256.h, alg-yescrypt.h, alg-yescrypt-opt.c * Copyright Colin Percival; 2-clause BSD: alg-sha512.h, alg-sha512.c |