Simon Josefsson
ebbd7c879b
Support AES-Counter ciphers.
2009-11-16 16:04:00 +01:00
Simon Josefsson
60d73d5663
less hard coding of cipher mode in libgcrypt backend
2009-10-19 17:36:50 +02:00
Alexander Lamaison
0d6aaa1f56
Pass private-key to OpenSSL as a filename with BIO_new_file().
...
This keeps all FILE* handling on the OpenSSL side of the DLL boundary avoiding crashes on Windows while removing the need for libssh2 to read the private key file into memory. This is now done by OpenSSL which is likely to do a better job of it.
2009-09-02 14:59:40 +01:00
Simon Josefsson
f2253aeee9
Fix compiler warnings.
2008-11-20 10:29:01 +00:00
Daniel Stenberg
210459db4b
re-indented the source code with this script:
...
indent \
--braces-on-if-line \
--braces-after-struct-decl-line \
--space-after-cast \
--line-length 79 \
--comment-line-length 79 \
--cuddle-else \
--no-tabs \
--tab-size 8 \
--indent-level 4 \
--no-space-after-for \
--space-after-if \
--space-after-while \
--no-space-after-function-call-names \
*.[ch]
2007-08-06 20:48:04 +00:00
James Housley
412b25d971
Initially the libssh2 code was indented with tabs of 4 spaces. Some of
...
the recent commits converted the tabs to 4 spaces, which matched the
initial indent size. Other commits converted the tabs to 8 spaces, this
didn't match.
All the code has been converted to 4 space indents. No changes to line
lengths or actual code was performed. This is in preperation to my up
coming non-blocking work so my commits should only be code changes and
line lengths in the code I am working on.
2007-05-28 17:56:08 +00:00
Simon Josefsson
b790cabf6a
Fix warnings.
2007-01-23 13:55:11 +00:00
Simon Josefsson
d2be40421a
Fix warnings.
2007-01-23 12:44:14 +00:00
Simon Josefsson
c9d40afa14
Abstract bignum API.
2007-01-23 10:29:55 +00:00
Simon Josefsson
51b9ff0f16
Abstract RSA/DSA private key file reading and RSA/DSA signing, and
...
implement them in openssl/libgcrypt layer.
2007-01-23 08:22:54 +00:00
Simon Josefsson
d3c334c3d6
Implement new _libssh2_cipher_* API.
2007-01-18 11:20:17 +00:00
Simon Josefsson
e1bebf979b
Support DSA verifications.
2007-01-18 07:51:41 +00:00
Simon Josefsson
c090ac7ed1
Use LIBSSH2_* instead of OPENSSL_NO_* (should ultimately be possible
...
to chose by ./configure?).
2007-01-17 15:01:29 +00:00
Simon Josefsson
6873ada0b7
Use LIBSSH2_* instead of OPENSSL_NO_* (should ultimately be possible
...
to chose by ./configure?).
2007-01-17 14:41:06 +00:00
Simon Josefsson
2d8ee8b37c
Begin to abstract RSA operations.
2007-01-16 15:33:09 +00:00
Simon Josefsson
79761a6455
Use generic APIs for (HMAC-)MD5/SHA1 and RNG, and implement them via OpenSSL/libgcrypt.
2007-01-15 21:12:00 +00:00