From 52eed0f35fe4c270dc3a685b9199a48ad9f134ad Mon Sep 17 00:00:00 2001 From: Daniel Huigens Date: Mon, 28 Oct 2024 09:52:47 +0100 Subject: [PATCH] Throw in AES-CBC decrypt operation for odd ciphertext lengths If the ciphertext is not a positive multiple of 16 bytes, return an OperationError. --- spec/Overview.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/spec/Overview.html b/spec/Overview.html index 9197d52..d8f02ff 100644 --- a/spec/Overview.html +++ b/spec/Overview.html @@ -12710,6 +12710,12 @@
Decrypt
{{OperationError}}.

+
  • +

    + If the length of |ciphertext| is zero or is not a multiple + of 16 bytes, then [= exception/throw =] an {{OperationError}}. +

    +
  • Let |paddedPlaintext| be the result of performing the CBC Decryption