Moved hash_byte & hash_nbytes functions to common

This commit is contained in:
Alexandre Paillier
2023-03-03 11:44:10 +01:00
parent 9c4e4f26ed
commit 2ba75a97ee
2 changed files with 3 additions and 10 deletions
+10
View File
@@ -0,0 +1,10 @@
#ifndef HASH_BYTES_H_
#define HASH_BYTES_H_
#include <stdint.h>
#include "cx.h"
void hash_nbytes(const uint8_t *const bytes_ptr, uint8_t n, cx_hash_t *hash_ctx);
void hash_byte(uint8_t byte, cx_hash_t *hash_ctx);
#endif // HASH_BYTES_H_