Add memutils.c for backend and move existing mem helpers there.

Also remove inline definitions.
This commit is contained in:
Milan Broz
2024-04-24 15:24:44 +02:00
parent bede116926
commit aae5cba2b9
5 changed files with 51 additions and 22 deletions

View File

@@ -13,7 +13,8 @@ libcrypto_backend_la_SOURCES = \
lib/crypto_backend/utf8.c \
lib/crypto_backend/argon2_generic.c \
lib/crypto_backend/cipher_generic.c \
lib/crypto_backend/cipher_check.c
lib/crypto_backend/cipher_check.c \
lib/crypto_backend/memutils.c
if CRYPTO_BACKEND_GCRYPT
libcrypto_backend_la_SOURCES += lib/crypto_backend/crypto_gcrypt.c