/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | globals.c | 32 extern CK_RV LW_Initialize(); 37 extern CK_RV SC_InitToken(); 38 extern CK_RV SC_InitPIN(); 39 extern CK_RV SC_SetPIN(); 46 extern CK_RV SC_Login(); 47 extern CK_RV SC_Logout(); 58 extern CK_RV SC_Encrypt(); 62 extern CK_RV SC_Decrypt(); 66 extern CK_RV SC_Digest(); 71 extern CK_RV SC_Sign(); [all …]
|
H A D | tpmtok_int.h | 1265 typedef CK_RV 1268 typedef CK_RV 1271 typedef CK_RV 1273 typedef CK_RV 1276 typedef CK_RV 1279 typedef CK_RV 1283 typedef CK_RV 1286 typedef CK_RV 1289 typedef CK_RV 1293 typedef CK_RV [all …]
|
H A D | api_interface.c | 382 CK_RV 392 CK_RV 448 CK_RV 477 CK_RV 514 CK_RV 549 CK_RV 574 CK_RV 603 CK_RV 635 CK_RV 660 CK_RV [all …]
|
H A D | new_host.c | 113 CK_RV 201 CK_RV 248 CK_RV 273 CK_RV 325 CK_RV 370 CK_RV 444 CK_RV 506 CK_RV 546 CK_RV 599 CK_RV [all …]
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softOps.h | 40 CK_RV soft_digest_init(soft_session_t *, CK_MECHANISM_PTR); 45 CK_RV soft_digest_update(soft_session_t *, CK_BYTE_PTR, CK_ULONG); 49 CK_RV soft_digest_init_internal(soft_session_t *, CK_MECHANISM_PTR); 51 CK_RV soft_digest_key(soft_session_t *, soft_object_t *); 58 CK_RV soft_encrypt_update(soft_session_t *, CK_BYTE_PTR, CK_ULONG, 71 CK_RV soft_decrypt_update(soft_session_t *, CK_BYTE_PTR, CK_ULONG, 81 CK_RV soft_sign_update(soft_session_t *, CK_BYTE_PTR, CK_ULONG); 90 CK_RV soft_verify_update(soft_session_t *, CK_BYTE_PTR, CK_ULONG); 92 CK_RV soft_verify_final(soft_session_t *, CK_BYTE_PTR, CK_ULONG); 94 CK_RV soft_sign_recover_init(soft_session_t *, CK_MECHANISM_PTR, [all …]
|
H A D | softCrypt.h | 86 CK_RV soft_des_crypt_init_common(soft_session_t *, CK_MECHANISM_PTR, 89 CK_RV soft_des_encrypt_common(soft_session_t *, CK_BYTE_PTR, CK_ULONG, 92 CK_RV soft_des_decrypt_common(soft_session_t *, CK_BYTE_PTR, CK_ULONG, 95 CK_RV soft_des_sign_verify_common(soft_session_t *, CK_BYTE_PTR, 106 CK_RV soft_remove_pkcs7_padding(CK_BYTE *, CK_ULONG, CK_ULONG *); 108 CK_RV soft_arcfour_crypt_init(soft_session_t *, CK_MECHANISM_PTR, 111 CK_RV soft_arcfour_crypt(crypto_active_op_t *, CK_BYTE_PTR, CK_ULONG, 114 CK_RV soft_aes_crypt_init_common(soft_session_t *, CK_MECHANISM_PTR, 117 CK_RV soft_aes_encrypt(soft_session_t *, CK_BYTE_PTR, CK_ULONG, 120 CK_RV soft_aes_decrypt(soft_session_t *, CK_BYTE_PTR, CK_ULONG, [all …]
|
H A D | softRSA.h | 51 CK_RV soft_rsa_encrypt(soft_object_t *, CK_BYTE_PTR, uint32_t, CK_BYTE_PTR, 56 CK_RV soft_rsa_crypt_init_common(soft_session_t *, CK_MECHANISM_PTR, 59 CK_RV soft_rsa_encrypt_common(soft_session_t *, CK_BYTE_PTR, CK_ULONG, 62 CK_RV soft_rsa_decrypt_common(soft_session_t *, CK_BYTE_PTR, CK_ULONG, 65 CK_RV soft_rsa_sign_verify_init_common(soft_session_t *, CK_MECHANISM_PTR, 68 CK_RV soft_rsa_verify_common(soft_session_t *, CK_BYTE_PTR, CK_ULONG, 71 CK_RV soft_rsa_sign_common(soft_session_t *, CK_BYTE_PTR, CK_ULONG, 74 CK_RV soft_rsa_digest_sign_common(soft_session_t *, CK_BYTE_PTR, 77 CK_RV soft_rsa_digest_verify_common(soft_session_t *, CK_BYTE_PTR, 80 CK_RV soft_rsa_genkey_pair(soft_object_t *, soft_object_t *); [all …]
|
H A D | softKeystore.h | 90 CK_RV soft_verify_pin(CK_UTF8CHAR_PTR pPin, CK_ULONG ulPinLen); 92 CK_RV soft_gen_crypt_key(uchar_t *pPIN, soft_object_t **key, 106 CK_RV soft_pack_object(struct object *objp, uchar_t *buf); 108 CK_RV soft_unpack_object(struct object *objp, uchar_t *buf); 110 CK_RV soft_setpin(CK_UTF8CHAR_PTR pOldPin, CK_ULONG ulOldPinLen, 113 CK_RV soft_put_object_to_keystore(struct object *objp); 115 CK_RV soft_modify_object_to_keystore(struct object *objp); 117 CK_RV soft_get_token_objects_from_keystore(ks_search_type_t type); 119 CK_RV soft_init_token_session(void); 123 CK_RV soft_keystore_crypt(soft_object_t *key_p, uchar_t *ivec, [all …]
|
H A D | softEC.h | 44 extern CK_RV soft_get_public_key_attribute(soft_object_t *, CK_ATTRIBUTE_PTR); 45 extern CK_RV soft_get_private_key_attribute(soft_object_t *, CK_ATTRIBUTE_PTR); 46 extern CK_RV set_extra_attr_to_object(soft_object_t *, CK_ATTRIBUTE_TYPE, 48 extern CK_RV soft_ec_genkey_pair(soft_object_t *, soft_object_t *); 49 extern CK_RV soft_ec_key_derive(soft_object_t *, soft_object_t *, void *, 51 extern CK_RV soft_ecc_sign_verify_init_common(soft_session_t *, 53 extern CK_RV soft_ecc_sign(soft_session_t *, CK_BYTE_PTR, CK_ULONG, 55 extern CK_RV soft_ecc_verify(soft_session_t *, CK_BYTE_PTR, CK_ULONG, 57 extern CK_RV soft_ecc_digest_sign_common(soft_session_t *, CK_BYTE_PTR, 59 extern CK_RV soft_ecc_digest_verify_common(soft_session_t *, CK_BYTE_PTR,
|
H A D | softSession.c | 34 CK_RV 70 CK_RV 74 CK_RV rv; in C_CloseSession() 138 CK_RV 181 CK_RV 186 CK_RV rv; in C_GetSessionInfo() 226 CK_RV 231 CK_RV rv; in C_GetOperationState() 266 CK_RV 300 CK_RV [all …]
|
H A D | softKeys.h | 45 CK_RV soft_genkey(soft_session_t *, CK_MECHANISM_PTR, 48 CK_RV soft_genkey_pair(soft_session_t *, CK_MECHANISM_PTR, CK_ATTRIBUTE_PTR, 52 CK_RV soft_derivekey(soft_session_t *, CK_MECHANISM_PTR, soft_object_t *, 57 CK_RV soft_gen_keyobject(CK_ATTRIBUTE_PTR, CK_ULONG, 61 CK_RV soft_generate_pkcs5_pbkdf2_key(soft_session_t *, CK_MECHANISM_PTR, 64 CK_RV soft_wrapkey(soft_session_t *, CK_MECHANISM_PTR, soft_object_t *, 67 CK_RV soft_unwrapkey(soft_session_t *, CK_MECHANISM_PTR, soft_object_t *,
|
H A D | softDualCrypt.c | 33 CK_RV 39 CK_RV rv; in C_DigestEncryptUpdate() 62 CK_RV 67 CK_RV rv; in C_DecryptDigestUpdate() 90 CK_RV 96 CK_RV rv; in C_SignEncryptUpdate() 119 CK_RV 124 CK_RV rv; in C_DecryptVerifyUpdate()
|
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | metaGlobal.h | 569 CK_RV meta_slotManager_initialize(); 576 CK_RV meta_mechManager_initialize(); 600 CK_RV meta_wrap_key(meta_session_t *session, 620 CK_RV meta_sessionManager_initialize(); 631 CK_RV meta_objectManager_initialize(); 667 CK_RV get_master_attributes_by_template( 674 CK_RV get_master_attributes_by_duplication( 700 CK_RV meta_Initialize(CK_VOID_PTR pInitArgs); 701 CK_RV meta_Finalize(CK_VOID_PTR pReserved); 702 CK_RV meta_GetInfo(CK_INFO_PTR pInfo); [all …]
|
H A D | pkcs11Object.c | 36 CK_RV 43 CK_RV rv; in C_CreateObject() 79 CK_RV 84 CK_RV rv; in C_CopyObject() 120 CK_RV 158 CK_RV 199 CK_RV 239 CK_RV 279 CK_RV 319 CK_RV [all …]
|
H A D | metaCrypt.c | 39 CK_RV 43 CK_RV rv; in meta_EncryptInit() 73 CK_RV 78 CK_RV rv; in meta_Encrypt() 115 CK_RV 120 CK_RV rv; in meta_EncryptUpdate() 146 CK_RV 176 CK_RV 210 CK_RV 241 CK_RV [all …]
|
H A D | pkcs11Crypt.c | 41 CK_RV 46 CK_RV rv; in C_EncryptInit() 93 CK_RV 100 CK_RV rv; in C_Encrypt() 136 CK_RV 143 CK_RV rv; in C_EncryptUpdate() 179 CK_RV 224 CK_RV 276 CK_RV 319 CK_RV [all …]
|
H A D | pkcs11Session.c | 40 CK_RV 45 CK_RV rv; in C_OpenSession() 115 CK_RV 118 CK_RV rv; in C_CloseSession() 161 CK_RV 244 CK_RV 248 CK_RV rv; in C_GetSessionInfo() 302 CK_RV 344 CK_RV 388 CK_RV [all …]
|
H A D | metaSign.c | 38 CK_RV 42 CK_RV rv; in meta_SignInit() 72 CK_RV 77 CK_RV rv; in meta_Sign() 103 CK_RV 107 CK_RV rv; in meta_SignUpdate() 133 CK_RV 137 CK_RV rv; in meta_SignFinal() 162 CK_RV 166 CK_RV rv; in meta_SignRecoverInit() [all …]
|
H A D | metaDigest.c | 39 CK_RV 42 CK_RV rv; in meta_DigestInit() 64 CK_RV 68 CK_RV rv; in meta_Digest() 92 CK_RV 96 CK_RV rv; in meta_DigestUpdate() 126 CK_RV 129 CK_RV rv; in meta_DigestKey() 158 CK_RV 162 CK_RV rv; in meta_DigestFinal()
|
H A D | metaVerify.c | 38 CK_RV 42 CK_RV rv; in meta_VerifyInit() 72 CK_RV 76 CK_RV rv; in meta_Verify() 103 CK_RV 107 CK_RV rv; in meta_VerifyUpdate() 133 CK_RV 137 CK_RV rv; in meta_VerifyFinal() 167 CK_RV 171 CK_RV rv; in meta_VerifyRecoverInit() [all …]
|
H A D | metaSlotToken.c | 48 CK_RV 52 CK_RV rv; in meta_GetSlotList() 82 CK_RV 87 CK_RV rv; in meta_GetSlotInfo() 132 CK_RV 219 CK_RV 238 CK_RV 270 CK_RV 347 CK_RV 361 CK_RV [all …]
|
H A D | pkcs11Sign.c | 40 CK_RV 45 CK_RV rv; in C_SignInit() 92 CK_RV 99 CK_RV rv; in C_Sign() 136 CK_RV 139 CK_RV rv; in C_SignUpdate() 175 CK_RV 179 CK_RV rv; in C_SignFinal() 218 CK_RV 222 CK_RV rv; in C_SignRecoverInit() [all …]
|
H A D | pkcs11Verify.c | 40 CK_RV 44 CK_RV rv; in C_VerifyInit() 92 CK_RV 96 CK_RV rv; in C_Verify() 133 CK_RV 137 CK_RV rv; in C_VerifyUpdate() 173 CK_RV 177 CK_RV rv; in C_VerifyFinal() 216 CK_RV 220 CK_RV rv; in C_VerifyRecoverInit() [all …]
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelGlobal.h | 75 CK_RV kernel_mech(CK_MECHANISM_TYPE, crypto_mech_type_t *); 77 CK_RV get_rsa_public_key(kernel_object_t *, crypto_key_t *); 78 CK_RV get_rsa_private_key(kernel_object_t *, crypto_key_t *); 79 CK_RV get_dsa_public_key(kernel_object_t *, crypto_key_t *); 80 CK_RV get_dsa_private_key(kernel_object_t *, crypto_key_t *); 81 CK_RV get_ec_public_key(kernel_object_t *, crypto_key_t *); 82 CK_RV get_ec_private_key(kernel_object_t *, crypto_key_t *); 87 CK_RV get_object_attributes(CK_ATTRIBUTE_PTR, CK_ULONG, caddr_t); 93 CK_RV get_mechanism_info(kernel_slot_t *, CK_MECHANISM_TYPE, 95 CK_RV kernel_decrypt_init(kernel_session_t *, kernel_object_t *, [all …]
|
/illumos-gate/usr/src/test/crypto-tests/tests/common/ |
H A D | cryptotest_pkcs.c | 89 CK_RV rv; in cryptotest_close_session() 112 CK_RV rv; in get_mech_info() 127 CK_RV rv; in get_hsession_by_mech() 146 CK_RV rv; in sign_init() 169 CK_RV rv; in sign_single() 181 CK_RV rv; in sign_update() 192 CK_RV rv; in sign_final() 233 CK_RV rv; in verify_init() 256 CK_RV rv; in verify_single() 268 CK_RV rv; in verify_update() [all …]
|