aboutsummaryrefslogtreecommitdiffhomepage
path: root/pyecsca/codegen/hash/none.c
diff options
context:
space:
mode:
authorJ08nY2019-11-27 20:34:58 +0100
committerJ08nY2019-11-27 20:34:58 +0100
commit32a4874abfbaff8cb4ee2d31fe71bcc3499e52dc (patch)
tree1203a322d7488ef51b4de2d34c6e0c2871ea68a5 /pyecsca/codegen/hash/none.c
parentbb00fee9702155586e674b9d6a3b838bd54baac2 (diff)
downloadpyecsca-codegen-32a4874abfbaff8cb4ee2d31fe71bcc3499e52dc.tar.gz
pyecsca-codegen-32a4874abfbaff8cb4ee2d31fe71bcc3499e52dc.tar.zst
pyecsca-codegen-32a4874abfbaff8cb4ee2d31fe71bcc3499e52dc.zip
Reorganize files, implement proper main.
Diffstat (limited to 'pyecsca/codegen/hash/none.c')
-rw-r--r--pyecsca/codegen/hash/none.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pyecsca/codegen/hash/none.c b/pyecsca/codegen/hash/none.c
index 79690e8..b40adc3 100644
--- a/pyecsca/codegen/hash/none.c
+++ b/pyecsca/codegen/hash/none.c
@@ -17,4 +17,8 @@ void hash_init(void *ctx) {
void hash_final(void *ctx, int size, const uint8_t *msg, uint8_t *digest) {
memcpy(digest, msg, size);
+}
+
+void hash_free_ctx(void *ctx) {
+
} \ No newline at end of file