aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/libcrypto.h
AgeCommit message (Collapse)AuthorFilesLines
2019-12-09bignum: Fix integer types for ssh_make_bignum_string()Andreas Schneider1-3/+3
Fixes T188 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2019-07-04libcrypto: fix compilation with LibreSSLStefan Strogin1-0/+4
LibreSSL does not support FIPS mode, check for FIPS_mode() in ConfigureChecks.cmake. Signed-off-by: Stefan Strogin <steils@gentoo.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2019-06-12bignum: Define bignum_dup(bignum orig, bignum *dest)Anderson Toshiyuki Sasaki1-0/+8
The macro is defined for each crypto back end. If (*dest) is NULL, a new bignum is allocated. Otherwise the value of orig is copied to (*dest). Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
2019-04-29Provide a function to query crypto backend for FIPS statusJakub Jelen1-0/+4
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2019-04-04dh: Confine DH KEX keys handling into fewer functionsSimo Sorce1-0/+1
In preparation for deferring computation on DH secret material to crypto library specific backends Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2019-01-24bignum: harmonize gcrypt, libcrypto and libmcrypt bignumAris Adamantiadis1-4/+17
Ensure most of the abstraction around the 3 libs are consistent. Signed-off-by: Aris Adamantiadis <aris@0xbadc0de.be> Reviewed-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2018-07-05bignum: Make bignum_free saferAris Adamantiadis1-1/+6
Signed-off-by: Aris Adamantiadis <aris@0xbadc0de.be> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2018-07-05crypto: Split init and finalize functionsAris Adamantiadis1-15/+0
Signed-off-by: Aris Adamantiadis <aris@0xbadc0de.be> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2018-07-05bignum: Harmonize ssh_get_random()Aris Adamantiadis1-1/+1
Signed-off-by: Aris Adamantiadis <aris@0xbadc0de.be> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2018-06-28chacha: packet encryptionAris Adamantiadis1-0/+1
Signed-off-by: Aris Adamantiadis <aris@0xbadc0de.be> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2015-09-07crypto: Add OpenSSL EVP functions for FIPS compatibilityMichael Wilder1-7/+5
Signed-off-by: Michael Wilder <wilder.michael@cimcor.com>
2014-04-22Add SHA2 algorithms for HMACDirkjan Bussink1-0/+13
BUG: https://red.libssh.org/issues/91 Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-10-21include: Fix build on platforms without ECC.Andreas Schneider1-0/+2
2013-10-18wrapper: Add more evp functions.Andreas Schneider1-0/+3
2013-01-23include: Fix the LGPL header.Andreas Schneider1-12/+11
This has been reported by rpmlint: libssh-devel.x86_64: W: incorrect-fsf-address libssh.h
2012-02-04crypto: Add evp hashing function.Andreas Schneider1-0/+8
2011-09-18crypto: rename crypto_struct -> ssh_cipher_structAris Adamantiadis1-1/+1
2011-06-13[crypto] initial support for ecdh-sha2-nistp256Aris Adamantiadis1-0/+5
Works with openssl Still requires work for libgcrypt and other modes
2010-05-14Separation work between openssl and libgcryptAris Adamantiadis1-0/+74