From b1f4c5f3b07387ed57a5794570969c55a3cd34ea Mon Sep 17 00:00:00 2001 From: Hans Nilsson Date: Thu, 21 Mar 2019 10:56:40 +0100 Subject: crypto: Restore 'error' as result of failed aead decryption --- lib/crypto/doc/src/crypto.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/crypto/doc') diff --git a/lib/crypto/doc/src/crypto.xml b/lib/crypto/doc/src/crypto.xml index ee95cc3074..2c5f1b846f 100644 --- a/lib/crypto/doc/src/crypto.xml +++ b/lib/crypto/doc/src/crypto.xml @@ -667,7 +667,8 @@ Key = key() | des3_key() PlainText = iodata() AAD = IVec = CipherText = CipherTag = binary() - Error = run_time_error() + Error = BadTag | run_time_error() + BadTag = error

Decrypt CipherText according to Type block cipher. -- cgit v1.2.3