aboutsummaryrefslogtreecommitdiffstats
path: root/libar2_hash.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-02-17 17:35:27 +0100
committerMattias Andrée <maandree@kth.se>2022-02-17 17:35:27 +0100
commit8427c0375f0b0ec112f841b448e802c278c81e1e (patch)
treed884f3bfd678015f37e5e6443df4a6c5263079fe /libar2_hash.c
parentm style (diff)
downloadlibar2-8427c0375f0b0ec112f841b448e802c278c81e1e.tar.gz
libar2-8427c0375f0b0ec112f841b448e802c278c81e1e.tar.bz2
libar2-8427c0375f0b0ec112f841b448e802c278c81e1e.tar.xz
add todo
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libar2_hash.c')
-rw-r--r--libar2_hash.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libar2_hash.c b/libar2_hash.c
index 3ee6bca..4ccbf18 100644
--- a/libar2_hash.c
+++ b/libar2_hash.c
@@ -295,6 +295,7 @@ fill_block(struct block *block, const struct block *prevblock, const struct bloc
}
}
+ /* TODO optimise (also fBlaMka) once similar BLAKE2b code in libblake has been optimised { */
#define BLAMKA_G(A, B, C, D)\
A = fBlaMka(A, B);\
D = rotr64(D ^ A, 32);\
@@ -335,6 +336,7 @@ fill_block(struct block *block, const struct block *prevblock, const struct bloc
64, 65, 80, 81,
96, 97, 112, 113);
}
+ /* } */
blockxor(block, &tmpblock);