summaryrefslogtreecommitdiff
path: root/src/regress/lib/libssl/buffer/buffertest.c
diff options
context:
space:
mode:
authortb <>2020-01-26 02:39:58 +0000
committertb <>2020-01-26 02:39:58 +0000
commit040c69f38462cc412a1cb654f5511253611ca375 (patch)
tree3ef3d89fe159d32ae812a103a6f6f811c2cae2c4 /src/regress/lib/libssl/buffer/buffertest.c
parentaced6d4969b04817dbded5a60c3375e8b90b9df3 (diff)
downloadopenbsd-040c69f38462cc412a1cb654f5511253611ca375.tar.gz
openbsd-040c69f38462cc412a1cb654f5511253611ca375.tar.bz2
openbsd-040c69f38462cc412a1cb654f5511253611ca375.zip
Adjust EVP_chacha20()'s behavior to match OpenSSL's semantics:
The new IV is 128 bit long and is actually the 64 bit counter followed by 64 the bit initialization vector. This is needed by an upcoming change in OpenSSH and is a breaking change for all current callers. There are language bindings for Node.js, Rust and Erlang, but none of our ports use them. Note that EVP_chacha20() was first introduced in LibreSSL on May 1, 2014 while the entirely incompatible version in OpenSSL was committed on Dec 9, 2015. Initial diff from djm and myself, further refinements by djm. Ports grepping by sthen ok jsing
Diffstat (limited to 'src/regress/lib/libssl/buffer/buffertest.c')
0 files changed, 0 insertions, 0 deletions