Skip to content

Refactor OpenSSL crypto functions

Adriaan de Jong openvpn-devel 1 version In review

Get series with b4
b4 am [email protected]...

Versions newest first

  1. v1 Latest19 of 28 patches 1 replyIn review

19 of 28 patches are in this archive. The cover letter announces 28.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
10/28Changed configure to accept --with-ssl-type=opensslconfigure.ac+84 -690 replies
11/28Refactored to rand_bytes for OpenSSL-independencyMakefile.am crypto.c crypto_backend.h +5 more+166 -90 replies
12/28Refactored OpenSSL-specific constantscrypto.c crypto.h crypto_openssl.h +2 more+42 -230 replies
13/28Refactored maximum cipher and hmac length constantscrypto.c crypto.h crypto_backend.h +1 more+46 -360 replies
14/28Refactored show_available_* functionscrypto.c crypto.h crypto_backend.h +1 more+127 -910 replies
15/28Refactored SSL_clear_error()crypto.c crypto_backend.h crypto_openssl.c+11 -30 replies
16/28Refactored crypto initialisation functionscrypto.c crypto.h crypto_backend.h +3 more+193 -1620 replies
17/28Refactored DES key manipulation functionscrypto.c crypto_backend.h crypto_openssl.c +2 more+144 -820 replies
18/28Refactored NTLM DES key generationcrypto_backend.h crypto_openssl.c ntlm.c+26 -80 replies
19/28Refactored message digest type functionscrypto.c crypto.h crypto_backend.h +2 more+104 -470 replies
20/28Refactored message digest functionscrypto.c crypto.h crypto_backend.h +4 more+190 -730 replies
21/28Refactored HMAC functionscrypto.c crypto_backend.h crypto_openssl.c +1 more+153 -500 replies
22/28Refactored cipher key typescrypto.c crypto.h crypto_backend.h +2 more+181 -480 replies
23/28Refactored cipher functionscrypto.c crypto.h crypto_backend.h +1 more+218 -650 replies
24/28Added PRNG doxygencrypto.h+29 -00 replies
25/28Refactored: Moved crypto.h inline functions to end of filecrypto.h+11 -100 replies
26/28Removed stale OpenSSL defines from crypto.hcrypto.h crypto_openssl.c ssl.c+5 -1190 replies
27/28Whitespace fixes in ntlm.cntlm.c+204 -1840 replies
28/28Added a check for Openssl or PolarSSL definesoptions.h+3 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Openvpn-devel] [PATCH 0/28] Refactor OpenSSL crypto functions

Hi everyone,

This is the second series of patches for the master branch.

This patch separates the OpenSSL crypto functions (those in crypto.c) into a separate OpenSSL backend. The API for this backend is defined in crypto_backend.h.

Note that I also migrated all functions within OpenVPN that use crypto primitives, for compatibility with other SSL backends. The exception here is the functions in ssl.c, since they will be migrated in the next series of patches.

Enjoy!

Regards,
Adriaan de Jong