From e558c88821db0a7c0e511a36e8c7979878648256 Mon Sep 17 00:00:00 2001 From: aiju Date: Sat, 9 Apr 2016 20:51:24 +0200 Subject: aes(2): mention aesCBC bug --- sys/man/2/aes | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys/man/2/aes b/sys/man/2/aes index dc400dccc..5afda84e5 100644 --- a/sys/man/2/aes +++ b/sys/man/2/aes @@ -115,3 +115,9 @@ The functions 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. -- cgit v1.2.3