-
由 Daniel P. Berrange 提交于
When encrypting/decrypting data, the plaintext/ciphertext buffers are required to be a multiple of the cipher block size. If this is not done, nettle will abort and gcrypt will report an error. To get consistent behaviour add explicit checks upfront for the buffer sizes. Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
3a661f1e