diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2013-04-03 03:04:01 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2013-04-03 03:04:01 +0200 |
commit | a2f82f3daec4289ae86af0f65ce4b7bb962499e1 (patch) | |
tree | 86af6e5fe42c354226818dc4a0e97ddb1a60040c | |
parent | Build on ubuntu. (diff) | |
download | almamater-a2f82f3daec4289ae86af0f65ce4b7bb962499e1.tar.xz almamater-a2f82f3daec4289ae86af0f65ce4b7bb962499e1.zip |
Inline hash function as well.
-rw-r--r-- | almamater.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/almamater.c b/almamater.c index fe86901..8870543 100644 --- a/almamater.c +++ b/almamater.c @@ -97,7 +97,7 @@ static inline size_t distance(const uint8_t *str1, const uint8_t *str2, size_t l return score; } -void hash(uint8_t *str, size_t len, size_t bytes, uint8_t *out) +static inline void hash(uint8_t *str, size_t len, size_t bytes, uint8_t *out) { Skein1024_Ctxt_t ctx; |