shithub: riscv

Download patch

ref: e558c88821db0a7c0e511a36e8c7979878648256
parent: c53d521508bb82ff23024eab5835fce70e18add4
author: aiju <devnull@localhost>
date: Sat Apr 9 16:51:24 EDT 2016

aes(2): mention aesCBC bug

--- a/sys/man/2/aes
+++ b/sys/man/2/aes
@@ -115,3 +115,9 @@
 and
 .IR aesXCBCmac
 have not yet been verified by running test vectors through them.
+.PP
+Because of the way that non-multiple-of-16 buffers are handled,
+.I aesCBCdecrypt
+must be fed buffers of the same size as the
+.I aesCBCencrypt
+calls that encrypted it.