ref: ec24ac7fa3f5e1098c850bc821485c1c474bc890
parent: 2d4443f63b7b86cdd967eb0034facd94a3480933
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.
--
⑨