1
1
libssh/tests/unittests
Jon Simons 48aca98cd5 pki crypto: expose new ssh_pki_key_ecdsa_name API
Enable retrieving the "ecdsa-sha2-nistpNNN" name of ECDSA keys with a
new 'ssh_pki_key_ecdsa_name' API.  This gives more information than the
'ssh_key_type_to_char' API, which yields "ssh-ecdsa" for ECDSA keys.
The motivation is that this info is useful to have in a server context.

The torture_pki unit test is updated to include the new API, and a few
more passes are added to additionally test 384 and 521-bit keys.

Signed-off-by: Jon Simons <jon@jonsimons.org>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2014-04-09 11:01:11 +02:00
..
CMakeLists.txt tests: Add a test for ssh_channel(). 2013-10-31 12:44:48 +01:00
torture_buffer.c src: Rename buffer_add_data() to ssh_buffer_add_data(). 2014-01-19 20:55:55 +01:00
torture_callbacks.c Call ssh_init()/ssh_finalize bf/af each testcase 2011-01-02 17:25:51 +01:00
torture_channel.c tests: Fix a valgrind warning. 2013-11-27 17:55:48 +01:00
torture_init.c tests: It is enough to include libssh.h for torture_init. 2010-12-29 21:02:51 +01:00
torture_isipaddr.c Added a IP address test 2011-03-22 10:45:07 +01:00
torture_keyfiles.c build: Fix the build of keyfiles torture test. 2011-08-28 14:50:28 +02:00
torture_list.c Call ssh_init()/ssh_finalize bf/af each testcase 2011-01-02 17:25:51 +01:00
torture_misc.c session: Use a struct for all options. 2012-02-05 11:50:49 +01:00
torture_options.c BUG 103: Disable proxy command if set to 'none'. 2013-07-11 15:34:50 +02:00
torture_pki.c pki crypto: expose new ssh_pki_key_ecdsa_name API 2014-04-09 11:01:11 +02:00
torture_rand.c tests: Assert if ssh_get_random failed in torture_rand_thread. 2011-01-06 10:15:01 +01:00