diff options
author | Niels Möller <nisse@lysator.liu.se> | 2020-11-24 20:55:51 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2020-11-24 20:55:51 +0100 |
commit | 87ecdf43c145b76583a3201ccfa1cfa9b93d68d4 (patch) | |
tree | 5ba88546e2b7972392f57c02533a8d999abdbb51 /chacha-internal.h | |
parent | da40585672c6c113d5d9c2eefc73d21828bfe759 (diff) | |
download | nettle-87ecdf43c145b76583a3201ccfa1cfa9b93d68d4.tar.gz |
ppc: Enable _chacha_2core in fat builds.
Diffstat (limited to 'chacha-internal.h')
-rw-r--r-- | chacha-internal.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/chacha-internal.h b/chacha-internal.h index d298ab87..0f790459 100644 --- a/chacha-internal.h +++ b/chacha-internal.h @@ -45,8 +45,10 @@ #define _chacha_3core _nettle_chacha_3core #define _chacha_3core32 _nettle_chacha_3core32 #define _chacha_crypt_1core _nettle_chacha_crypt_1core +#define _chacha_crypt_2core _nettle_chacha_crypt_2core #define _chacha_crypt_3core _nettle_chacha_crypt_3core #define _chacha_crypt32_1core _nettle_chacha_crypt32_1core +#define _chacha_crypt32_2core _nettle_chacha_crypt32_2core #define _chacha_crypt32_3core _nettle_chacha_crypt32_3core void @@ -72,6 +74,12 @@ _chacha_crypt_1core(struct chacha_ctx *ctx, const uint8_t *src); void +_chacha_crypt_2core(struct chacha_ctx *ctx, + size_t length, + uint8_t *dst, + const uint8_t *src); + +void _chacha_crypt_3core(struct chacha_ctx *ctx, size_t length, uint8_t *dst, @@ -84,6 +92,12 @@ _chacha_crypt32_1core(struct chacha_ctx *ctx, const uint8_t *src); void +_chacha_crypt32_2core(struct chacha_ctx *ctx, + size_t length, + uint8_t *dst, + const uint8_t *src); + +void _chacha_crypt32_3core(struct chacha_ctx *ctx, size_t length, uint8_t *dst, |