Home
last modified time | relevance | path

Searched refs:sc_debug (Results 1 – 25 of 74) sorted by relevance

123

/dports/security/opensc/OpenSC-0.22.0/src/smm/
H A Dsmm-local.c90 sc_debug(ctx, SC_LOG_DEBUG_SM, "SM type:%X, KMC(%"SC_FORMAT_LEN_SIZE_T"u) %s", in sm_gp_config_get_keyset()
135 sc_debug(ctx, SC_LOG_DEBUG_VERBOSE, "No %s value in OpenSC config", name); in sm_cwa_config_get_keyset()
152 sc_debug(ctx, SC_LOG_DEBUG_SM, "ENC(%"SC_FORMAT_LEN_SIZE_T"u) %s", hex_len, in sm_cwa_config_get_keyset()
159 sc_debug(ctx, SC_LOG_DEBUG_SM, "%s %s", name, sc_dump_hex(cwa_keyset->enc, 16)); in sm_cwa_config_get_keyset()
169 sc_debug(ctx, SC_LOG_DEBUG_VERBOSE, "No %s value in OpenSC config", name); in sm_cwa_config_get_keyset()
186 sc_debug(ctx, SC_LOG_DEBUG_SM, "MAC(%"SC_FORMAT_LEN_SIZE_T"u) %s", hex_len, in sm_cwa_config_get_keyset()
193 sc_debug(ctx, SC_LOG_DEBUG_SM, "%s %s", name, sc_dump_hex(cwa_keyset->mac, 16)); in sm_cwa_config_get_keyset()
211 sc_debug(ctx, SC_LOG_DEBUG_VERBOSE, in sm_cwa_config_get_keyset()
221 sc_debug(ctx, SC_LOG_DEBUG_VERBOSE, "Generate random error: %i", rv); in sm_cwa_config_get_keyset()
227 sc_debug(ctx, SC_LOG_DEBUG_VERBOSE, "Generate random error: %i", rv); in sm_cwa_config_get_keyset()
[all …]
H A Dsm-cwa14890.c56 sc_debug(ctx, SC_LOG_DEBUG_SM, "sm_cwa_get_mac() data length %i", in_len); in sm_cwa_get_mac()
89 sc_debug(ctx, SC_LOG_DEBUG_SM, "IFD.SN %s", sc_dump_hex(session_data->ifd.sn, 8)); in sm_cwa_encode_external_auth_data()
106 sc_debug(ctx, SC_LOG_DEBUG_SM, "IFD.SN %s", sc_dump_hex(session_data->ifd.sn, 8)); in sm_cwa_encode_mutual_auth_data()
136 sc_debug(ctx, SC_LOG_DEBUG_SM, "MAC:%s", sc_dump_hex(cblock, sizeof(cblock))); in sm_cwa_decode_authentication_data()
144 sc_debug(ctx, SC_LOG_DEBUG_SM, in sm_cwa_decode_authentication_data()
188 sc_debug(ctx, SC_LOG_DEBUG_SM, "K_IFD %s", sc_dump_hex(session_data->ifd.k, 32)); in sm_cwa_init_session_keys()
189 sc_debug(ctx, SC_LOG_DEBUG_SM, "K_ICC %s", sc_dump_hex(session_data->icc.k, 32)); in sm_cwa_init_session_keys()
193 sc_debug(ctx, SC_LOG_DEBUG_SM, "XOR for SkEnc %s", sc_dump_hex(xored, 36)); in sm_cwa_init_session_keys()
198 sc_debug(ctx, SC_LOG_DEBUG_SM, "XOR for SkMac %s", sc_dump_hex(xored, 36)); in sm_cwa_init_session_keys()
267 sc_debug(ctx, SC_LOG_DEBUG_SM, "S(%i) %s", offs, sc_dump_hex(buf, offs)); in sm_cwa_initialize()
[all …]
H A Dsm-card-iasecc.c70 sc_debug(ctx, SC_LOG_DEBUG_SM, in sm_iasecc_get_apdu_read_binary()
116 sc_debug(ctx, SC_LOG_DEBUG_SM, in sm_iasecc_get_apdu_update_binary()
164 sc_debug(ctx, SC_LOG_DEBUG_SM, in sm_iasecc_get_apdu_create_file()
200 sc_debug(ctx, SC_LOG_DEBUG_SM, "SM get 'DELETE FILE' APDU: file-id %04X", file_id); in sm_iasecc_get_apdu_delete_file()
240 sc_debug(ctx, SC_LOG_DEBUG_SM, "SM get 'VERIFY PIN' APDU: %u", pin_data->pin_reference); in sm_iasecc_get_apdu_verify_pin()
516 sc_debug(ctx, SC_LOG_DEBUG_SM, "SM IAS/ECC get APDUs: rdata:%p", rdata); in sm_iasecc_get_apdus()
589 sc_debug(ctx, SC_LOG_DEBUG_SM, in sm_iasecc_decode_card_data()
602 sc_debug(ctx, SC_LOG_DEBUG_SM, in sm_iasecc_decode_card_data()
619 sc_debug(ctx, SC_LOG_DEBUG_SM, "IAS/ECC decode answer() object present"); in sm_iasecc_decode_card_data()
628 sc_debug(ctx, SC_LOG_DEBUG_SM, in sm_iasecc_decode_card_data()
[all …]
H A Dsm-global-platform.c66 sc_debug(ctx, SC_LOG_DEBUG_SM, "SM GP initialize: serial:%s", sc_dump_hex(sn.value, sn.len)); in sm_gp_initialize()
67sc_debug(ctx, SC_LOG_DEBUG_SM, "SM GP initialize: current_df_path %s", sc_print_path(&sm_info->cur… in sm_gp_initialize()
68 sc_debug(ctx, SC_LOG_DEBUG_SM, "SM GP initialize: KMC length %i", gp_keyset->kmc_len); in sm_gp_initialize()
110 sc_debug(ctx, SC_LOG_DEBUG_VERBOSE, "SM GP get session key: des_ecb3 encryption error"); in sc_gp_get_session_key()
201 sc_debug(ctx, SC_LOG_DEBUG_SM, "SM GP init session: auth.data %s", sc_dump_hex(adata, 8)); in sm_gp_init_session()
218 sc_debug(ctx, SC_LOG_DEBUG_SM, "SM GP init session: cryptogram: %s", sc_dump_hex(cksum, 8)); in sm_gp_init_session()
222 sc_debug(ctx, SC_LOG_DEBUG_SM, "SM GP init session: card authenticated"); in sm_gp_init_session()
273sc_debug(ctx, SC_LOG_DEBUG_SM, "SM GP authentication: host_cryptogram:%s", sc_dump_hex(host_crypto… in sm_gp_external_authentication()
311 sc_debug(ctx, SC_LOG_DEBUG_SM, in sm_gp_encrypt_command_data()
355 sc_debug(ctx, SC_LOG_DEBUG_SM, in sm_gp_securize_apdu()
[all …]
H A Dsm-card-authentic.c69 sc_debug(ctx, SC_LOG_DEBUG_SM, "KMC: %s", sc_dump_hex(master_key, sizeof(master_key))); in sm_oberthur_diversify_keyset()
80 sc_debug(ctx, SC_LOG_DEBUG_SM, "key_buf:%s", sc_dump_hex(key_buff, 16)); in sm_oberthur_diversify_keyset()
113 sc_debug(ctx, SC_LOG_DEBUG_SM, "SM encode APDU: offset:"); in sm_authentic_encode_apdu()
133 sc_debug(ctx, SC_LOG_DEBUG_SM, "SM get APDUs: rdata:%p, init_len:%"SC_FORMAT_LEN_SIZE_T"u", in sm_authentic_get_apdus()
135sc_debug(ctx, SC_LOG_DEBUG_SM, "SM get APDUs: serial %s", sc_dump_hex(sm_info->serialnr.value, sm_… in sm_authentic_get_apdus()
/dports/security/opensc/OpenSC-0.22.0/src/sm/
H A Dsm-eac.c1995 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, in eac_sm_authenticate()
2044 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, in eac_sm_verify_authentication()
2054 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, in eac_sm_verify_authentication()
2149 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, in eac_sm_pre_transmit()
2153 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, in eac_sm_pre_transmit()
2159 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, in eac_sm_pre_transmit()
2167 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, in eac_sm_pre_transmit()
2180 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, in eac_sm_pre_transmit()
2256 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, in eac_sm_pre_transmit()
2260 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, in eac_sm_pre_transmit()
[all …]
H A Dsm-iso.c219 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, "Could not add padding to data: %s", in format_data()
228 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, "Could not encrypt the data"); in format_data()
326 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, "Could not format Le of SM apdu"); in sm_encrypt()
337 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, "Could not format Le of SM apdu"); in sm_encrypt()
345 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, "Could not format Le of SM apdu"); in sm_encrypt()
373 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, "Could not format Le of SM apdu"); in sm_encrypt()
404 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, "Could not format Le of SM apdu"); in sm_encrypt()
425 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, "Unhandled apdu case"); in sm_encrypt()
554 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, "Cryptographic Checksum missing"); in sm_decrypt()
577 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, "Could not remove padding"); in sm_decrypt()
[all …]
H A Dsslutil.h33 sc_debug(ctx, SC_LOG_DEBUG_VERBOSE, "%s", ERR_error_string(_r, NULL)); \
/dports/security/opensc/OpenSC-0.22.0/src/libopensc/
H A Dcard-cac.c372 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, in cac_get_acr()
418 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, in cac_read_file()
891 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, in cac_parse_properties_object()
904 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, in cac_parse_properties_object()
922 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, in cac_parse_properties_object()
931 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, in cac_parse_properties_object()
1073 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, in cac_select_file_by_type()
1268 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, in cac_path_from_cardurl()
1274 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, in cac_path_from_cardurl()
1315 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, in cac_parse_aid()
[all …]
H A Dpkcs15-cardos.c68sc_debug(card->ctx, SC_LOG_DEBUG_NORMAL, "Original Flags: 0x%8.8lx card->flags:0x%8.8lx", passed->… in cardos_fix_token_info()
80sc_debug(card->ctx, SC_LOG_DEBUG_NORMAL, "supported_algos[%d] mechanism:0x%8.8x", i, sa->mechanism… in cardos_fix_token_info()
111 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, "UNKNOWN MECH: 0x%8.8x", sa->mechanism); in cardos_fix_token_info()
114 sc_debug(card->ctx, SC_LOG_DEBUG_NORMAL, "New_flags 0x%8.8lx New_ec_flags: 0x%8.8lx", in cardos_fix_token_info()
120 sc_debug(card->ctx, SC_LOG_DEBUG_NORMAL, "EID_COMPLIANT flag found"); in cardos_fix_token_info()
127sc_debug(card->ctx, SC_LOG_DEBUG_NORMAL,"Final New_flags 0x%8.8lx New_ec_flags: 0x%8.8lx", passed-… in cardos_fix_token_info()
H A Dcard-piv.c1593 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, "sc_lock failed\n"); in piv_general_mutual_authenticate()
1659 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, in piv_general_mutual_authenticate()
1674 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, in piv_general_mutual_authenticate()
1684 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, in piv_general_mutual_authenticate()
1888 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, "sc_lock failed\n"); in piv_general_external_authenticate()
1936 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, "Encrypt fail\n"); in piv_general_external_authenticate()
1950 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, "Encrypt update fail\n"); in piv_general_external_authenticate()
1957 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, "Final fail\n"); in piv_general_external_authenticate()
1968 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, "Length test fail\n"); in piv_general_external_authenticate()
3186 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, "sc_lock failed\n"); in piv_match_card_continued()
[all …]
H A Dasn1.c557 sc_debug(ctx, SC_LOG_DEBUG_ASN1, in sc_asn1_skip_tag()
1515 sc_debug(ctx, SC_LOG_DEBUG_ASN1, in asn1_decode_entry()
1691 sc_debug(ctx, SC_LOG_DEBUG_ASN1, in asn1_decode()
1704 sc_debug(ctx, SC_LOG_DEBUG_ASN1, "End of ASN.1 stream, " in asn1_decode()
1715 sc_debug(ctx, SC_LOG_DEBUG_ASN1, "Looking for '%s', tag 0x%x%s%s\n", in asn1_decode()
1746 sc_debug(ctx, SC_LOG_DEBUG_ASN1, "next tag: %s\n", line); in asn1_decode()
1794 sc_debug(ctx, SC_LOG_DEBUG_ASN1, "%*.*sencoding '%s'%s\n", in asn1_encode_entry()
1799 sc_debug(ctx, SC_LOG_DEBUG_ASN1, in asn1_encode_entry()
1811 sc_debug(ctx, SC_LOG_DEBUG_ASN1, in asn1_encode_entry()
1830 sc_debug(ctx, SC_LOG_DEBUG_ASN1, "unexpected parm == NULL\n"); in asn1_encode_entry()
[all …]
H A Dcard-cac1.c232 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, in cac_select_file_by_type()
237 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, "file_out=%p index=%d count=%d\n", in cac_select_file_by_type()
272 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE,"select application" ); in cac_select_file_by_type()
416 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, in cac_populate_cac1()
472 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE, "PKI applet found, is bare CAC-1"); in cac_find_and_initialize()
H A Dlog.h63 #define sc_debug(ctx, level, format, args...) sc_do_log(ctx, level, __FILE__, __LINE__, __FUNCTION_… macro
66 #define sc_debug _sc_debug macro
/dports/security/opensc/OpenSC-0.22.0/src/tools/
H A Dgoid-tool.c282 sc_debug(card->ctx, SC_LOG_DEBUG_VERBOSE_TOOL, in soc_change()
321 sc_debug(ctx, SC_LOG_DEBUG_VERBOSE_TOOL, in soc_main()
335 sc_debug(ctx, SC_LOG_DEBUG_VERBOSE_TOOL, in soc_main()
342 sc_debug(ctx, SC_LOG_DEBUG_VERBOSE_TOOL, in soc_main()
349 sc_debug(ctx, SC_LOG_DEBUG_VERBOSE_TOOL, in soc_main()
357 sc_debug(ctx, SC_LOG_DEBUG_VERBOSE_TOOL, in soc_main()
365 sc_debug(ctx, SC_LOG_DEBUG_VERBOSE_TOOL, in soc_main()
618 sc_debug(ctx, SC_LOG_DEBUG_VERBOSE_TOOL, in paccess_main()
625 sc_debug(ctx, SC_LOG_DEBUG_VERBOSE_TOOL, in paccess_main()
632 sc_debug(ctx, SC_LOG_DEBUG_VERBOSE_TOOL, in paccess_main()
[all …]
/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/scsipi/
H A Dif_se.c189 int sc_debug; member
452 if (sc->sc_debug) in se_ifstart()
641 if (sc->sc_debug) { in se_read()
660 if (sc->sc_debug) in se_read()
727 if (sc->sc_debug) in se_add_proto()
848 if (sc->sc_debug) in se_set_multi()
869 if (sc->sc_debug) in se_remove_multi()
1016 sc->sc_debug = 1; in se_ioctl()
1018 sc->sc_debug = 0; in se_ioctl()
/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/ic/
H A Dam79900.c290 if (sc->sc_debug) in am79900_rint()
303 if (sc->sc_debug) in am79900_rint()
333 if (sc->sc_debug) in am79900_tint()
408 if (sc->sc_debug) in am79900_intr()
539 if (sc->sc_debug) in am79900_start()
H A Dam7990.c254 if (sc->sc_debug > 1) in am7990_rint()
267 if (sc->sc_debug) in am7990_rint()
299 if (sc->sc_debug) in am7990_tint()
377 if (sc->sc_debug) in am7990_intr()
518 if (sc->sc_debug > 1) in am7990_start()
H A Dhmevar.h83 int sc_debug; member
H A Di82586.c476 if ((status & IE_ST_CNA) && (sc->sc_debug & IED_CNA)) in i82586_intr()
520 if (sc->sc_debug & IED_RINT) in i82586_rint()
534 if (sc->sc_debug & IED_RINT) in i82586_rint()
687 if (sc->sc_debug & IED_TINT) in i82586_tint()
1030 if (sc->sc_debug & IED_READFRAME) { in ie_readframe()
1066 if (sc->sc_debug & IED_XMIT) in iexmit()
1166 if (sc->sc_debug & IED_ENQ) in i82586_start()
1756 sc->sc_debug = (ifp->if_flags & IFF_DEBUG) ? IED_ALL : 0; in i82586_ioctl()
/dports/devel/efl/efl-1.25.1/src/bin/embryo/
H A Dembryo_cc_sc4.c152 if ((sc_debug & sSYMBOLIC) != 0) in setfile()
168 if ((sc_debug & (sSYMBOLIC | sCHKBOUNDS)) != 0) in setline()
272 if ((sc_debug & sSYMBOLIC) != 0) in defsymbol()
304 if ((sc_debug & sSYMBOLIC) != 0) in symbolrange()
709 if ((sc_debug & sCHKBOUNDS) != 0) in ffbounds()
H A Dembryo_cc_scvars.c60 int sc_debug = sCHKBOUNDS; /* by default: bounds checking+assertions */ variable
/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/isa/
H A Desp_isavar.h81 int sc_debug; member
/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/sbus/
H A Dqe.c140 int sc_debug; member
566 if (sc->sc_debug) { in qeintr()
579 if (sc->sc_debug) { in qeintr()
598 if (sc->sc_debug) { in qeintr()
696 if (npackets == 0 && sc->sc_debug) in qe_rint()
935 sc->sc_debug = (ifp->if_flags & IFF_DEBUG) != 0 ? 1 : 0; in qeioctl()
/dports/security/opensc/OpenSC-0.22.0/src/pkcs15init/
H A Dpkcs15-openpgp.c144 sc_debug(card->ctx, SC_LOG_DEBUG_NORMAL, "only RSA is supported on this card"); in openpgp_store_key()
170 sc_debug(card->ctx, SC_LOG_DEBUG_NORMAL, "EdDSA keys not supported on this card"); in openpgp_store_key()
382 sc_debug(card->ctx, SC_LOG_DEBUG_NORMAL, "only RSA is supported on this card"); in openpgp_generate_key()
389 sc_debug(card->ctx, SC_LOG_DEBUG_NORMAL, "EdDSA is not supported on this card"); in openpgp_generate_key()

123