From ce9c611feb4db781fcab5b7bbc68b936816d6a73 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Fri, 22 Nov 2013 14:10:59 -0600 Subject: enforce AEAD add_data before update --- docs/exceptions.rst | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/exceptions.rst b/docs/exceptions.rst index 7ec3cd27..087066b8 100644 --- a/docs/exceptions.rst +++ b/docs/exceptions.rst @@ -7,12 +7,19 @@ Exceptions This is raised when a context is used after being finalized. -.. class:: NotFinalized + +.. class:: NotYetFinalized This is raised when the AEAD tag property is accessed on a context before it is finalized. +.. class:: AlreadyUpdated + + This is raised when additional data is added to a context after update + has already been called. + + .. class:: UnsupportedAlgorithm This is raised when a backend doesn't support the requested algorithm (or -- cgit v1.2.3