diff options
author | David Benjamin <davidben@google.com> | 2016-09-12 02:28:34 +0300 |
---|---|---|
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | 2016-09-12 17:43:38 +0300 |
commit | 0e9138d295cd556e830dc8b3be735e808680f4bd (patch) | |
tree | b0375757f5b3e023c108fe9cd3efd6197a587b47 /include/openssl | |
parent | 2f401ecaac1c16fabaaee882234e128146e99c83 (diff) |
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 <commit-bot@chromium.org>
Reviewed-by: Steven Valdez <svaldez@google.com>
Reviewed-by: David Benjamin <davidben@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
Diffstat (limited to 'include/openssl')
-rw-r--r-- | include/openssl/aead.h | 6 |
1 files 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. */ |