Lines Matching refs:skdebug

54 static void skdebug(const char *func, const char *fmt, ...)
58 skdebug(const char *func, const char *fmt, ...) in skdebug() function
98 skdebug(__func__, "EC_KEY_new_by_curve_name"); in pack_key_ecdsa()
102 skdebug(__func__, "EC_KEY_generate_key"); in pack_key_ecdsa()
109 skdebug(__func__, "couldn't get key parameters"); in pack_key_ecdsa()
115 skdebug(__func__, "bad pubkey length %zu", in pack_key_ecdsa()
120 skdebug(__func__, "malloc pubkey failed"); in pack_key_ecdsa()
125 skdebug(__func__, "EC_POINT_point2oct failed"); in pack_key_ecdsa()
130 skdebug(__func__, "PEM_write_bio_ECPrivateKey failed"); in pack_key_ecdsa()
134 skdebug(__func__, "BIO_get_mem_data failed"); in pack_key_ecdsa()
138 skdebug(__func__, "malloc key_handle failed"); in pack_key_ecdsa()
186 skdebug(__func__, "malloc pubkey failed"); in pack_key_ed25519()
193 skdebug(__func__, "malloc key_handle failed"); in pack_key_ed25519()
213 skdebug(__func__, "requested unsupported option %s", in check_options()
216 skdebug(__func__, "unknown required option"); in check_options()
234 skdebug(__func__, "enroll_response == NULL"); in sk_enroll()
241 skdebug(__func__, "calloc response failed"); in sk_enroll()
254 skdebug(__func__, "unsupported key type %d", alg); in sk_enroll()
259 skdebug(__func__, "calloc signature failed"); in sk_enroll()
317 skdebug(__func__, "BIO setup failed"); in sig_ecdsa()
321 skdebug(__func__, "PEM_read_bio_PrivateKey failed"); in sig_ecdsa()
325 skdebug(__func__, "Not an EC key: %d", EVP_PKEY_base_id(pk)); in sig_ecdsa()
329 skdebug(__func__, "EVP_PKEY_get1_EC_KEY failed"); in sig_ecdsa()
334 skdebug(__func__, "bad message len %zu", message_len); in sig_ecdsa()
358 skdebug(__func__, "ECDSA_do_sign failed"); in sig_ecdsa()
366 skdebug(__func__, "calloc signature failed"); in sig_ecdsa()
408 skdebug(__func__, "bad key handle length %zu", key_handle_len); in sig_ed25519()
413 skdebug(__func__, "bad message len %zu", message_len); in sig_ed25519()
433 skdebug(__func__, "bad sign buf len %zu, expected %zu", in sig_ed25519()
442 skdebug(__func__, "crypto_sign_ed25519 failed"); in sig_ed25519()
446 skdebug(__func__, "bad sign smlen %llu, expected min %zu", in sig_ed25519()
452 skdebug(__func__, "calloc signature failed"); in sig_ed25519()
482 skdebug(__func__, "sign_response == NULL"); in sk_sign()
489 skdebug(__func__, "calloc response failed"); in sk_sign()
511 skdebug(__func__, "unsupported key type %d", alg); in sk_sign()