Closed v998 closed 9 years ago
Interesting, can confirm. Tested with: 2f264f7f6bb973af444cd9fc6ee65c8588f610cc openssl-1.0.2.tar.gz a021794cbd249c54b67868d395a528d9d57dec27 openssl__chacha20_poly1305_cf.patch
See also #7
It would be nice to know the revision number used by CF.
Or CF could test the patches against the official openssl releases: https://www.openssl.org/source/
[conspiracy]Openssl releases contains some code that is not present in the repositories[/conspiracy]
Try the latest OpenSSL release 1.0.2a. The patch works for me.
$ patch -p1 < openssl__chacha20_poly1305_cf.patch
patching file Configure
patching file Makefile.org
patching file apps/speed.c
patching file crypto/chacha20poly1305/Makefile
patching file crypto/chacha20poly1305/asm/chacha20_avx.pl
patching file crypto/chacha20poly1305/asm/chacha20_avx2.pl
patching file crypto/chacha20poly1305/asm/poly1305_avx.pl
patching file crypto/chacha20poly1305/asm/poly1305_avx2.pl
patching file crypto/chacha20poly1305/chacha20.c
patching file crypto/chacha20poly1305/chacha20poly1305.h
patching file crypto/chacha20poly1305/chapoly_test.c
patching file crypto/chacha20poly1305/poly1305.c
patching file crypto/cryptlib.c
patching file crypto/evp/Makefile
patching file crypto/evp/e_chacha20poly1305.c
patching file crypto/evp/evp.h
patching file ssl/s3_lib.c
patching file ssl/ssl.h
patching file ssl/ssl_ciph.c
Hunk #7 succeeded at 1818 (offset 6 lines).
patching file ssl/ssl_locl.h
patching file ssl/tls1.h
patching file test/Makefile
yes, patching works nicely against 1.0.2a
Patch works for OpenSSL 1.0.2a
Has anyone success to use the patch with the OpenSSL 1.0.2 release?
on patching
on
make