Searched refs:sdo_ref (Results 1 – 7 of 7) sorted by relevance
/dports/security/opensc/OpenSC-0.22.0/src/smm/ |
H A D | sm-card-iasecc.c | 327 …_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() 376 IASECC_SDO_TAG_HEADER, IASECC_SDO_CLASS_RSA_PUBLIC | 0x80, sdo->sdo_ref & 0x7F, 0x08, in sm_iasecc_get_apdu_generate_rsa() 381 IASECC_SDO_TAG_HEADER, IASECC_SDO_CLASS_RSA_PRIVATE | 0x80, sdo->sdo_ref & 0x7F in sm_iasecc_get_apdu_generate_rsa() 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() 446 …TE RSA' APDU: SDO(class:%X,ref:%X)", cmd_data->update_prv.sdo_class, cmd_data->update_prv.sdo_ref); in sm_iasecc_get_apdu_update_rsa() 451 …TE RSA' APDU: SDO(class:%X,ref:%X)", cmd_data->update_pub.sdo_class, cmd_data->update_pub.sdo_ref); 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/libopensc/ |
H A D | iasecc-sdo.c | 646 sc_log(ctx, "iasecc_sdo_parse_data() class %X; ref %X", sdo->sdo_class, sdo->sdo_ref); in iasecc_sdo_parse_data() 749 if (sdo->sdo_ref != (*(data + 2) & 0x3F)) in iasecc_sdo_parse() 804 sdo->sdo_ref = *(data + 2) & 0x3F; in iasecc_sdo_allocate_and_parse() 806 sc_log(ctx, "sdo_class 0x%X, sdo_ref 0x%X", sdo->sdo_class, sdo->sdo_ref); in iasecc_sdo_allocate_and_parse() 1005 sc_log(ctx, "id %02X%02X%02X", IASECC_SDO_TAG_HEADER, sdo->sdo_class | 0x80, sdo->sdo_ref); in iasecc_sdo_encode_create() 1013 …sdo_full_ref = (sdo->sdo_ref&0x3F) + 0x100*(sdo->sdo_class | IASECC_OBJECT_REF_LOCAL) + 0x10000*I… in iasecc_sdo_encode_create() 1032 …ecc_sdo_encode_update_field(struct sc_context *ctx, unsigned char sdo_class, unsigned char sdo_ref, in iasecc_sdo_encode_update_field() argument 1062 …sdo_full_ref = (sdo_ref&0x3F) + 0x100*(sdo_class | IASECC_OBJECT_REF_LOCAL) + 0x10000*IASECC_SDO_… in iasecc_sdo_encode_update_field() 1100 sdo_update->sdo_ref = sdo->sdo_ref; in iasecc_sdo_encode_rsa_update() 1153 sdo_update->sdo_ref = sdo->sdo_ref; in iasecc_sdo_encode_rsa_update()
|
H A D | iasecc-sdo.h | 224 unsigned char sdo_ref; member 243 unsigned char sdo_ref; member
|
H A D | card-iasecc.c | 1791 sdo.sdo_ref = env->key_ref[0] & ~IASECC_OBJECT_REF_LOCAL; in iasecc_set_security_env() 2157 sdo.sdo_ref = data->pin_reference & ~IASECC_OBJECT_REF_LOCAL; in iasecc_pin_get_policy() 2346 sdo.sdo_ref = data->pin_reference; in iasecc_keyset_change() 2363 update.sdo_ref = sdo.sdo_ref; in iasecc_keyset_change() 2677 update.sdo_ref = sdo->sdo_ref; in iasecc_sdo_create() 2724 data[4] = sdo->sdo_ref; in iasecc_sdo_delete() 2883 sdo->sdo_ref, sdo->sdo_class); in iasecc_sdo_get_tagged_data() 2917 sbuf[offs--] = sdo->sdo_ref & 0x9F; in iasecc_sdo_get_tagged_data() 3009 update_pubkey.sdo_ref = sdo->sdo_ref; in iasecc_sdo_generate() 3024 sbuf[offs++] = sdo->sdo_ref & ~IASECC_OBJECT_REF_LOCAL; in iasecc_sdo_generate() [all …]
|
H A D | iasecc-sm.c | 390 …ctx, "iasecc_sm_rsa_generate() SE#%i, SDO(class:%X,ref:%X)", se_num, sdo->sdo_class, sdo->sdo_ref); in iasecc_sm_rsa_generate() 424 udata->sdo_prv_key->sdo_class, udata->sdo_prv_key->sdo_ref); in iasecc_sm_rsa_update() 494 …iasecc_sm_sdo_update() SE#%i, SDO(class:0x%X,ref:%i)", se_num, update->sdo_class, update->sdo_ref); in iasecc_sm_sdo_update()
|
/dports/security/opensc/OpenSC-0.22.0/src/tools/ |
H A D | iasecc-tool.c | 159 sdo.sdo_ref = ii; 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/pkcs15init/ |
H A D | pkcs15-iasecc.c | 462 sdo->sdo_ref = key_info->key_reference & 0x3F; in iasecc_sdo_allocate_prvkey() 543 sdo->sdo_ref = key_info->key_reference & 0x3F; in iasecc_sdo_allocate_pubkey() 924 sdo_prvkey->sdo_class, sdo_prvkey->sdo_ref, sdo_prvkey->usage); in iasecc_pkcs15_fix_private_key_attributes() 1286 sdo->sdo_ref = ref & 0x3F; in iasecc_pkcs15_delete_sdo() 1305 sc_log(ctx, "iasecc_pkcs15_delete_sdo() SDO class 0x%X, ref 0x%X", sdo->sdo_class, sdo->sdo_ref); in iasecc_pkcs15_delete_sdo()
|