Searched refs:mechanism_info (Results 1 – 6 of 6) sorted by relevance
/titanic_50/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelSlotToken.c | 231 crypto_get_provider_mechanism_info_t mechanism_info; in C_GetMechanismList() local 292 mechanism_info.mi_provider_id = provider_id; in C_GetMechanismList() 293 bcopy(&pm->pm_list[i][0], mechanism_info.mi_mechanism_name, in C_GetMechanismList() 304 &mechanism_info)) < 0) { in C_GetMechanismList() 312 if (mechanism_info.mi_return_value != CRYPTO_SUCCESS) in C_GetMechanismList() 315 flags = mechanism_info.mi_flags; in C_GetMechanismList()
|
H A D | kernelUtil.c | 1230 crypto_get_provider_mechanism_info_t mechanism_info; in get_mechanism_info() local 1248 (void) strcpy(mechanism_info.mi_mechanism_name, string); in get_mechanism_info() 1249 mechanism_info.mi_provider_id = pslot->sl_provider_id; in get_mechanism_info() 1252 &mechanism_info)) < 0) { in get_mechanism_info() 1260 mechanism_info.mi_return_value); in get_mechanism_info() 1271 mi_flags = mechanism_info.mi_flags; in get_mechanism_info() 1321 pInfo->ulMinKeySize = mechanism_info.mi_min_key_size; in get_mechanism_info() 1322 pInfo->ulMaxKeySize = mechanism_info.mi_max_key_size; in get_mechanism_info()
|
/titanic_50/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | metaSlotToken.c | 307 (void) memcpy(pInfo, &(slots[0]->mechanism_info), in meta_GetMechanismInfo() 315 thisValue = slots[i]->mechanism_info.ulMinKeySize; in meta_GetMechanismInfo() 321 thisValue = slots[i]->mechanism_info.ulMaxKeySize; in meta_GetMechanismInfo() 326 pInfo->flags |= slots[i]->mechanism_info.flags; in meta_GetMechanismInfo()
|
H A D | metaMechManager.c | 244 info = mechlist[index].slots[i].mechanism_info; in meta_mechManager_get_slots() 468 bzero(&mechlist[index].slots[slotnum].mechanism_info, in update_slotmech() 477 mechlist[index].slots[slotnum].mechanism_info = info; in update_slotmech() 482 bzero(&mechlist[index].slots[slotnum].mechanism_info, in update_slotmech() 672 info = mechlist[index].slots[slotnum].mechanism_info; in meta_mechManager_slot_supports_mech()
|
H A D | metaGlobal.h | 289 CK_MECHANISM_INFO mechanism_info; member
|
/titanic_50/usr/src/uts/common/crypto/io/ |
H A D | crypto.c | 1615 crypto_get_provider_mechanism_info_t mechanism_info; in get_provider_mechanism_info() local 1628 if (copyin(arg, &mechanism_info, sizeof (mechanism_info)) != 0) { in get_provider_mechanism_info() 1647 if (mechanism_info.mi_provider_id >= cm->cm_provider_count) { in get_provider_mechanism_info() 1652 pd = cm->cm_provider_array[mechanism_info.mi_provider_id]; in get_provider_mechanism_info() 1657 mechanism_info.mi_mechanism_name, in get_provider_mechanism_info() 1670 if (is_mech_disabled(pd, mechanism_info.mi_mechanism_name)) { in get_provider_mechanism_info() 1675 mechanism_info.mi_min_key_size = mi->cm_min_key_length; in get_provider_mechanism_info() 1676 mechanism_info.mi_max_key_size = mi->cm_max_key_length; in get_provider_mechanism_info() 1677 mechanism_info.mi_flags = mi->cm_func_group_mask; in get_provider_mechanism_info() 1682 mechanism_info.mi_return_value = rv; in get_provider_mechanism_info() [all …]
|