aboutsummaryrefslogtreecommitdiff
path: root/src/pki_crypto.c
AgeCommit message (Expand)AuthorFilesLines
2021-08-18More consistent loggingJakub Jelen1-1/+1
2021-01-28pki: Fix memory leak on error pathJakub Jelen1-0/+1
2020-12-22Bump minimum version requirement for OpenSSLDirkjan Bussink1-8/+0
2020-12-11Add safety checks for all ssh_string_fill callsDirkjan Bussink1-5/+26
2020-05-20src/pki_crypto.c pki_publickey_to_blob() should not be used to export public ...Sahana Prasad1-0/+8
2020-04-06src/pki_crypto.c corrects the incorrect usage of enumSahana Prasad1-2/+2
2020-02-11pki: add support for sk-ecdsa and sk-ed25519Sebastian Kinne1-1/+23
2020-02-11pki: fix `pki_key_ecdsa_to_key_type` thread-safetyJon Simons1-1/+1
2020-01-23pki_crypto: Fix possible memory leak on errorAndreas Schneider1-3/+4
2019-12-20src: Implements PKCS11 URI supportSahana Prasad1-0/+167
2019-12-09pki_crypto: Use SSH_BUFFER_FREE()Andreas Schneider1-10/+10
2019-12-09pki_crypto: Use SSH_STRING_FREE()Andreas Schneider1-29/+29
2019-12-09SSH-01-006: Add missing NULL checks in pki_signature_from_rsa_blob()Andreas Schneider1-0/+4
2019-12-09pki_crypto: Cast return value of EVP_PKEY_size() to size_tAndreas Schneider1-1/+1
2019-10-07pki_crypto: Use temporary pointer when using i2d_*Anderson Toshiyuki Sasaki1-4/+35
2019-09-24pki_crypto: Support Ed25519 keys in PEM filesAnderson Toshiyuki Sasaki1-9/+78
2019-09-24pki: Remove unused function pki_signature_verify()Anderson Toshiyuki Sasaki1-40/+0
2019-09-24pki_crypto: Use OpenSSL for Ed25519 signaturesAnderson Toshiyuki Sasaki1-20/+170
2019-09-24pki: Move common Ed25519 functions to pki_ed25519_common.cAnderson Toshiyuki Sasaki1-2/+2
2019-09-24pki_crypto: Use EVP_DigestSign* and EVP_DigestVerify*Anderson Toshiyuki Sasaki1-25/+50
2019-07-30Replace ssh_print_hexa() with ssh_log_hexdump()Anderson Toshiyuki Sasaki1-6/+6
2019-06-21pki_crypto: Correct error checking after RSA key generationJakub Jelen1-1/+1
2019-06-12pki_crypto: Use the new OpenSSL API to read PEM filesJakub Jelen1-100/+65
2019-06-12pki_crypto: Use the new OpenSSL API to write new PKCS#8 PEM filesJakub Jelen1-73/+46
2019-05-28pki_crypto: Make sure that we set buf to NULL after free()Andreas Schneider1-2/+2
2019-05-28pki_crypto: Fix a possible null pointer dereferenceAndreas Schneider1-6/+16
2019-05-13pki: Fail to sign when using wrong hash algorithmAnderson Toshiyuki Sasaki1-2/+24
2019-05-13pki: Remove unused codeAnderson Toshiyuki Sasaki1-171/+2
2019-05-13pki: Use pki_sign_data() and pki_verify_data_signature()Anderson Toshiyuki Sasaki1-139/+12
2019-05-13pki_crypto: Added pki_sign_data() and pki_verify_data_signature()Anderson Toshiyuki Sasaki1-0/+306
2019-05-13pki_crypto: Store ECDSA raw signature in ssh_signatureAnderson Toshiyuki Sasaki1-31/+129
2019-05-13pki_crypto: Store DSA raw signature in ssh_signatureAnderson Toshiyuki Sasaki1-18/+116
2019-05-13pki_crypto: Store raw RSA signature in ssh_signatureAnderson Toshiyuki Sasaki1-7/+16
2019-05-13auth, pki: Calculate hash internally when signing/verifyingAnderson Toshiyuki Sasaki1-31/+53
2019-05-13pki_crypto: Change SSH_KEYTYPE_ED25519 position in switchesAnderson Toshiyuki Sasaki1-22/+22
2019-05-13pki_crypto: Refactor pki_signature_to_blob()Anderson Toshiyuki Sasaki1-46/+54
2019-05-13pki_crypto: Fixed typos transfered -> transferredAnderson Toshiyuki Sasaki1-14/+14
2019-05-13pki_cryto: Refactor pki_signature_from_blob()Anderson Toshiyuki Sasaki1-158/+179
2019-05-13pki_crypto: Make pki_signature_from_rsa_blob() to return intAnderson Toshiyuki Sasaki1-8/+8
2019-05-13pki: Remove duplicate and unused codeAnderson Toshiyuki Sasaki1-61/+0
2019-05-13pki: Refactor ssh_pki_do_sign()Anderson Toshiyuki Sasaki1-6/+0
2019-04-17pki: allow certificates to be used in signature verificationBen Toews1-2/+8
2019-04-17pki: support ECDSA/ED25519 certificatesBen Toews1-0/+8
2019-04-17libssh: deprecate SSH_KEYTYPE_ECDSABen Toews1-47/+69
2019-01-30pki_crypto: plug pki_signature_from_blob leaksJon Simons1-0/+8
2019-01-30pki: NULL check pki_signature_from_rsa_blob resultJon Simons1-0/+3
2018-11-30include: Add macro for unused arguments and variablesAndreas Schneider1-2/+1
2018-11-30pki: Sanitize input to verificationJakub Jelen1-1/+9
2018-11-30pki: Verify the provided public key has expected typeJakub Jelen1-0/+8
2018-11-30pki: Set correct type for imported signaturesJakub Jelen1-1/+2