summaryrefslogtreecommitdiffstats
path: root/include/libssh/callbacks.h
diff options
context:
space:
mode:
authorJon Simons <jon@jonsimons.org>2014-04-04 15:37:43 -0700
committerAndreas Schneider <asn@cryptomilk.org>2014-04-09 11:01:11 +0200
commit48aca98cd52f439acf2af9faa27d7d6c7a4735c5 (patch)
treeebdc6c5f6f87067c1bef210bb80cec86f8081bfb /include/libssh/callbacks.h
parent89e154f78c7ebeb1aa986b57d18c619b75919b97 (diff)
downloadlibssh-48aca98cd52f439acf2af9faa27d7d6c7a4735c5.tar.gz
libssh-48aca98cd52f439acf2af9faa27d7d6c7a4735c5.tar.xz
libssh-48aca98cd52f439acf2af9faa27d7d6c7a4735c5.zip
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>
Diffstat (limited to 'include/libssh/callbacks.h')
0 files changed, 0 insertions, 0 deletions