Lines Matching defs:skdebug
95 static void skdebug(const char *func, const char *fmt, ...)
99 skdebug(const char *func, const char *fmt, ...)
137 skdebug(__func__, "path == NULL");
141 skdebug(__func__, "calloc sk failed");
145 skdebug(__func__, "strdup path failed");
150 skdebug(__func__, "fido_dev_new failed");
156 skdebug(__func__, "fido_dev_open %s failed: %s", sk->path,
187 skdebug(__func__, "calloc skv failed");
192 skdebug(__func__, "fido_dev_info_ptr failed");
194 skdebug(__func__, "sk_open failed");
226 skdebug(__func__, "fido_dev_get_touch_begin %s failed:"
248 skdebug(__func__, "polling %s", skv[i]->path);
251 skdebug(__func__, "fido_dev_get_touch_status %s: %s",
256 skdebug(__func__, "no device left to poll");
279 skdebug(__func__, "fido_assert_new failed");
285 skdebug(__func__, "fido_assert_set_clientdata: %s",
290 skdebug(__func__, "fido_assert_set_rp: %s", fido_strerr(r));
295 skdebug(__func__, "fido_assert_allow_cred: %s", fido_strerr(r));
299 skdebug(__func__, "fido_assert_up: %s", fido_strerr(r));
303 skdebug(__func__, "fido_dev_get_assert: %s", fido_strerr(r));
326 skdebug(__func__, "device is not fido2");
330 skdebug(__func__, "fido_cbor_info_new failed");
334 skdebug(__func__, "fido_dev_get_cbor_info: %s", fido_strerr(r));
349 skdebug(__func__, "option %s is unknown", opt);
351 skdebug(__func__, "option %s is %s", opt, *ret ? "on" : "off");
365 skdebug(__func__, "sk_openv failed");
380 skdebug(__func__, "found key in %s", sk->path);
398 skdebug(__func__, "sk_openv failed");
411 skdebug(__func__, "sk_touch_begin failed");
417 skdebug(__func__, "sk_touch_poll failed");
430 skdebug(__func__, "timeout");
446 skdebug(__func__, "fido_dev_info_new failed");
451 skdebug(__func__, "fido_dev_info_manifest failed: %s",
456 skdebug(__func__, "%zu device(s) detected", ndevs);
460 skdebug(__func__, "selecting sk by cred");
464 skdebug(__func__, "selecting sk by touch");
493 skdebug(__func__, "libcrypto setup failed");
497 skdebug(__func__, "fido_cred_pubkey_ptr failed");
501 skdebug(__func__, "bad fido_cred_pubkey_len %zu",
508 skdebug(__func__, "BN_bin2bn failed");
512 skdebug(__func__, "EC_POINT_set_affine_coordinates_GFp failed");
518 skdebug(__func__, "bad pubkey length %zu",
523 skdebug(__func__, "malloc pubkey failed");
528 skdebug(__func__, "EC_POINT_point2oct failed");
559 skdebug(__func__, "bad fido_cred_pubkey_len len %zu", len);
563 skdebug(__func__, "fido_cred_pubkey_ptr failed");
568 skdebug(__func__, "malloc pubkey failed");
622 skdebug(__func__, "strdup device failed");
625 skdebug(__func__, "requested device %s", *devicep);
629 skdebug(__func__, "user too long");
632 skdebug(__func__, "requested user %s",
635 skdebug(__func__, "requested unsupported option %s",
638 skdebug(__func__, "unknown required option");
658 skdebug(__func__, "fido_assert_new failed");
664 skdebug(__func__, "fido_assert_set_clientdata: %s",
669 skdebug(__func__, "fido_assert_set_rp: %s", fido_strerr(r));
673 skdebug(__func__, "fido_assert_set_up: %s", fido_strerr(r));
681 skdebug(__func__, "fido_assert_set_uv: %s", fido_strerr(r));
685 skdebug(__func__, "fido_dev_get_assert: %s", fido_strerr(r));
689 skdebug(__func__, "%zu signatures returned", fido_assert_count(assert));
694 skdebug(__func__, "credential exists");
725 skdebug(__func__, "enroll_response == NULL");
744 skdebug(__func__, "unsupported key type %d", alg);
753 skdebug(__func__, "failed to find sk");
756 skdebug(__func__, "using device %s", sk->path);
763 skdebug(__func__, "key_lookup failed");
766 skdebug(__func__, "key exists");
771 skdebug(__func__, "fido_cred_new failed");
775 skdebug(__func__, "fido_cred_set_type: %s", fido_strerr(r));
780 skdebug(__func__, "fido_cred_set_clientdata: %s",
786 skdebug(__func__, "fido_cred_set_rk: %s", fido_strerr(r));
791 skdebug(__func__, "fido_cred_set_user: %s", fido_strerr(r));
795 skdebug(__func__, "fido_cred_set_rp: %s", fido_strerr(r));
800 skdebug(__func__, "%s does not support credprot, "
812 skdebug(__func__, "fido_cred_set_prot: %s",
819 skdebug(__func__, "fido_dev_make_cred: %s", fido_strerr(r));
825 skdebug(__func__, "fido_cred_verify: %s",
830 skdebug(__func__, "self-attested credential");
832 skdebug(__func__, "fido_cred_verify_self: %s",
837 skdebug(__func__, "no attestation data");
840 skdebug(__func__, "calloc response failed");
845 skdebug(__func__, "pack_public_key failed");
851 skdebug(__func__, "calloc key handle failed");
860 skdebug(__func__, "calloc signature failed");
868 skdebug(__func__, "attestation cert len=%zu", len);
870 skdebug(__func__, "calloc attestation cert failed");
878 skdebug(__func__, "authdata len=%zu", len);
880 skdebug(__func__, "calloc authdata failed");
917 skdebug(__func__, "d2i_ECDSA_SIG failed");
925 skdebug(__func__, "calloc signature failed");
953 skdebug(__func__, "bad length %zu", len);
958 skdebug(__func__, "calloc signature failed");
998 skdebug(__func__, "strdup device failed");
1001 skdebug(__func__, "requested device %s", *devicep);
1003 skdebug(__func__, "requested unsupported option %s",
1006 skdebug(__func__, "unknown required option");
1031 skdebug(__func__, "sign_response == NULL");
1045 skdebug(__func__, "failed to find sk");
1049 skdebug(__func__, "fido_assert_new failed");
1054 skdebug(__func__, "fido_assert_set_clientdata: %s",
1059 skdebug(__func__, "fido_assert_set_rp: %s", fido_strerr(r));
1064 skdebug(__func__, "fido_assert_allow_cred: %s", fido_strerr(r));
1070 skdebug(__func__, "fido_assert_set_up: %s", fido_strerr(r));
1076 skdebug(__func__, "check_sk_options uv");
1082 skdebug(__func__, "fido_assert_set_uv: %s",
1089 skdebug(__func__, "fido_dev_get_assert: %s", fido_strerr(r));
1094 skdebug(__func__, "calloc response failed");
1100 skdebug(__func__, "pack_sig failed");
1133 skdebug(__func__, "no PIN specified");
1138 skdebug(__func__, "alloc failed");
1142 skdebug(__func__, "check_sk_options failed");
1148 skdebug(__func__, "device %s does not support "
1153 skdebug(__func__, "get metadata for %s failed: %s",
1158 skdebug(__func__, "existing %llu, remaining %llu",
1162 skdebug(__func__, "alloc rp failed");
1166 skdebug(__func__, "get RPs for %s failed: %s",
1171 skdebug(__func__, "Device %s has resident keys for %zu RPs",
1178 skdebug(__func__, "rp %zu: name=\"%s\" id=\"%s\" hashlen=%zu",
1190 skdebug(__func__, "alloc rk failed");
1195 skdebug(__func__, "get RKs for %s slot %zu failed: %s",
1200 skdebug(__func__, "RP \"%s\" has %zu resident keys",
1206 skdebug(__func__, "no RK in slot %zu", j);
1213 skdebug(__func__, "Device %s RP \"%s\" user \"%s\" "
1226 skdebug(__func__, "alloc sk_resident_key");
1245 skdebug(__func__, "unsupported key type %d",
1256 skdebug(__func__, "pack public key failed");
1262 skdebug(__func__, "alloc rksp");
1309 skdebug(__func__, "failed to find sk");
1312 skdebug(__func__, "trying %s", sk->path);
1314 skdebug(__func__, "read_rks failed for %s", sk->path);