summaryrefslogtreecommitdiffstats
path: root/.travis-create-release.sh
diff options
context:
space:
mode:
authorDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>2017-08-20 23:02:46 +0200
committerRich Salz <rsalz@openssl.org>2017-08-28 14:52:02 +0200
commitaa048aef0b9146f90c06333dedfc105d1f9e2c22 (patch)
tree0b29eacc4bcc5d8ec088bab35ae7fa36551923a8 /.travis-create-release.sh
parentMSC_VER <= 1200 isn't supported; remove dead code (diff)
downloadopenssl-aa048aef0b9146f90c06333dedfc105d1f9e2c22.tar.xz
openssl-aa048aef0b9146f90c06333dedfc105d1f9e2c22.zip
DRBG: clarify difference between entropy counts and buffer lengths
Unlike the NIST DRBG standard, entropy counts are in bits and buffer lengths are in bytes. This has lead to some confusion and errors in the past, see my comment on PR 3789. To clarify the destinction between entropy counts and buffer lengths, a 'len' suffix has been added to all member names of RAND_DRBG which represent buffer lengths: - {min,max}_{entropy,adin,nonce,pers} + {min,max}_{entropy,adin,nonce,pers}len This change makes naming also more consistent, as can be seen in the diffs, for example: - else if (adinlen > drbg->max_adin) { + else if (adinlen > drbg->max_adinlen) { Also replaced all 'ent's by 'entropy's, following a suggestion of Paul Dale. Reviewed-by: Paul Dale <paul.dale@oracle.com> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4266)
Diffstat (limited to '.travis-create-release.sh')
0 files changed, 0 insertions, 0 deletions