summaryrefslogtreecommitdiffstats
path: root/src/libcrypto.c
Commit message (Collapse)AuthorAgeFilesLines
* crypto: Add OpenSSL EVP functions for FIPS compatibilityMichael Wilder2015-09-071-143/+409
| | | | Signed-off-by: Michael Wilder <wilder.michael@cimcor.com>
* libcrypto: Fix Windows build with ssh_reseed().Andreas Schneider2014-12-171-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>
* crypto: check malloc return in ssh_mac_ctx_initJon Simons2014-10-021-1/+5
| | | | | Signed-off-by: Jon Simons <jon@jonsimons.org> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* Add SHA2 algorithms for HMACDirkjan Bussink2014-04-221-0/+69
| | | | | | BUG: https://red.libssh.org/issues/91 Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
* security: fix for vulnerability CVE-2014-0017Aris Adamantiadis2014-03-041-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.
* wrapper: Add more evp functions.Andreas Schneider2013-10-181-0/+24
|
* kex: Add simple DES support for SSHv1.Dmitriy Kuznetsov2012-09-071-0/+36
|
* crypto: Add evp hashing function.Andreas Schneider2012-02-041-0/+28
|
* crypto: rename crypto_struct -> ssh_cipher_structAris Adamantiadis2011-09-181-17/+17
|
* crypt: Fix function definition.Andreas Schneider2011-09-151-1/+2
|
* [crypto] Removed ugly ifdefs on gcrypt/libcryptoAris Adamantiadis2011-06-131-34/+46
|
* [crypto] initial support for ecdh-sha2-nistp256Aris Adamantiadis2011-06-131-3/+83
| | | | | Works with openssl Still requires work for libgcrypt and other modes
* misc: Rename libssh/ to src/Andreas Schneider2010-09-061-0/+443