| /freebsd-14.2/contrib/libfido2/src/ |
| H A D | winhello.c | 167 fido_log_debug("%s: NULL", __func__); in to_utf16() 176 fido_log_debug("%s: calloc", __func__); in to_utf16() 214 fido_log_debug("%s: NULL", __func__); in pack_cd() 242 fido_log_debug("%s: calloc", __func__); in pack_credlist() 312 fido_log_debug("%s: id", __func__); in pack_rp() 316 fido_log_debug("%s: name", __func__); in pack_rp() 327 fido_log_debug("%s: id", __func__); in pack_user() 336 fido_log_debug("%s: name", __func__); in pack_user() 342 fido_log_debug("%s: icon", __func__); in pack_user() 406 fido_log_debug("%s: calloc", __func__); in pack_cred_ext() [all …]
|
| H A D | u2f.c | 39 fido_log_debug("%s: ms=%u", __func__, ms); in delay_ms() 83 fido_log_debug("%s: d2i_X509", __func__); in x5c_get() 117 fido_log_debug("%s: sha256", __func__); in authdata_fake() 161 fido_log_debug("%s: iso7816", __func__); in send_dummy_register() 167 fido_log_debug("%s: malloc", __func__); in send_dummy_register() 222 fido_log_debug("%s: sha256", __func__); in key_lookup() 241 fido_log_debug("%s: malloc", __func__); in key_lookup() 337 fido_log_debug("%s: sha256", __func__); in do_auth() 459 fido_log_debug("%s: alg", __func__); in encode_cred_attstmt() 466 fido_log_debug("%s: sig", __func__); in encode_cred_attstmt() [all …]
|
| H A D | largeblob.c | 174 fido_log_debug("%s: fido_tx", __func__); in largeblob_get_tx() 194 fido_log_debug("%s: cbor type", __func__); in parse_largeblob_reply() 213 fido_log_debug("%s: fido_rx", __func__); in largeblob_get_rx() 245 fido_log_debug("%s: len", __func__); in largeblob_array_load() 250 fido_log_debug("%s: cbor_load", __func__); in largeblob_array_load() 254 fido_log_debug("%s: cbor type", __func__); in largeblob_array_load() 497 fido_log_debug("%s: SHA256", __func__); in prepare_hmac() 534 fido_log_debug("%s: fido_tx", __func__); in largeblob_set_tx() 611 fido_log_debug("%s: SHA256", __func__); in largeblob_set_array() 629 fido_log_debug("%s: body", __func__); in largeblob_set_array() [all …]
|
| H A D | cbor.c | 57 fido_log_debug("%s: invalid cbor", __func__); in ctap_check_cbor() 179 fido_log_debug("%s: dup", __func__); in cbor_bytestring_copy() 206 fido_log_debug("%s: dup", __func__); in cbor_string_copy() 766 fido_log_debug("%s: HMAC", __func__); in cbor_encode_change_pin_auth() 947 fido_log_debug("%s: kty", __func__); in find_cose_alg() 957 fido_log_debug("%s: alg", __func__); in find_cose_alg() 1413 fido_log_debug("%s: alg", __func__); in decode_attstmt_entry() 1426 fido_log_debug("%s: sig", __func__); in decode_attstmt_entry() 1433 fido_log_debug("%s: x5c", __func__); in decode_attstmt_entry() 1559 fido_log_debug("%s: id", __func__); in decode_user_entry() [all …]
|
| H A D | hid_win.c | 58 fido_log_debug("%s: HidP_GetCaps", __func__); in is_fido() 145 fido_log_debug("%s: malloc", __func__); in get_manufacturer() 186 fido_log_debug("%s: malloc", __func__); in get_product() 229 fido_log_debug("%s: malloc", __func__); in get_path() 243 fido_log_debug("%s: strdup", __func__); in get_path() 279 fido_log_debug("%s: malloc", __func__); in hid_ok() 308 fido_log_debug("%s: get_path", __func__); in copy_info() 316 fido_log_debug("%s: hid_ok", __func__); in copy_info() 329 fido_log_debug("%s: is_fido", __func__); in copy_info() 334 fido_log_debug("%s: get_id", __func__); in copy_info() [all …]
|
| H A D | nfc.c | 40 fido_log_debug("%s: write", __func__); in tx_short_apdu() 46 fido_log_debug("%s: read", __func__); in tx_short_apdu() 68 fido_log_debug("%s: header", __func__); in nfc_do_tx() 80 fido_log_debug("%s: chain", __func__); in nfc_do_tx() 107 fido_log_debug("%s: iso7816", __func__); in fido_nfc_tx() 162 fido_log_debug("%s: read", __func__); in rx_init() 196 fido_log_debug("%s: write", __func__); in tx_get_response() 214 fido_log_debug("%s: read", __func__); in rx_apdu() 249 fido_log_debug("%s: chain", __func__); in rx_msg() 254 fido_log_debug("%s: sw", __func__); in rx_msg() [all …]
|
| H A D | hid_osx.c | 51 fido_log_debug("%s: CFNumberGetType", __func__); in get_int32() 56 fido_log_debug("%s: CFNumberGetValue", __func__); in get_int32() 153 fido_log_debug("%s: strdup", __func__); in get_str() 212 fido_log_debug("%s: transport", __func__); in is_fido() 273 fido_log_debug("%s: CFSetGetCount", __func__); in fido_hid_manifest() 280 fido_log_debug("%s: calloc", __func__); in fido_hid_manifest() 322 fido_log_debug("%s: io error", __func__); in report_callback() 405 fido_log_debug("%s: calloc", __func__); in fido_hid_open() 419 fido_log_debug("%s: set_nonblock", __func__); in fido_hid_open() 459 fido_log_debug("%s: snprintf", __func__); in fido_hid_open() [all …]
|
| H A D | credman.c | 30 fido_log_debug("%s: n > UINT8_MAX", __func__); in credman_grow_array() 72 fido_log_debug("%s: cbor encode", __func__); in credman_prepare_hmac() 162 fido_log_debug("%s: fido_tx", __func__); in credman_tx() 186 fido_log_debug("%s: cbor type", __func__); in credman_parse_metadata() 196 fido_log_debug("%s: cbor type", __func__); in credman_parse_metadata() 216 fido_log_debug("%s: fido_rx", __func__); in credman_rx_metadata() 350 fido_log_debug("%s: fido_rx", __func__); in credman_rx_rk() 396 fido_log_debug("%s: fido_rx", __func__); in credman_rx_next_rk() 431 fido_log_debug("%s: sha256", __func__); in credman_get_rk_wait() 578 fido_log_debug("%s: fido_rx", __func__); in credman_rx_rp() [all …]
|
| H A D | pin.c | 49 fido_log_debug("%s: SHA256", __func__); in pin_sha256_enc() 105 fido_log_debug("%s: pad64", __func__); in pin_pad64_enc() 163 fido_log_debug("%s: NULL pin", __func__); in ctap20_uv_token_tx() 191 fido_log_debug("%s: fido_tx", __func__); in ctap20_uv_token_tx() 254 fido_log_debug("%s: fido_tx", __func__); in ctap21_uv_token_tx() 304 fido_log_debug("%s: fido_rx", __func__); in uv_token_rx() 409 fido_log_debug("%s: fido_tx", __func__); in fido_dev_change_pin_tx() 463 fido_log_debug("%s: fido_tx", __func__); in fido_dev_set_pin_tx() 573 fido_log_debug("%s: fido_tx", __func__); in fido_dev_get_retry_count_tx() 601 fido_log_debug("%s: fido_rx", __func__); in fido_dev_get_pin_retry_count_rx() [all …]
|
| H A D | bio.c | 45 fido_log_debug("%s: malloc", __func__); in bio_prepare_hmac() 114 fido_log_debug("%s: fido_tx", __func__); in bio_tx() 156 fido_log_debug("%s: cbor type", __func__); in decode_template() 249 fido_log_debug("%s: fido_rx", __func__); in bio_rx_template_array() 310 fido_log_debug("%s: tx/rx", __func__); in bio_set_template_name_wait() 413 fido_log_debug("%s: fido_rx", __func__); in bio_rx_enroll_begin() 454 fido_log_debug("%s: tx/rx", __func__); in bio_enroll_begin_wait() 559 fido_log_debug("%s: tx/rx", __func__); in bio_enroll_continue_wait() 590 fido_log_debug("%s: tx/rx", __func__); in bio_enroll_cancel_wait() 622 fido_log_debug("%s: tx/rx", __func__); in bio_enroll_remove_wait() [all …]
|
| H A D | pcsc.c | 62 fido_log_debug("%s: bogus buf", __func__); in list_readers() 85 fido_log_debug("%s: invalid path %s", __func__, path); in get_reader() 89 fido_log_debug("%s: list_readers", __func__); in get_reader() 119 fido_log_debug("%s: unknown protocol %lu", __func__, in prepare_io_request() 145 fido_log_debug("%s: prepare_io_request", __func__); in copy_info() 150 fido_log_debug("%s: asprintf", __func__); in copy_info() 260 fido_log_debug("%s: get_reader(%s)", __func__, path); in fido_pcsc_open() 269 fido_log_debug("%s: prepare_io_request", __func__); in fido_pcsc_open() 313 fido_log_debug("%s: rx_len", __func__); in fido_pcsc_read() 333 fido_log_debug("%s: len", __func__); in fido_pcsc_write() [all …]
|
| H A D | eddsa.c | 24 fido_log_debug("%s: unimplemented", __func__); in EVP_PKEY_new_raw_public_key() 37 fido_log_debug("%s: unimplemented", __func__); in EVP_PKEY_get_raw_public_key() 54 fido_log_debug("%s: unimplemented", __func__); in EVP_DigestVerify() 66 fido_log_debug("%s: cbor type", __func__); in decode_coord() 98 fido_log_debug("%s: cbor type", __func__); in eddsa_pk_decode() 134 fido_log_debug("%s: eddsa_pk_to_EVP_PKEY", __func__); in eddsa_pk_from_ptr() 180 fido_log_debug("%s: EVP_PKEY_base_id", __func__); in eddsa_verify_sig() 192 fido_log_debug("%s: EVP_MD_CTX_new", __func__); in eddsa_verify_sig() 197 fido_log_debug("%s: EVP_DigestVerifyInit", __func__); in eddsa_verify_sig() 203 fido_log_debug("%s: EVP_DigestVerify", __func__); in eddsa_verify_sig() [all …]
|
| H A D | aes256.c | 30 fido_log_debug("%s: calloc", __func__); in aes256_cbc() 35 fido_log_debug("%s: EVP_CIPHER_CTX_new", __func__); in aes256_cbc() 40 fido_log_debug("%s: EVP_Cipher", __func__); in aes256_cbc() 75 fido_log_debug("%s: invalid secret len %zu", __func__, in aes256_cbc_fips() 85 fido_log_debug("%s: fido_get_random", __func__); in aes256_cbc_fips() 138 fido_log_debug("%s: calloc", __func__); in aes256_gcm() 143 fido_log_debug("%s: EVP_CIPHER_CTX_new", __func__); in aes256_gcm() 147 fido_log_debug("%s: EVP_CipherInit", __func__); in aes256_gcm() 158 fido_log_debug("%s: EVP_CIPHER_CTX_ctrl", __func__); in aes256_gcm() 166 fido_log_debug("%s: EVP_Cipher", __func__); in aes256_gcm() [all …]
|
| H A D | info.c | 35 fido_log_debug("%s: cbor type", __func__); in decode_string_array() 57 fido_log_debug("%s: cbor type", __func__); in decode_aaguid() 98 fido_log_debug("%s: cbor type", __func__); in decode_options() 118 fido_log_debug("%s: cbor type", __func__); in decode_protocol() 137 fido_log_debug("%s: cbor type", __func__); in decode_protocols() 162 fido_log_debug("%s: cbor type", __func__); in decode_algorithm_entry() 170 fido_log_debug("%s: alg", __func__); in decode_algorithm_entry() 176 fido_log_debug("%s: type", __func__); in decode_algorithm_entry() 196 fido_log_debug("%s: cbor type", __func__); in decode_algorithm() 354 fido_log_debug("%s: fido_tx", __func__); in fido_dev_get_cbor_info_tx() [all …]
|
| H A D | ecdh.c | 47 fido_log_debug("%s: invalid param", __func__); in hkdf_sha256() 53 fido_log_debug("%s: init", __func__); in hkdf_sha256() 61 fido_log_debug("%s: EVP_PKEY_CTX", __func__); in hkdf_sha256() 65 fido_log_debug("%s: EVP_PKEY_derive", __func__); in hkdf_sha256() 92 fido_log_debug("%s: SHA256", __func__); in kdf() 103 fido_log_debug("%s: hkdf", __func__); in kdf() 143 fido_log_debug("%s: EVP_PKEY_derive", __func__); in do_ecdh() 147 fido_log_debug("%s: kdf", __func__); in do_ecdh() 181 fido_log_debug("%s: es256_derive_pk", __func__); in fido_do_ecdh() 187 fido_log_debug("%s: fido_dev_authkey", __func__); in fido_do_ecdh() [all …]
|
| H A D | rs256.c | 76 fido_log_debug("%s: cbor type", __func__); in decode_bignum() 110 fido_log_debug("%s: cbor type", __func__); in rs256_pk_decode() 169 fido_log_debug("%s: BN_bin2bn", __func__); in rs256_pk_to_EVP_PKEY() 174 fido_log_debug("%s: RSA_set0_key", __func__); in rs256_pk_to_EVP_PKEY() 227 fido_log_debug("%s: RSA_get0_key", __func__); in rs256_pk_from_RSA() 233 fido_log_debug("%s: invalid key", __func__); in rs256_pk_from_RSA() 239 fido_log_debug("%s: BN_bn2bin", __func__); in rs256_pk_from_RSA() 267 fido_log_debug("%s: EVP_PKEY_base_id", __func__); in rs256_verify_sig() 272 fido_log_debug("%s: rs256_get_EVP_MD", __func__); in rs256_verify_sig() 280 fido_log_debug("%s: EVP_PKEY_CTX", __func__); in rs256_verify_sig() [all …]
|
| H A D | dev.c | 102 fido_log_debug("%s: NULL open/close", __func__); in fido_dev_open_tx() 112 fido_log_debug("%s: fido_get_random", __func__); in fido_dev_open_tx() 117 fido_log_debug("%s: dev->io.open", __func__); in fido_dev_open_tx() 149 fido_log_debug("%s: fido_tx", __func__); in fido_dev_open_tx() 171 fido_log_debug("%s: fido_rx", __func__); in fido_dev_open_rx() 182 fido_log_debug("%s: invalid nonce", __func__); in fido_dev_open_rx() 366 fido_log_debug("%s: non-NULL handle", __func__); in fido_dev_set_io_functions() 372 fido_log_debug("%s: NULL function", __func__); in fido_dev_set_io_functions() 386 fido_log_debug("%s: non-NULL handle", __func__); in fido_dev_set_transport_functions() 443 fido_log_debug("%s: NULL function", __func__); in fido_dev_new_with_info() [all …]
|
| H A D | compress.c | 24 fido_log_debug("%s: in->len=%zu, origsiz=%zu", __func__, in rfc1950_inflate() 57 fido_log_debug("%s: in->len=%zu, origsiz=%zu", __func__, in rfc1951_inflate() 62 fido_log_debug("%s: inflateInit2: %d", __func__, z); in rfc1951_inflate() 77 fido_log_debug("%s: inflate: %d", __func__, z); in rfc1951_inflate() 82 fido_log_debug("%s: %u != 0", __func__, zs.avail_out); in rfc1951_inflate() 90 fido_log_debug("%s: inflateEnd: %d", __func__, z); in rfc1951_inflate() 111 fido_log_debug("%s: in->len=%zu", __func__, in->len); in rfc1951_deflate() 116 fido_log_debug("%s: deflateInit2: %d", __func__, z); in rfc1951_deflate() 132 fido_log_debug("%s: inflate: %d", __func__, z); in rfc1951_deflate() 137 fido_log_debug("%s: %u > %zu", __func__, zs.avail_out, in rfc1951_deflate() [all …]
|
| H A D | netlink.c | 363 fido_log_debug("%s: len", __func__); in nlmsg_rx() 389 fido_log_debug("%s: parser", __func__); in nlmsg_iter() 407 fido_log_debug("%s: parser", __func__); in nla_iter() 424 fido_log_debug("%s: nlmsg", __func__); in nl_parse_reply() 468 fido_log_debug("%s: group", __func__); in parse_mcastgrp() 495 fido_log_debug("%s: id", __func__); in parse_family() 528 fido_log_debug("%s: nlmsg_rx", __func__); in nl_get_nfc_family() 556 fido_log_debug("%s: target", __func__); in parse_target() 581 fido_log_debug("%s: nlmsg_rx", __func__); in fido_nl_power_nfc() 611 fido_log_debug("%s: nlmsg_rx", __func__); in nl_nfc_poll() [all …]
|
| H A D | hid_openbsd.c | 51 fido_log_debug("%s: %s: productNo = 0x%04x, vendorNo = 0x%04x, " in copy_info() 133 fido_log_debug("%s: send ping %d", __func__, i); in terrible_ping_kludge() 136 fido_log_debug("%s: wait reply", __func__); in terrible_ping_kludge() 144 fido_log_debug("%s: timed out", __func__); in terrible_ping_kludge() 158 fido_log_debug("%s: no response", __func__); in terrible_ping_kludge() 173 fido_log_debug("%s: inlen = %zu outlen = %zu", __func__, in fido_hid_open() 218 fido_log_debug("%s: invalid len: got %zu, want %zu", __func__, in fido_hid_read() 224 fido_log_debug("%s: fd not ready", __func__); in fido_hid_read() 234 fido_log_debug("%s: %zd != %zu", __func__, r, len); in fido_hid_read() 248 fido_log_debug("%s: invalid len: got %zu, want %zu", __func__, in fido_hid_write() [all …]
|
| H A D | config.c | 28 fido_log_debug("%s: cbor_serialize", __func__); in config_prepare_hmac() 33 fido_log_debug("%s: malloc", __func__); in config_prepare_hmac() 59 fido_log_debug("%s: cbor encode", __func__); in config_tx() 66 fido_log_debug("%s: cbor_flatten_vector", __func__); in config_tx() 74 fido_log_debug("%s: config_prepare_hmac", __func__); in config_tx() 78 fido_log_debug("%s: fido_do_ecdh", __func__); in config_tx() 83 fido_log_debug("%s: cbor_add_uv_params", __func__); in config_tx() 91 fido_log_debug("%s: fido_tx", __func__); in config_tx() 161 fido_log_debug("%s: cbor_encode_uint8", __func__); in config_pin_minlen_tx() 171 fido_log_debug("%s: cbor_build_bool", __func__); in config_pin_minlen_tx() [all …]
|
| H A D | assert.c | 25 fido_log_debug("%s: cbor_type", __func__); in adjust_assert_count() 58 fido_log_debug("%s: cbor type", __func__); in parse_assert_reply() 79 fido_log_debug("%s: cbor type", __func__); in parse_assert_reply() 107 fido_log_debug("%s: cbor encode", __func__); in fido_dev_get_assert_tx() 152 fido_log_debug("%s: fido_tx", __func__); in fido_dev_get_assert_tx() 180 fido_log_debug("%s: fido_rx", __func__); in fido_dev_get_assert_rx() 221 fido_log_debug("%s: fido_tx", __func__); in fido_get_next_assert_tx() 241 fido_log_debug("%s: fido_rx", __func__); in fido_get_next_assert_rx() 298 fido_log_debug("%s: aes256_cbc_dec %zu", in decrypt_hmac_secrets() 469 fido_log_debug("%s: authdata", __func__); in fido_get_signed_hash() [all …]
|
| H A D | es256.c | 29 fido_log_debug("%s: cbor type", __func__); in decode_coord() 63 fido_log_debug("%s: cbor type", __func__); in es256_pk_decode() 236 fido_log_debug("%s: EVP_PKEY_paramgen", __func__); in es256_sk_create() 242 fido_log_debug("%s: EVP_PKEY_keygen", __func__); in es256_sk_create() 291 fido_log_debug("%s: BN_bin2bn", __func__); in es256_pk_to_EVP_PKEY() 297 fido_log_debug("%s: EC_KEY init", __func__); in es256_pk_to_EVP_PKEY() 380 fido_log_debug("%s: BN_bn2bin", __func__); in es256_pk_from_EC_KEY() 424 fido_log_debug("%s: BN_bin2bn", __func__); in es256_sk_to_EVP_PKEY() 473 fido_log_debug("%s: get", __func__); in es256_derive_pk() 480 fido_log_debug("%s: set", __func__); in es256_derive_pk() [all …]
|
| H A D | es384.c | 27 fido_log_debug("%s: cbor type", __func__); in decode_coord() 61 fido_log_debug("%s: cbor type", __func__); in es384_pk_decode() 101 fido_log_debug("%s: es384_pk_to_EVP_PKEY", __func__); in es384_pk_from_ptr() 134 fido_log_debug("%s: BN_bin2bn", __func__); in es384_pk_to_EVP_PKEY() 140 fido_log_debug("%s: EC_KEY init", __func__); in es384_pk_to_EVP_PKEY() 147 fido_log_debug("%s: EC_KEY_set_public_key", __func__); in es384_pk_to_EVP_PKEY() 205 fido_log_debug("%s: EC_POINT_is_on_curve", __func__); in es384_pk_from_EC_KEY() 223 fido_log_debug("%s: BN_bn2bin", __func__); in es384_pk_from_EC_KEY() 259 fido_log_debug("%s: EVP_PKEY_base_id", __func__); in es384_verify_sig() 267 fido_log_debug("%s: EVP_PKEY_verify", __func__); in es384_verify_sig() [all …]
|
| H A D | cred.c | 25 fido_log_debug("%s: cbor type", __func__); in parse_makecred_reply() 45 fido_log_debug("%s: cbor type", __func__); in parse_makecred_reply() 66 fido_log_debug("%s: cdh=%p, type=%d", __func__, in fido_dev_make_cred_tx() 76 fido_log_debug("%s: cbor encode", __func__); in fido_dev_make_cred_tx() 124 fido_log_debug("%s: fido_tx", __func__); in fido_dev_make_cred_tx() 155 fido_log_debug("%s: fido_rx", __func__); in fido_dev_make_cred_rx() 236 fido_log_debug("%s: sha256", __func__); in fido_check_rp_id() 267 fido_log_debug("%s: sha256", __func__); in get_signed_hash_u2f() 298 fido_log_debug("%s: x509 key", __func__); in verify_attstmt() 612 fido_log_debug("%s: cbor_load", __func__); in fido_cred_set_authdata() [all …]
|