mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
Remove unused macros
This commit is contained in:
@@ -5,6 +5,5 @@
|
||||
#define crypto_auth_verify crypto_auth_hmacsha256_verify
|
||||
#define crypto_auth_BYTES crypto_auth_hmacsha256_BYTES
|
||||
#define crypto_auth_KEYBYTES crypto_auth_hmacsha256_KEYBYTES
|
||||
#define crypto_auth_PRIMITIVE "hmacsha256"
|
||||
#define crypto_auth_IMPLEMENTATION crypto_auth_hmacsha256_IMPLEMENTATION
|
||||
#define crypto_auth_VERSION crypto_auth_hmacsha256_VERSION
|
||||
|
||||
@@ -5,6 +5,5 @@
|
||||
#define crypto_auth_verify crypto_auth_hmacsha512_verify
|
||||
#define crypto_auth_BYTES crypto_auth_hmacsha512_BYTES
|
||||
#define crypto_auth_KEYBYTES crypto_auth_hmacsha512_KEYBYTES
|
||||
#define crypto_auth_PRIMITIVE "hmacsha512"
|
||||
#define crypto_auth_IMPLEMENTATION crypto_auth_hmacsha512_IMPLEMENTATION
|
||||
#define crypto_auth_VERSION crypto_auth_hmacsha512_VERSION
|
||||
|
||||
@@ -5,6 +5,5 @@
|
||||
#define crypto_auth_verify crypto_auth_hmacsha512256_verify
|
||||
#define crypto_auth_BYTES crypto_auth_hmacsha512256_BYTES
|
||||
#define crypto_auth_KEYBYTES crypto_auth_hmacsha512256_KEYBYTES
|
||||
#define crypto_auth_PRIMITIVE "hmacsha512256"
|
||||
#define crypto_auth_IMPLEMENTATION crypto_auth_hmacsha512256_IMPLEMENTATION
|
||||
#define crypto_auth_VERSION crypto_auth_hmacsha512256_VERSION
|
||||
|
||||
@@ -14,6 +14,5 @@
|
||||
#define crypto_box_ZEROBYTES crypto_box_curve25519xsalsa20poly1305_ZEROBYTES
|
||||
#define crypto_box_BOXZEROBYTES crypto_box_curve25519xsalsa20poly1305_BOXZEROBYTES
|
||||
#define crypto_box_MACBYTES (crypto_box_ZEROBYTES - crypto_box_BOXZEROBYTES)
|
||||
#define crypto_box_PRIMITIVE "curve25519xsalsa20poly1305"
|
||||
#define crypto_box_IMPLEMENTATION crypto_box_curve25519xsalsa20poly1305_IMPLEMENTATION
|
||||
#define crypto_box_VERSION crypto_box_curve25519xsalsa20poly1305_VERSION
|
||||
|
||||
@@ -6,6 +6,5 @@
|
||||
#define crypto_core_INPUTBYTES crypto_core_hsalsa20_INPUTBYTES
|
||||
#define crypto_core_KEYBYTES crypto_core_hsalsa20_KEYBYTES
|
||||
#define crypto_core_CONSTBYTES crypto_core_hsalsa20_CONSTBYTES
|
||||
#define crypto_core_PRIMITIVE "hsalsa20"
|
||||
#define crypto_core_IMPLEMENTATION crypto_core_hsalsa20_IMPLEMENTATION
|
||||
#define crypto_core_VERSION crypto_core_hsalsa20_VERSION
|
||||
|
||||
@@ -6,6 +6,5 @@
|
||||
#define crypto_core_INPUTBYTES crypto_core_salsa20_INPUTBYTES
|
||||
#define crypto_core_KEYBYTES crypto_core_salsa20_KEYBYTES
|
||||
#define crypto_core_CONSTBYTES crypto_core_salsa20_CONSTBYTES
|
||||
#define crypto_core_PRIMITIVE "salsa20"
|
||||
#define crypto_core_IMPLEMENTATION crypto_core_salsa20_IMPLEMENTATION
|
||||
#define crypto_core_VERSION crypto_core_salsa20_VERSION
|
||||
|
||||
@@ -6,6 +6,5 @@
|
||||
#define crypto_core_INPUTBYTES crypto_core_salsa2012_INPUTBYTES
|
||||
#define crypto_core_KEYBYTES crypto_core_salsa2012_KEYBYTES
|
||||
#define crypto_core_CONSTBYTES crypto_core_salsa2012_CONSTBYTES
|
||||
#define crypto_core_PRIMITIVE "salsa2012"
|
||||
#define crypto_core_IMPLEMENTATION crypto_core_salsa2012_IMPLEMENTATION
|
||||
#define crypto_core_VERSION crypto_core_salsa2012_VERSION
|
||||
|
||||
@@ -6,6 +6,5 @@
|
||||
#define crypto_core_INPUTBYTES crypto_core_salsa208_INPUTBYTES
|
||||
#define crypto_core_KEYBYTES crypto_core_salsa208_KEYBYTES
|
||||
#define crypto_core_CONSTBYTES crypto_core_salsa208_CONSTBYTES
|
||||
#define crypto_core_PRIMITIVE "salsa208"
|
||||
#define crypto_core_IMPLEMENTATION crypto_core_salsa208_IMPLEMENTATION
|
||||
#define crypto_core_VERSION crypto_core_salsa208_VERSION
|
||||
|
||||
@@ -6,6 +6,5 @@
|
||||
#define crypto_hash_update crypto_hash_sha256_update
|
||||
#define crypto_hash_final crypto_hash_sha256_final
|
||||
#define crypto_hash_BYTES crypto_hash_sha256_BYTES
|
||||
#define crypto_hash_PRIMITIVE "sha256"
|
||||
#define crypto_hash_IMPLEMENTATION crypto_hash_sha256_IMPLEMENTATION
|
||||
#define crypto_hash_VERSION crypto_hash_sha256_VERSION
|
||||
|
||||
@@ -6,6 +6,5 @@
|
||||
#define crypto_hash_update crypto_hash_sha512_update
|
||||
#define crypto_hash_final crypto_hash_sha512_final
|
||||
#define crypto_hash_BYTES crypto_hash_sha512_BYTES
|
||||
#define crypto_hash_PRIMITIVE "sha512"
|
||||
#define crypto_hash_IMPLEMENTATION crypto_hash_sha512_IMPLEMENTATION
|
||||
#define crypto_hash_VERSION crypto_hash_sha512_VERSION
|
||||
|
||||
@@ -7,6 +7,5 @@
|
||||
#define crypto_secretbox_NONCEBYTES crypto_secretbox_xsalsa20poly1305_NONCEBYTES
|
||||
#define crypto_secretbox_ZEROBYTES crypto_secretbox_xsalsa20poly1305_ZEROBYTES
|
||||
#define crypto_secretbox_BOXZEROBYTES crypto_secretbox_xsalsa20poly1305_BOXZEROBYTES
|
||||
#define crypto_secretbox_PRIMITIVE "xsalsa20poly1305"
|
||||
#define crypto_secretbox_IMPLEMENTATION crypto_secretbox_xsalsa20poly1305_IMPLEMENTATION
|
||||
#define crypto_secretbox_VERSION crypto_secretbox_xsalsa20poly1305_VERSION
|
||||
|
||||
@@ -3,6 +3,5 @@
|
||||
|
||||
#define crypto_shorthash crypto_shorthash_siphash24
|
||||
#define crypto_shorthash_BYTES crypto_shorthash_siphash24_BYTES
|
||||
#define crypto_shorthash_PRIMITIVE "siphash24"
|
||||
#define crypto_shorthash_IMPLEMENTATION crypto_shorthash_siphash24_IMPLEMENTATION
|
||||
#define crypto_shorthash_VERSION crypto_shorthash_siphash24_VERSION
|
||||
|
||||
@@ -9,6 +9,5 @@
|
||||
#define crypto_sign_SEEDBYTES crypto_sign_ed25519_SEEDBYTES
|
||||
#define crypto_sign_PUBLICKEYBYTES crypto_sign_ed25519_PUBLICKEYBYTES
|
||||
#define crypto_sign_SECRETKEYBYTES crypto_sign_ed25519_SECRETKEYBYTES
|
||||
#define crypto_sign_PRIMITIVE "ed25519"
|
||||
#define crypto_sign_IMPLEMENTATION crypto_sign_ed25519_IMPLEMENTATION
|
||||
#define crypto_sign_VERSION crypto_sign_ed25519_VERSION
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
#define crypto_sign_BYTES crypto_sign_edwards25519sha512batch_BYTES
|
||||
#define crypto_sign_PUBLICKEYBYTES crypto_sign_edwards25519sha512batch_PUBLICKEYBYTES
|
||||
#define crypto_sign_SECRETKEYBYTES crypto_sign_edwards25519sha512batch_SECRETKEYBYTES
|
||||
#define crypto_sign_PRIMITIVE "edwards25519sha512batch"
|
||||
#define crypto_sign_IMPLEMENTATION crypto_sign_edwards25519sha512batch_IMPLEMENTATION
|
||||
#define crypto_sign_VERSION crypto_sign_edwards25519sha512batch_VERSION
|
||||
|
||||
|
||||
@@ -9,6 +9,5 @@
|
||||
#define crypto_stream_KEYBYTES crypto_stream_aes128ctr_KEYBYTES
|
||||
#define crypto_stream_NONCEBYTES crypto_stream_aes128ctr_NONCEBYTES
|
||||
#define crypto_stream_BEFORENMBYTES crypto_stream_aes128ctr_BEFORENMBYTES
|
||||
#define crypto_stream_PRIMITIVE "aes128ctr"
|
||||
#define crypto_stream_IMPLEMENTATION crypto_stream_aes128ctr_IMPLEMENTATION
|
||||
#define crypto_stream_VERSION crypto_stream_aes128ctr_VERSION
|
||||
|
||||
@@ -9,6 +9,5 @@
|
||||
#define crypto_stream_KEYBYTES crypto_stream_aes256estream_KEYBYTES
|
||||
#define crypto_stream_NONCEBYTES crypto_stream_aes256estream_NONCEBYTES
|
||||
#define crypto_stream_BEFORENMBYTES crypto_stream_aes256estream_BEFORENMBYTES
|
||||
#define crypto_stream_PRIMITIVE "aes256estream"
|
||||
#define crypto_stream_IMPLEMENTATION crypto_stream_aes256estream_IMPLEMENTATION
|
||||
#define crypto_stream_VERSION crypto_stream_aes256estream_VERSION
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
#define crypto_stream_xor crypto_stream_salsa2012_xor
|
||||
#define crypto_stream_KEYBYTES crypto_stream_salsa2012_KEYBYTES
|
||||
#define crypto_stream_NONCEBYTES crypto_stream_salsa2012_NONCEBYTES
|
||||
#define crypto_stream_PRIMITIVE "salsa2012"
|
||||
#define crypto_stream_IMPLEMENTATION crypto_stream_salsa2012_IMPLEMENTATION
|
||||
#define crypto_stream_VERSION crypto_stream_salsa2012_VERSION
|
||||
|
||||
|
||||
@@ -5,6 +5,5 @@
|
||||
#define crypto_stream_xor crypto_stream_salsa208_xor
|
||||
#define crypto_stream_KEYBYTES crypto_stream_salsa208_KEYBYTES
|
||||
#define crypto_stream_NONCEBYTES crypto_stream_salsa208_NONCEBYTES
|
||||
#define crypto_stream_PRIMITIVE "salsa208"
|
||||
#define crypto_stream_IMPLEMENTATION crypto_stream_salsa208_IMPLEMENTATION
|
||||
#define crypto_stream_VERSION crypto_stream_salsa208_VERSION
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
#define crypto_stream_xor crypto_stream_xsalsa20_xor
|
||||
#define crypto_stream_KEYBYTES crypto_stream_xsalsa20_KEYBYTES
|
||||
#define crypto_stream_NONCEBYTES crypto_stream_xsalsa20_NONCEBYTES
|
||||
#define crypto_stream_PRIMITIVE "xsalsa20"
|
||||
#define crypto_stream_IMPLEMENTATION crypto_stream_xsalsa20_IMPLEMENTATION
|
||||
#define crypto_stream_VERSION crypto_stream_xsalsa20_VERSION
|
||||
|
||||
|
||||
Reference in New Issue
Block a user