]> git.meshlink.io Git - meshlink/commit
Use conditional compilation for cryptographic functions.
authorGuus Sliepen <guus@tinc-vpn.org>
Wed, 1 May 2013 15:17:22 +0000 (17:17 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Wed, 1 May 2013 15:17:22 +0000 (17:17 +0200)
commit9b9230a0a79c670b86f54fadd2807b864ff9d91f
tree6698347b2fde3225754fbf9a8272ac918eaee512
parente70b5b5bd77bb66e8dd324c17d86d9bff151aa82
Use conditional compilation for cryptographic functions.

This gets rid of the rest of the symbolic links. However, as a consequence, the
crypto header files have now moved to src/, and can no longer contain
library-specific declarations. Therefore, cipher_t, digest_t, ecdh_t, ecdsa_t
and rsa_t are now all opaque types, and only pointers to those types can be
used.
38 files changed:
Makefile.am
configure.ac
src/Makefile.am
src/connection.c
src/connection.h
src/gcrypt/ecdh.c [new file with mode: 0644]
src/gcrypt/ecdsa.c [new file with mode: 0644]
src/gcrypt/ecdsagen.c [new file with mode: 0644]
src/gcrypt/prf.c [new file with mode: 0644]
src/meta.c
src/net_packet.c
src/net_setup.c
src/node.c
src/node.h
src/openssl/cipher.c
src/openssl/cipher.h [deleted file]
src/openssl/crypto.c
src/openssl/crypto.h [deleted file]
src/openssl/digest.c
src/openssl/digest.h
src/openssl/ecdh.c
src/openssl/ecdh.h [deleted file]
src/openssl/ecdsa.c
src/openssl/ecdsa.h [deleted file]
src/openssl/ecdsagen.c
src/openssl/ecdsagen.h [deleted file]
src/openssl/prf.c
src/openssl/prf.h [deleted file]
src/openssl/rsa.c
src/openssl/rsa.h [deleted file]
src/openssl/rsagen.c
src/openssl/rsagen.h [deleted file]
src/protocol_auth.c
src/protocol_key.c
src/sptps.c
src/sptps.h
src/sptps_test.c
src/tincctl.c