openssl/crypto
Brian Smith cd359b2564 Clarify use of |$end0| in stitched x86-64 AES-GCM code.
There was some uncertainty about what the code is doing with |$end0|
and whether it was necessary for |$len| to be a multiple of 16 or 96.
Hopefully these added comments make it clear that the code is correct
except for the caveat regarding low memory addresses.

Change-Id: Iea546a59dc7aeb400f50ac5d2d7b9cb88ace9027
Reviewed-on: https://boringssl-review.googlesource.com/7194
Reviewed-by: Adam Langley <agl@google.com>

Signed-off-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-06-27 10:15:05 +02:00
..
aes aes/asm/bsaes-armv7.pl: omit redundant stores in XTS subroutines. 2016-06-20 12:30:15 +02:00
asn1 Avoid signed overflow 2016-06-24 18:17:10 +02:00
async Fixes to get -ansi working 2016-06-08 20:18:04 +01:00
bf Remove/rename some old files. 2016-06-01 11:29:57 -04:00
bio Move OS-specific fopen quirks to o_fopen.c. 2016-06-22 21:51:53 +02:00
blake2 Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
bn Handle BN_mod_word failures. 2016-06-25 11:01:34 +02:00
buffer Remove unused error/function codes. 2016-05-23 15:04:23 -04:00
camellia Missed some copyright merge 2016-06-13 16:05:25 -04:00
cast Remove/rename some old files. 2016-06-01 11:29:57 -04:00
chacha s390x assembly pack: improve portability. 2016-06-06 11:08:04 +02:00
cmac Copyright consolidation 06/10 2016-05-17 14:51:04 -04:00
cms Useless header include of openssl/rand.h 2016-06-18 16:30:24 -04:00
comp Remove unused error/function codes. 2016-05-23 15:04:23 -04:00
conf Constify some conf_mod.c internal methods 2016-06-15 13:22:38 -04:00
ct Specify array sizes 2016-06-11 16:43:49 +02:00
des Fix some GitHub issues. 2016-06-07 11:08:33 -04:00
dh Handle BN_mod_word failures. 2016-06-25 11:01:34 +02:00
dsa Deal with API changes. 2016-06-24 14:40:33 +01:00
dso Remove/rename some old files. 2016-06-01 11:29:57 -04:00
ec RT2680: Public EC key is shown as private 2016-06-26 17:28:16 -04:00
engine Deal with API changes. 2016-06-24 14:40:33 +01:00
err Clean up "generic" intro pod files. 2016-06-09 16:39:19 -04:00
evp evp/evp_enc.c: refine partial buffer overlap detection. 2016-06-27 10:09:07 +02:00
hmac Teach EVP_PKEY_HMAC keys how to EVP_PKEY_cmp() 2016-06-24 12:31:31 -04:00
idea Remove/rename some old files. 2016-06-01 11:29:57 -04:00
include/internal Rework error handling from asn1_do_lock method. 2016-06-23 14:00:47 +01:00
kdf Remove unused error/function codes. 2016-05-23 15:04:23 -04:00
lhash Complete the rename of LHASH functions and types 2016-05-23 00:46:53 +02:00
md2 Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
md4 Remove/rename some old files. 2016-06-01 11:29:57 -04:00
md5 Remove/rename some old files. 2016-06-01 11:29:57 -04:00
mdc2 Copyright consolidation 07/10 2016-05-17 14:51:26 -04:00
modes Clarify use of |$end0| in stitched x86-64 AES-GCM code. 2016-06-27 10:15:05 +02:00
objects Spelling... and more spelling 2016-06-22 00:26:10 +02:00
ocsp Useless header include of openssl/rand.h 2016-06-18 16:30:24 -04:00
pem Useless header include of openssl/rand.h 2016-06-18 16:30:24 -04:00
perlasm perlasm/x86_64-xlate.pl: address errors and warnings in elderly perls. 2016-06-24 22:10:19 +02:00
pkcs7 Useless header include of openssl/rand.h 2016-06-18 16:30:24 -04:00
pkcs12 Constify PKCS12_create, PKCS12_add_key, PKCS12_add_safe. 2016-06-15 13:22:38 -04:00
poly1305 x86_64 assembly pack: tolerate spaces in source directory name. 2016-05-29 14:12:51 +02:00
rand rand/randfile.c: make it non-ASCII-savvy. 2016-06-22 21:52:08 +02:00
rc2 Remove/rename some old files. 2016-06-01 11:29:57 -04:00
rc4 x86_64 assembly pack: tolerate spaces in source directory name. 2016-05-29 14:12:51 +02:00
rc5 Remove/rename some old files. 2016-06-01 11:29:57 -04:00
ripemd Copyright consolidation 08/10 2016-05-17 14:51:34 -04:00
rsa Useless header include of openssl/rand.h 2016-06-18 16:30:24 -04:00
seed Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
sha Remove/rename some old files. 2016-06-01 11:29:57 -04:00
srp constify SRP 2016-06-18 15:34:03 +01:00
stack Constify stack and lhash macros. 2016-05-21 22:49:00 +01:00
ts Improve const correctness for stacks of EVP_MD 2016-06-18 15:34:03 +01:00
txt_db Rename lh_xxx,sk_xxx tp OPENSSL_{LH,SK}_xxx 2016-05-20 10:48:29 -04:00
ui Constify UI 2016-06-15 13:22:38 -04:00
whrlpool x86_64 assembly pack: tolerate spaces in source directory name. 2016-05-29 14:12:51 +02:00
x509 make update 2016-06-20 21:34:37 +02:00
x509v3 Remove pointless free loop in X509_PURPOSE_cleanup() 2016-06-20 09:58:58 -04:00
alphacpuid.pl Add assembly CRYPTO_memcmp. 2016-05-19 22:33:00 +02:00
arm64cpuid.pl Add assembly CRYPTO_memcmp. 2016-05-19 22:33:00 +02:00
arm_arch.h Copyright consolidation 07/10 2016-05-17 14:51:26 -04:00
armcap.c Copyright consolidation 07/10 2016-05-17 14:51:26 -04:00
armv4cpuid.pl Add assembly CRYPTO_memcmp. 2016-05-19 22:33:00 +02:00
build.info Move OS-specific fopen quirks to o_fopen.c. 2016-06-22 21:51:53 +02:00
c64xpluscpuid.pl Add assembly CRYPTO_memcmp. 2016-05-19 22:33:00 +02:00
cpt_err.c Remove unused error/function codes. 2016-05-23 15:04:23 -04:00
cryptlib.c crypto/cryptlib.c: omit OPENSSL_ia32cap_loc(). 2016-06-22 20:20:37 +02:00
cversion.c Copyright consolidation 08/10 2016-05-17 14:51:34 -04:00
dllmain.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
ebcdic.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
ex_data.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
ia64cpuid.S Add final(?) set of copyrights. 2016-06-01 11:27:25 -04:00
init.c RT4562: Fix misleading doc on OPENSSL_config 2016-06-14 12:30:37 -04:00
LPdir_nyi.c Copyright consolidation 06/10 2016-05-17 14:51:04 -04:00
LPdir_unix.c Copyright consolidation 08/10 2016-05-17 14:51:34 -04:00
LPdir_vms.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
LPdir_win.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
LPdir_win32.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
LPdir_wince.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
mem.c Copyright consolidation 06/10 2016-05-17 14:51:04 -04:00
mem_clr.c Copyright consolidation 06/10 2016-05-17 14:51:04 -04:00
mem_dbg.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
mem_sec.c Copyright consolidation 06/10 2016-05-17 14:51:04 -04:00
o_dir.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
o_fips.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
o_fopen.c Move OS-specific fopen quirks to o_fopen.c. 2016-06-22 21:51:53 +02:00
o_init.c Copyright consolidation 08/10 2016-05-17 14:51:34 -04:00
o_str.c buf2hexstr: properly deal with empty string 2016-06-21 20:55:54 +02:00
o_time.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
pariscid.pl Add assembly CRYPTO_memcmp. 2016-05-19 22:33:00 +02:00
ppc_arch.h GH919: Fix wrappers for two headers 2016-05-24 11:04:38 -04:00
ppccap.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
ppccpuid.pl Add assembly CRYPTO_memcmp. 2016-05-19 22:33:00 +02:00
s390xcap.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
s390xcpuid.S s390x assembly pack: improve portability. 2016-06-06 11:08:04 +02:00
sparc_arch.h Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
sparccpuid.S Add final(?) set of copyrights. 2016-06-01 11:27:25 -04:00
sparcv9cap.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
threads_none.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
threads_pthread.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
threads_win.c Fix Windows 64 bit crashes 2016-05-20 23:08:18 +01:00
uid.c Copyright consolidation 07/10 2016-05-17 14:51:26 -04:00
vms_rms.h Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
x86_64cpuid.pl x86_64 assembly pack: tolerate spaces in source directory name. 2016-05-29 14:12:51 +02:00
x86cpuid.pl Add assembly CRYPTO_memcmp. 2016-05-19 22:33:00 +02:00