diff options
author | Niels Möller <nisse@lysator.liu.se> | 2020-11-30 13:44:17 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2020-11-30 13:44:17 +0100 |
commit | fcf38705f2c34349c011f9bb97f318bce736fdcb (patch) | |
tree | ed2051a9f39b6a636328a57506ff32c3e60d90d0 /chacha-internal.h | |
parent | 5ebf77033b05fdbad0bb612fa9c224862c6a5b7e (diff) | |
download | nettle-fcf38705f2c34349c011f9bb97f318bce736fdcb.tar.gz |
Delete name mangling of internal Chacha symbols
Diffstat (limited to 'chacha-internal.h')
-rw-r--r-- | chacha-internal.h | 70 |
1 files changed, 29 insertions, 41 deletions
diff --git a/chacha-internal.h b/chacha-internal.h index 0f790459..d92a6779 100644 --- a/chacha-internal.h +++ b/chacha-internal.h @@ -39,68 +39,56 @@ #include "nettle-types.h" #include "chacha.h" -#define _chacha_core _nettle_chacha_core -#define _chacha_2core _nettle_chacha_2core -#define _chacha_2core32 _nettle_chacha_2core32 -#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 -_chacha_core(uint32_t *dst, const uint32_t *src, unsigned rounds); +_nettle_chacha_core(uint32_t *dst, const uint32_t *src, unsigned rounds); /* Functions available only in some configurations */ void -_chacha_2core(uint32_t *dst, const uint32_t *src, unsigned rounds); +_nettle_chacha_2core(uint32_t *dst, const uint32_t *src, unsigned rounds); void -_chacha_2core32(uint32_t *dst, const uint32_t *src, unsigned rounds); +_nettle_chacha_2core32(uint32_t *dst, const uint32_t *src, unsigned rounds); void -_chacha_3core(uint32_t *dst, const uint32_t *src, unsigned rounds); +_nettle_chacha_3core(uint32_t *dst, const uint32_t *src, unsigned rounds); void -_chacha_3core32(uint32_t *dst, const uint32_t *src, unsigned rounds); +_nettle_chacha_3core32(uint32_t *dst, const uint32_t *src, unsigned rounds); void -_chacha_crypt_1core(struct chacha_ctx *ctx, - size_t length, - uint8_t *dst, - const uint8_t *src); +_nettle_chacha_crypt_1core(struct chacha_ctx *ctx, + size_t length, + uint8_t *dst, + const uint8_t *src); void -_chacha_crypt_2core(struct chacha_ctx *ctx, - size_t length, - uint8_t *dst, - const uint8_t *src); +_nettle_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, - const uint8_t *src); +_nettle_chacha_crypt_3core(struct chacha_ctx *ctx, + size_t length, + uint8_t *dst, + const uint8_t *src); void -_chacha_crypt32_1core(struct chacha_ctx *ctx, - size_t length, - uint8_t *dst, - const uint8_t *src); +_nettle_chacha_crypt32_1core(struct chacha_ctx *ctx, + size_t length, + uint8_t *dst, + const uint8_t *src); void -_chacha_crypt32_2core(struct chacha_ctx *ctx, - size_t length, - uint8_t *dst, - const uint8_t *src); +_nettle_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, - const uint8_t *src); +_nettle_chacha_crypt32_3core(struct chacha_ctx *ctx, + size_t length, + uint8_t *dst, + const uint8_t *src); #endif /* NETTLE_CHACHA_INTERNAL_H_INCLUDED */ |