diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-08-18 17:09:55 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-08-18 17:09:55 +0100 |
commit | 159faa1e2b4326bcae2fab6bb082ba002c49f7e8 (patch) | |
tree | 7deaa954a958ea515931d46870d22d4dd075b2bb /src/crypto.cpp | |
parent | c35d1d420f9917c5e6fe536cf7b4a273b198222f (diff) |
Make the internal functions static, remove some unused internal functions
Diffstat (limited to 'src/crypto.cpp')
-rw-r--r-- | src/crypto.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crypto.cpp b/src/crypto.cpp index ed89d64..fffda4c 100644 --- a/src/crypto.cpp +++ b/src/crypto.cpp @@ -99,7 +99,7 @@ inline static void hmac_sha256_key( } -inline void hmac_sha256_init( +inline static void hmac_sha256_init( ::SHA256_CTX * context, std::uint8_t const * hmac_key ) { @@ -114,7 +114,7 @@ inline void hmac_sha256_init( } -inline void hmac_sha256_final( +inline static void hmac_sha256_final( ::SHA256_CTX * context, std::uint8_t const * hmac_key, std::uint8_t * output |