aboutsummaryrefslogtreecommitdiff
path: root/src/libcrypto.c
AgeCommit message (Collapse)AuthorFilesLines
2015-09-17libcrypto: refactor EVP_(de|en)cryptAris Adamantiadis1-56/+61
2015-09-07crypto: Add OpenSSL EVP functions for FIPS compatibilityMichael Wilder1-143/+409
Signed-off-by: Michael Wilder <wilder.michael@cimcor.com>
2014-12-17libcrypto: Fix Windows build with ssh_reseed().Andreas Schneider1-0/+5
gettimeofday() is not available on Windows and we need it only in case of forking. Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2014-10-02crypto: check malloc return in ssh_mac_ctx_initJon Simons1-1/+5
Signed-off-by: Jon Simons <jon@jonsimons.org> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2014-04-22Add SHA2 algorithms for HMACDirkjan Bussink1-0/+69
BUG: https://red.libssh.org/issues/91 Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2014-03-04security: fix for vulnerability CVE-2014-0017Aris Adamantiadis1-0/+9
When accepting a new connection, a forking server based on libssh forks and the child process handles the request. The RAND_bytes() function of openssl doesn't reset its state after the fork, but simply adds the current process id (getpid) to the PRNG state, which is not guaranteed to be unique. This can cause several children to end up with same PRNG state which is a security issue.
2013-10-18wrapper: Add more evp functions.Andreas Schneider1-0/+24
2012-09-07kex: Add simple DES support for SSHv1.Dmitriy Kuznetsov1-0/+36
2012-02-04crypto: Add evp hashing function.Andreas Schneider1-0/+28
2011-09-18crypto: rename crypto_struct -> ssh_cipher_structAris Adamantiadis1-17/+17
2011-09-15crypt: Fix function definition.Andreas Schneider1-1/+2
2011-06-13[crypto] Removed ugly ifdefs on gcrypt/libcryptoAris Adamantiadis1-34/+46
2011-06-13[crypto] initial support for ecdh-sha2-nistp256Aris Adamantiadis1-3/+83
Works with openssl Still requires work for libgcrypt and other modes
2010-09-06misc: Rename libssh/ to src/Andreas Schneider1-0/+443