From 0e9138d295cd556e830dc8b3be735e808680f4bd Mon Sep 17 00:00:00 2001 From: David Benjamin Date: Sun, 11 Sep 2016 19:28:34 -0400 Subject: [PATCH] We no longer allow out < in in-place operations The (rather long...) preamble to aead.h still said we allowed this. Change-Id: I4ba02ef196c6d5439408000cf3c296111b55ff36 Reviewed-on: https://boringssl-review.googlesource.com/11004 CQ-Verified: CQ bot account: commit-bot@chromium.org Reviewed-by: Steven Valdez Reviewed-by: David Benjamin Commit-Queue: David Benjamin --- include/openssl/aead.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/include/openssl/aead.h b/include/openssl/aead.h index 71071d2b..0cad405e 100644 --- a/include/openssl/aead.h +++ b/include/openssl/aead.h @@ -82,10 +82,8 @@ extern "C" { * permits implicit context to be authenticated but may be empty if not needed. * * The "seal" and "open" operations may work in-place if the |out| and |in| - * arguments are equal. They may also be used to shift the data left inside the - * same buffer if |out| is less than |in|. However, |out| may not point inside - * the input data otherwise the input may be overwritten before it has been - * read. This situation will cause an error. + * arguments are equal. Otherwise, if |out| and |in| alias, input data may be + * overwritten before it is read. This situation will cause an error. * * The "seal" and "open" operations return one on success and zero on error. */