shithub: riscv

Download patch

ref: 4a9239723609d4f850b1aa7083b712682027136a
parent: 5ebb1a29d8250027e8b7f2287f3bfa3a6f3d13ac
author: cinap_lenrek <[email protected]>
date: Sun Feb 28 04:09:41 EST 2016

libsec: have 16 32-bit words in DigestState to avoid out of bounds warnings for poly1305

--- a/sys/include/libsec.h
+++ b/sys/include/libsec.h
@@ -215,7 +215,7 @@
 {
 	uvlong	len;
 	union {
-		u32int	state[8];
+		u32int	state[16];
 		u64int	bstate[8];
 	};
 	uchar	buf[256];