From dfa0ee275366fd179b5b10d856a6ebb42d7fca3e Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Wed, 30 Dec 2015 00:09:16 +0100 Subject: [PATCH] We don't need no external memory allocators --- src/libsodium/crypto_pwhash/argon2/argon2.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/libsodium/crypto_pwhash/argon2/argon2.h b/src/libsodium/crypto_pwhash/argon2/argon2.h index f1f7fc2c..6a246b1f 100644 --- a/src/libsodium/crypto_pwhash/argon2/argon2.h +++ b/src/libsodium/crypto_pwhash/argon2/argon2.h @@ -130,10 +130,6 @@ typedef enum Argon2_ErrorCodes { error code */ } argon2_error_codes; -/* Memory allocator types --- for external allocation */ -typedef int (*allocate_fptr)(uint8_t **memory, size_t bytes_to_allocate); -typedef void (*deallocate_fptr)(uint8_t *memory, size_t bytes_to_allocate); - /* Argon2 external data structures */ /*