Home
last modified time | relevance | path

Searched refs:sdo_class (Results 1 – 10 of 10) sorted by relevance

/dports/security/opensc/OpenSC-0.22.0/src/tools/
H A Diasecc-tool.c127 unsigned sdo_class = 0; in list_sdos() local
134 sdo_class = strtol(sdo_tag + 1, NULL, 16); in list_sdos()
136 sdo_class = strtol(sdo_tag + 2, NULL, 16); in list_sdos()
138 sdo_class = strtol(sdo_tag, NULL, 10); in list_sdos()
140 sdo_class &= 0x7F; in list_sdos()
141 if (sdo_class == IASECC_SDO_CLASS_SE) { in list_sdos()
158 sdo.sdo_class = sdo_class; in list_sdos()
163 printf("Found SDO class %X, reference %X\n", sdo.sdo_class, sdo.sdo_ref); in list_sdos()
/dports/security/opensc/OpenSC-0.22.0/src/libopensc/
H A Diasecc-sdo.c161 if (sdo->sdo_class == IASECC_SDO_CLASS_RSA_PUBLIC) { in iasecc_sdo_free_fields()
187 else if (sdo->sdo_class == IASECC_SDO_CLASS_CHV) { in iasecc_sdo_free_fields()
674 if (sdo->sdo_class != IASECC_SDO_CLASS_CHV) { in iasecc_sdo_parse_data()
684 if (sdo->sdo_class != IASECC_SDO_CLASS_RSA_PUBLIC) { in iasecc_sdo_parse_data()
694 if (sdo->sdo_class != IASECC_SDO_CLASS_RSA_PRIVATE) { in iasecc_sdo_parse_data()
704 if (sdo->sdo_class != IASECC_SDO_CLASS_KEYSET) { in iasecc_sdo_parse_data()
746 if (sdo->sdo_class != (*(data + 1) & 0x7F)) in iasecc_sdo_parse()
803 sdo->sdo_class = *(data + 1) & 0x7F; in iasecc_sdo_allocate_and_parse()
1092 if (sdo->sdo_class == IASECC_SDO_CLASS_RSA_PRIVATE) { in iasecc_sdo_encode_rsa_update()
1102 sdo_update->sdo_class = IASECC_SDO_CLASS_RSA_PRIVATE; in iasecc_sdo_encode_rsa_update()
[all …]
H A Dcard-iasecc.c1790 sdo.sdo_class = IASECC_SDO_CLASS_RSA_PRIVATE; in iasecc_set_security_env()
2155 sdo.sdo_class = IASECC_SDO_CLASS_CHV; in iasecc_pin_get_policy()
2345 sdo.sdo_class = IASECC_SDO_CLASS_KEYSET; in iasecc_keyset_change()
2362 update.sdo_class = sdo.sdo_class; in iasecc_keyset_change()
2647 unsigned char *data = NULL, sdo_class = sdo->sdo_class; in iasecc_sdo_create() local
2676 update.sdo_class = sdo->sdo_class; in iasecc_sdo_create()
2723 data[3] = sdo->sdo_class | 0x80; in iasecc_sdo_delete()
2851 iasecc_sdo_tag_from_class(unsigned sdo_class) in iasecc_sdo_tag_from_class() argument
2853 switch (sdo_class & ~IASECC_OBJECT_REF_LOCAL) { in iasecc_sdo_tag_from_class()
2883 sdo->sdo_ref, sdo->sdo_class); in iasecc_sdo_get_tagged_data()
[all …]
H A Diasecc-sdo.h223 unsigned char sdo_class; member
242 unsigned char sdo_class; member
H A Diasecc-sm.c390 …sc_log(ctx, "iasecc_sm_rsa_generate() SE#%i, SDO(class:%X,ref:%X)", se_num, sdo->sdo_class, sdo->s… in iasecc_sm_rsa_generate()
424 udata->sdo_prv_key->sdo_class, udata->sdo_prv_key->sdo_ref); in iasecc_sm_rsa_update()
494 …sc_log(ctx, "iasecc_sm_sdo_update() SE#%i, SDO(class:0x%X,ref:%i)", se_num, update->sdo_class, upd… in iasecc_sm_sdo_update()
/dports/security/opensc/OpenSC-0.22.0/src/smm/
H A Dsm-card-iasecc.c327 …G_DEBUG_SM, "SM get 'SDO UPDATE' APDU, SDO(class:0x%X,ref:%i)", update->sdo_class, update->sdo_ref… in sm_iasecc_get_apdu_sdo_update()
332 …encoded_len = iasecc_sdo_encode_update_field(ctx, update->sdo_class, update->sdo_ref, &update->fie… in sm_iasecc_get_apdu_sdo_update()
386 …_DEBUG_SM, "SM get 'GENERATE RSA' APDU: SDO(class:%X,reference:%X)", sdo->sdo_class, sdo->sdo_ref); in sm_iasecc_get_apdu_generate_rsa()
444 if (cmd_data->update_prv.sdo_class) { in sm_iasecc_get_apdu_update_rsa()
446 … "SM get 'UPDATE RSA' APDU: SDO(class:%X,ref:%X)", cmd_data->update_prv.sdo_class, cmd_data->updat… in sm_iasecc_get_apdu_update_rsa()
449 if (cmd_data->update_pub.sdo_class) { in sm_iasecc_get_apdu_update_rsa()
451 … "SM get 'UPDATE RSA' APDU: SDO(class:%X,ref:%X)", cmd_data->update_pub.sdo_class, cmd_data->updat… in sm_iasecc_get_apdu_update_rsa()
460 to_update[jj]->sdo_class, to_update[jj]->sdo_ref); in sm_iasecc_get_apdu_update_rsa()
462 …encoded_len = iasecc_sdo_encode_update_field(ctx, to_update[jj]->sdo_class, to_update[jj]->sdo_ref, in sm_iasecc_get_apdu_update_rsa()
/dports/security/opensc/OpenSC-0.22.0/src/pkcs15init/
H A Dpkcs15-iasecc.c463 sdo->sdo_class = IASECC_SDO_CLASS_RSA_PRIVATE; in iasecc_sdo_allocate_prvkey()
466 sc_log(ctx, "sdo->sdo_class 0x%X; sdo->usage 0x%X", sdo->sdo_class, sdo->usage); in iasecc_sdo_allocate_prvkey()
544 sdo->sdo_class = IASECC_SDO_CLASS_RSA_PUBLIC; in iasecc_sdo_allocate_pubkey()
547 sc_log(ctx, "get Public Key SDO(class:%X) data returned %i", sdo->sdo_class, rv); in iasecc_sdo_allocate_pubkey()
610 sc_log(ctx, "SDO class 0x%X", sdo->sdo_class); in iasecc_sdo_convert_to_file()
612 if (sdo->sdo_class == IASECC_SDO_CLASS_RSA_PRIVATE) { in iasecc_sdo_convert_to_file()
924 sdo_prvkey->sdo_class, sdo_prvkey->sdo_ref, sdo_prvkey->usage); in iasecc_pkcs15_fix_private_key_attributes()
1267 int sdo_class, int ref) in iasecc_pkcs15_delete_sdo() argument
1278 sc_log(ctx, "iasecc_pkcs15_delete_sdo() class 0x%X; reference %i", sdo_class, ref); in iasecc_pkcs15_delete_sdo()
1285 sdo->sdo_class = sdo_class; in iasecc_pkcs15_delete_sdo()
[all …]
/dports/science/silo/silo-4.10.2-bsd/tools/browser/
H A Dobj.c99 C_SDO = sdo_class (); in obj_init()
H A Dbrowser.h468 class_t sdo_class (void);
H A Dsdo.c143 sdo_class (void) { in sdo_class() function