summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2016-02-28 09:09:41 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2016-02-28 09:09:41 +0100
commit4a9239723609d4f850b1aa7083b712682027136a (patch)
tree9016f41fc78831cc44c0e0e16baf98324a679bed
parent5ebb1a29d8250027e8b7f2287f3bfa3a6f3d13ac (diff)
libsec: have 16 32-bit words in DigestState to avoid out of bounds warnings for poly1305
-rw-r--r--sys/include/libsec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/include/libsec.h b/sys/include/libsec.h
index 09db4f0f0..bd76b1377 100644
--- a/sys/include/libsec.h
+++ b/sys/include/libsec.h
@@ -215,7 +215,7 @@ struct DigestState
{
uvlong len;
union {
- u32int state[8];
+ u32int state[16];
u64int bstate[8];
};
uchar buf[256];