Sample Header Ad - 728x90

How to successfully patch openSSL?

0 votes
0 answers
32 views
I have a computer with unix and an old binary version of OpenSSL installed (version 1.0.2h). I came across the link below: https://github.com/cloudflare/sslconfig/tree/master and it suggests I could patch my openSSL so I could have the ChaCha20/Poly1305 cipher enabled. I don't know exactly how to do this. I tried executing: patch |Date: Fri, 12 Feb 2016 18:25:11 -0800 |Subject: [PATCH] Implementation of draft and RFC versions of CHACHA20-POLY1305 | ciphers | |--- | Configure | 48 +- | Makefile.org | 4 +- | apps/speed.c | 30 +- | crypto/chacha20poly1305/Makefile | 97 +++ | crypto/chacha20poly1305/asm/chacha20_avx.pl | 408 +++++++++++ | crypto/chacha20poly1305/asm/chacha20_avx2.pl | 443 ++++++++++++ | crypto/chacha20poly1305/asm/poly1305_avx.pl | 732 ++++++++++++++++++++ | crypto/chacha20poly1305/asm/poly1305_avx2.pl | 984 +++++++++++++++++++++++++++ | crypto/chacha20poly1305/asm/poly1305_x64.pl | 281 ++++++++ | crypto/chacha20poly1305/chacha20.c | 162 +++++ | crypto/chacha20poly1305/chacha20poly1305.h | 79 +++ | crypto/chacha20poly1305/chapolytest.c | 470 +++++++++++++ | crypto/chacha20poly1305/poly1305.c | 287 ++++++++ | crypto/cryptlib.c | 10 - | crypto/evp/Makefile | 7 +- | crypto/evp/e_chacha20poly1305.c | 435 ++++++++++++ | crypto/evp/evp.h | 4 + | ssl/s3_lib.c | 119 ++++ | ssl/ssl.h | 2 + | ssl/ssl_ciph.c | 60 +- | ssl/ssl_locl.h | 2 + | ssl/tls1.h | 28 + | test/Makefile | 17 +- | 23 files changed, 4655 insertions(+), 54 deletions(-) | create mode 100644 crypto/chacha20poly1305/Makefile | create mode 100644 crypto/chacha20poly1305/asm/chacha20_avx.pl | create mode 100644 crypto/chacha20poly1305/asm/chacha20_avx2.pl | create mode 100644 crypto/chacha20poly1305/asm/poly1305_avx.pl | create mode 100644 crypto/chacha20poly1305/asm/poly1305_avx2.pl | create mode 100644 crypto/chacha20poly1305/asm/poly1305_x64.pl | create mode 100644 crypto/chacha20poly1305/chacha20.c | create mode 100644 crypto/chacha20poly1305/chacha20poly1305.h | create mode 100644 crypto/chacha20poly1305/chapolytest.c | create mode 100644 crypto/chacha20poly1305/poly1305.c | create mode 100644 crypto/evp/e_chacha20poly1305.c | |diff --git a/Configure b/Configure |index 4a715dc..f3ab6cd 100755 |--- a/Configure |+++ b/Configure -------------------------- Then it asks me the file to patch. What should I type in?
Asked by mike_s (11 rep)
Dec 10, 2024, 11:06 PM