Bug 24410 - AES-CBC description

Let's start with a discussion of what reference(s) we should be using for
the padding algorithm.  The problem with both of the current one is that
they are setup for 64-bit encryption block algorithms and not the current
128-bit block size.  The best reference that I can give you for now would be
RFC 5652 (Cryptographic Message Syntax) which is the official successor to
PKCS #7 in any event.  The section that describes the padding algorithm is
section 6.3

 

The unpadding algorithm in step 5 of decrypt needs to state "If p is zero or
greater than 16"

 

 

Jim

 

Received on Friday, 21 February 2014 00:47:08 UTC