Home
last modified time | relevance | path

Searched refs:crypto2pkcs11_error_number (Results 1 – 18 of 18) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelSlotToken.c106 rv = crypto2pkcs11_error_number( in C_GetSlotInfo()
157 rv = crypto2pkcs11_error_number(gi.gi_return_value); in C_GetTokenInfo()
262 rv = crypto2pkcs11_error_number(tmp.pm_return_value); in C_GetMechanismList()
283 rv = crypto2pkcs11_error_number(pm->pm_return_value); in C_GetMechanismList()
451 rv = crypto2pkcs11_error_number(setpin.sp_return_value); in C_SetPIN()
H A DkernelDigest.c111 rv = crypto2pkcs11_error_number(digest_init.di_return_value); in common_digest_init()
251 rv = crypto2pkcs11_error_number(digest.cd_return_value); in C_Digest()
364 rv = crypto2pkcs11_error_number(digest_update.du_return_value); in C_DigestUpdate()
487 rv = crypto2pkcs11_error_number( in C_DigestKey()
526 rv = crypto2pkcs11_error_number( in C_DigestKey()
664 rv = crypto2pkcs11_error_number(digest_final.df_return_value); in C_DigestFinal()
H A DkernelVerify.c140 rv = crypto2pkcs11_error_number(verify_init.vi_return_value); in C_VerifyInit()
252 rv = crypto2pkcs11_error_number(verify.cv_return_value); in C_Verify()
332 rv = crypto2pkcs11_error_number(verify_update.vu_return_value); in C_VerifyUpdate()
438 rv = crypto2pkcs11_error_number(verify_final.vf_return_value); in C_VerifyFinal()
541 rv = crypto2pkcs11_error_number(vr_init.ri_return_value); in C_VerifyRecoverInit()
614 rv = crypto2pkcs11_error_number( in C_VerifyRecover()
H A DkernelObject.c214 rv = crypto2pkcs11_error_number( in C_CopyObject()
474 rv = crypto2pkcs11_error_number( in C_GetAttributeValue()
585 rv = crypto2pkcs11_error_number( in C_SetAttributeValue()
707 rv = crypto2pkcs11_error_number( in C_GetObjectSize()
798 rv = crypto2pkcs11_error_number( in C_FindObjectsInit()
896 rv = crypto2pkcs11_error_number( in C_FindObjects()
971 rv = crypto2pkcs11_error_number( in C_FindObjectsFinal()
H A DkernelSlottable.c55 rv = crypto2pkcs11_error_number(pl->pl_return_value); in kernel_get_slot_number()
123 rv = crypto2pkcs11_error_number(fl.fl_return_value); in kernel_get_func_list()
233 rv = crypto2pkcs11_error_number(pl->pl_return_value); in kernel_slottable_init()
H A DkernelRand.c67 rv = crypto2pkcs11_error_number( in C_SeedRandom()
114 rv = crypto2pkcs11_error_number( in C_GenerateRandom()
H A DkernelSign.c137 rv = crypto2pkcs11_error_number(sign_init.si_return_value); in C_SignInit()
254 rv = crypto2pkcs11_error_number(sign.cs_return_value); in C_Sign()
349 rv = crypto2pkcs11_error_number(sign_update.su_return_value); in C_SignUpdate()
466 rv = crypto2pkcs11_error_number(sign_final.sf_return_value); in C_SignFinal()
584 rv = crypto2pkcs11_error_number(sr_init.ri_return_value); in C_SignRecoverInit()
653 rv = crypto2pkcs11_error_number(sign_recover.sr_return_value); in C_SignRecover()
H A DkernelDecrypt.c138 rv = crypto2pkcs11_error_number(decrypt_init.di_return_value); in kernel_decrypt_init()
277 rv = crypto2pkcs11_error_number(decrypt.cd_return_value); in kernel_decrypt()
420 rv = crypto2pkcs11_error_number( in C_DecryptUpdate()
499 rv = crypto2pkcs11_error_number(decrypt_final.df_return_value); in C_DecryptFinal()
H A DkernelEncrypt.c158 rv = crypto2pkcs11_error_number( in C_EncryptInit()
287 rv = crypto2pkcs11_error_number(encrypt.ce_return_value); in C_Encrypt()
395 rv = crypto2pkcs11_error_number( in C_EncryptUpdate()
474 rv = crypto2pkcs11_error_number(encrypt_final.ef_return_value); in C_EncryptFinal()
H A DkernelKeys.c319 rv = crypto2pkcs11_error_number(obj_ngk.ngk_return_value); in key_gen_by_value()
446 rv = crypto2pkcs11_error_number(obj_gk.gk_return_value); in C_GenerateKey()
762 rv = crypto2pkcs11_error_number(obj_nkp.nkp_return_value); in key_gen_rsa_by_value()
1038 rv = crypto2pkcs11_error_number(obj_nkp.nkp_return_value); in key_gen_dh_by_value()
1315 rv = crypto2pkcs11_error_number(obj_nkp.nkp_return_value); in key_gen_ec_by_value()
1551 rv = crypto2pkcs11_error_number(obj_kp.kp_return_value); in C_GenerateKeyPair()
1718 rv = crypto2pkcs11_error_number(obj_wrapkey.wk_return_value); in C_WrapKey()
1901 rv = crypto2pkcs11_error_number(obj_unwrapkey.uk_return_value); in C_UnwrapKey()
2274 rv = crypto2pkcs11_error_number(obj_ndk.ndk_return_value); in derive_key_by_value()
2416 rv = crypto2pkcs11_error_number(obj_dk.dk_return_value); in C_DeriveKey()
H A DkernelSession.c515 rv = crypto2pkcs11_error_number(c_login.co_return_value); in C_Login()
571 rv = crypto2pkcs11_error_number(c_logout.cl_return_value); in C_Logout()
H A DkernelUtil.c129 rv = crypto2pkcs11_error_number( in kernel_mech()
868 rv = crypto2pkcs11_error_number(obj_ga.og_return_value); in create_new_tobj_in_lib()
1104 rv = crypto2pkcs11_error_number(obj_ga.og_return_value); in get_cka_private_value()
1148 rv = crypto2pkcs11_error_number( in get_mechanism_info()
H A DkernelObjectUtil.c259 rv = crypto2pkcs11_error_number(objc.oc_return_value); in kernel_add_object()
853 rv = crypto2pkcs11_error_number( in kernel_delete_token_object()
H A DkernelSessionUtil.c136 rv = crypto2pkcs11_error_number(open_session.os_return_value); in kernel_add_session()
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftAESCrypt.c268 return (crypto2pkcs11_error_number(rc)); in soft_aes_init_ctx()
452 rv = crypto2pkcs11_error_number(rc); in soft_aes_encrypt()
459 rv = crypto2pkcs11_error_number(rc); in soft_aes_encrypt()
465 rv = crypto2pkcs11_error_number(rc); in soft_aes_encrypt()
471 rv = crypto2pkcs11_error_number(rc); in soft_aes_encrypt()
777 rv = crypto2pkcs11_error_number(rc); in soft_aes_decrypt()
781 rv = crypto2pkcs11_error_number(rc); in soft_aes_decrypt()
877 rv = crypto2pkcs11_error_number(rc); in soft_aes_encrypt_update()
1254 rv = crypto2pkcs11_error_number(rc); in soft_aes_encrypt_final()
1430 rv = crypto2pkcs11_error_number(rc); in soft_aes_decrypt_final()
/illumos-gate/usr/src/lib/libcryptoutil/common/
H A Dutil.c219 crypto2pkcs11_error_number(uint_t n) in crypto2pkcs11_error_number() function
H A Dcryptoutil.h231 extern CK_RV crypto2pkcs11_error_number(uint_t);
H A Dmapfile-vers45 crypto2pkcs11_error_number;