openssl/crypto/modes
Yihong Wang a133883752 Reduce minimal out length in CRYPTO_128_unwrap_pad
In `aes_wrap_cipher()`, the minimal out buff length is `(inlen - 8)`.
Since it calls `CRYPTO_128_unwrap_pad()` underneath, it makes sense to
reduce the minimal out length in `CRYPTO_128_unwrap_pad()` to align to
its caller.

Signed-off-by: Yihong Wang <yh.wang@ibm.com>

Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6266)
2018-05-30 23:16:52 +02:00
..
asm Update copyright year 2018-05-29 13:16:04 +01:00
build.info Harmonize the make variables across all known platforms families 2018-02-14 17:13:53 +01:00
cbc128.c Don't call memcpy if len is zero. 2017-02-20 19:17:53 -05:00
ccm128.c Copyright consolidation 06/10 2016-05-17 14:51:04 -04:00
cfb128.c Copyright consolidation 06/10 2016-05-17 14:51:04 -04:00
ctr128.c modes/ctr128.c: fix false carry in counter increment procedure. 2016-11-25 17:22:21 +01:00
cts128.c Convert modes selftests (cts128 and gcm128) to internal test 2016-11-03 13:13:31 +01:00
gcm128.c modes/gcm128.c: harmonize GCM_MUL macro with GHASH. 2017-10-17 21:30:45 +02:00
modes_lcl.h Copyright update of more files that have changed this year 2018-01-19 13:34:03 +01:00
ocb128.c Update copyright year 2018-04-17 15:18:40 +02:00
ofb128.c Copyright consolidation 06/10 2016-05-17 14:51:04 -04:00
wrap128.c Reduce minimal out length in CRYPTO_128_unwrap_pad 2018-05-30 23:16:52 +02:00
xts128.c Copyright consolidation 06/10 2016-05-17 14:51:04 -04:00