/titanic_41/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softOps.h | 40 CK_RV soft_digest_init(soft_session_t *, CK_MECHANISM_PTR); 42 CK_RV soft_digest(soft_session_t *, CK_BYTE_PTR, CK_ULONG, CK_BYTE_PTR, 45 CK_RV soft_digest_update(soft_session_t *, CK_BYTE_PTR, CK_ULONG); 47 CK_RV soft_digest_final(soft_session_t *, CK_BYTE_PTR, CK_ULONG_PTR); 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 *); 53 CK_RV soft_encrypt_init(soft_session_t *, CK_MECHANISM_PTR, soft_object_t *); 55 CK_RV soft_encrypt(soft_session_t *, CK_BYTE_PTR, CK_ULONG, CK_BYTE_PTR, 58 CK_RV soft_encrypt_update(soft_session_t *, CK_BYTE_PTR, CK_ULONG, 61 CK_RV soft_encrypt_final(soft_session_t *, CK_BYTE_PTR, CK_ULONG_PTR); [all …]
|
H A D | softCrypt.h | 78 CK_RV soft_des_crypt_init_common(soft_session_t *, CK_MECHANISM_PTR, 81 CK_RV soft_des_encrypt_common(soft_session_t *, CK_BYTE_PTR, CK_ULONG, 84 CK_RV soft_des_decrypt_common(soft_session_t *, CK_BYTE_PTR, CK_ULONG, 87 CK_RV soft_des_sign_verify_common(soft_session_t *session_p, CK_BYTE_PTR pData, 91 CK_RV soft_des_sign_verify_init_common(soft_session_t *session_p, 94 CK_RV soft_des_mac_sign_verify_update(soft_session_t *session_p, 101 CK_RV soft_arcfour_crypt_init(soft_session_t *, CK_MECHANISM_PTR, 110 CK_RV soft_aes_crypt_init_common(soft_session_t *, CK_MECHANISM_PTR, 113 CK_RV soft_aes_encrypt_common(soft_session_t *, CK_BYTE_PTR, CK_ULONG, 116 CK_RV soft_aes_decrypt_common(soft_session_t *, CK_BYTE_PTR, CK_ULONG, [all …]
|
H A D | softRSA.h | 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, 82 CK_RV soft_rsa_verify_recover(soft_session_t *, CK_BYTE_PTR, CK_ULONG,
|
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 *, 58 CK_ULONG *, soft_session_t *, CK_OBJECT_CLASS, CK_KEY_TYPE, 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 | softSession.h | 99 } soft_session_t; typedef 170 extern soft_session_t *soft_session_list; 179 CK_RV handle2session(CK_SESSION_HANDLE hSession, soft_session_t **session_p); 183 void soft_delete_all_objects_in_session(soft_session_t *sp, boolean_t force); 188 CK_RV soft_delete_session(soft_session_t *sp, 191 CK_RV soft_get_operationstate(soft_session_t *, CK_BYTE_PTR, CK_ULONG_PTR); 192 CK_RV soft_set_operationstate(soft_session_t *, CK_BYTE_PTR, CK_ULONG, 202 void soft_acquire_all_session_mutexes(soft_session_t *session_p); 203 void soft_release_all_session_mutexes(soft_session_t *session_p);
|
H A D | softDSA.h | 53 CK_RV soft_dsa_sign_verify_init_common(soft_session_t *, CK_MECHANISM_PTR, 56 CK_RV soft_dsa_verify(soft_session_t *, CK_BYTE_PTR, CK_ULONG, 59 CK_RV soft_dsa_sign(soft_session_t *, CK_BYTE_PTR, CK_ULONG, 64 CK_RV soft_dsa_digest_sign_common(soft_session_t *, CK_BYTE_PTR, 67 CK_RV soft_dsa_digest_verify_common(soft_session_t *, CK_BYTE_PTR,
|
H A D | softEC.h | 53 extern CK_RV soft_ecc_sign_verify_init_common(soft_session_t *, 55 extern CK_RV soft_ecc_sign(soft_session_t *, CK_BYTE_PTR, CK_ULONG, 57 extern CK_RV soft_ecc_verify(soft_session_t *, CK_BYTE_PTR, CK_ULONG, 59 extern CK_RV soft_ecc_digest_sign_common(soft_session_t *, CK_BYTE_PTR, 61 extern CK_RV soft_ecc_digest_verify_common(soft_session_t *, CK_BYTE_PTR,
|
H A D | softSessionUtil.c | 59 soft_session_t *session_p; in soft_delete_all_sessions() 60 soft_session_t *session_p1; in soft_delete_all_sessions() 110 soft_session_t *new_sp = NULL; in soft_add_session() 113 new_sp = calloc(1, sizeof (soft_session_t)); in soft_add_session() 194 session_delay_free(soft_session_t *sp) in session_delay_free() 196 soft_session_t *tmp; in session_delay_free() 241 soft_delete_session(soft_session_t *session_p, in soft_delete_session() 410 handle2session(CK_SESSION_HANDLE hSession, soft_session_t **session_p) in handle2session() 413 soft_session_t *sp = (soft_session_t *)(hSession); in handle2session() 451 soft_get_operationstate(soft_session_t *session_p, CK_BYTE_PTR pOperationState, in soft_get_operationstate() [all …]
|
H A D | softDigestUtil.c | 58 soft_digest_init(soft_session_t *session_p, CK_MECHANISM_PTR pMechanism) in soft_digest_init() 168 soft_digest_common(soft_session_t *session_p, CK_BYTE_PTR pData, in soft_digest_common() 335 soft_digest(soft_session_t *session_p, CK_BYTE_PTR pData, CK_ULONG ulDataLen, in soft_digest() 361 soft_digest_update(soft_session_t *session_p, CK_BYTE_PTR pPart, in soft_digest_update() 419 soft_digest_final(soft_session_t *session_p, CK_BYTE_PTR pDigest, in soft_digest_final() 436 soft_digest_init_internal(soft_session_t *session_p, CK_MECHANISM_PTR in soft_digest_init_internal() 469 soft_digest_key(soft_session_t *session_p, soft_object_t *key_p) in soft_digest_key() 495 soft_digest_cleanup(soft_session_t *session_p, boolean_t lock_held) in soft_digest_cleanup()
|
H A D | softMAC.h | 126 CK_RV soft_hmac_sign_verify_init_common(soft_session_t *, CK_MECHANISM_PTR, 129 CK_RV mac_init_ctx(soft_session_t *session_p, soft_object_t *, 132 CK_RV soft_hmac_sign_verify_common(soft_session_t *, CK_BYTE_PTR, 135 CK_RV soft_hmac_sign_verify_update(soft_session_t *, CK_BYTE_PTR,
|
H A D | softObject.c | 44 soft_session_t *session_p; in C_CreateObject() 83 soft_session_t *session_p; in C_CopyObject() 213 soft_session_t *session_p = (soft_session_t *)(hSession); in C_DestroyObject() 335 soft_session_t *session_p; in C_GetAttributeValue() 416 soft_session_t *session_p; in C_SetAttributeValue() 566 soft_session_t *session_p; in C_FindObjectsInit() 626 soft_session_t *session_p; in C_FindObjects() 679 soft_session_t *session_p; in C_FindObjectsFinal()
|
H A D | softSignUtil.c | 55 soft_sign_init(soft_session_t *session_p, CK_MECHANISM_PTR pMechanism, in soft_sign_init() 129 soft_sign(soft_session_t *session_p, CK_BYTE_PTR pData, in soft_sign() 245 soft_sign_update(soft_session_t *session_p, CK_BYTE_PTR pPart, in soft_sign_update() 311 soft_sign_final(soft_session_t *session_p, CK_BYTE_PTR pSignature, in soft_sign_final() 397 soft_sign_recover_init(soft_session_t *session_p, CK_MECHANISM_PTR pMechanism, in soft_sign_recover_init() 416 soft_sign_recover(soft_session_t *session_p, CK_BYTE_PTR pData, in soft_sign_recover() 442 soft_sign_verify_cleanup(soft_session_t *session_p, boolean_t sign, in soft_sign_verify_cleanup()
|
H A D | softSession.c | 76 soft_session_t *session_p; in C_CloseSession() 185 soft_session_t *session_p; in C_GetSessionInfo() 230 soft_session_t *session_p; in C_GetOperationState() 271 soft_session_t *session_p; in C_SetOperationState() 305 soft_session_t *session_p, *sp; in C_Login() 409 soft_session_t *session_p, *sp; in C_Logout()
|
H A D | softVerify.c | 40 soft_session_t *session_p; in C_VerifyInit() 109 soft_session_t *session_p; in C_Verify() 168 soft_session_t *session_p; in C_VerifyUpdate() 227 soft_session_t *session_p; in C_VerifyFinal() 268 soft_session_t *session_p; in C_VerifyRecoverInit() 337 soft_session_t *session_p; in C_VerifyRecover()
|
H A D | softVerifyUtil.c | 56 soft_verify_init(soft_session_t *session_p, CK_MECHANISM_PTR pMechanism, in soft_verify_init() 130 soft_verify(soft_session_t *session_p, CK_BYTE_PTR pData, in soft_verify() 256 soft_verify_update(soft_session_t *session_p, CK_BYTE_PTR pPart, in soft_verify_update() 322 soft_verify_final(soft_session_t *session_p, CK_BYTE_PTR pSignature, in soft_verify_final() 420 soft_verify_recover_init(soft_session_t *session_p, CK_MECHANISM_PTR pMechanism, in soft_verify_recover_init() 439 soft_verify_recover(soft_session_t *session_p, CK_BYTE_PTR pSignature, in soft_verify_recover()
|
H A D | softSign.c | 40 soft_session_t *session_p; in C_SignInit() 109 soft_session_t *session_p; in C_Sign() 180 soft_session_t *session_p; in C_SignUpdate() 239 soft_session_t *session_p; in C_SignFinal() 297 soft_session_t *session_p; in C_SignRecoverInit() 366 soft_session_t *session_p; in C_SignRecover()
|
H A D | softDigest.c | 38 soft_session_t *session_p; in C_DigestInit() 109 soft_session_t *session_p; in C_Digest() 208 soft_session_t *session_p; in C_DigestUpdate() 286 soft_session_t *session_p; in C_DigestKey() 371 soft_session_t *session_p; in C_DigestFinal()
|
H A D | softSSL.h | 38 CK_RV soft_ssl_master_key_derive(soft_session_t *, CK_MECHANISM_PTR, 40 CK_RV soft_ssl_key_and_mac_derive(soft_session_t *, CK_MECHANISM_PTR,
|
H A D | softDecrypt.c | 40 soft_session_t *session_p; in C_DecryptInit() 109 soft_session_t *session_p; in C_Decrypt() 197 soft_session_t *session_p; in C_DecryptUpdate() 275 soft_session_t *session_p; in C_DecryptFinal()
|
H A D | softEncrypt.c | 40 soft_session_t *session_p; in C_EncryptInit() 109 soft_session_t *session_p; in C_Encrypt() 198 soft_session_t *session_p; in C_EncryptUpdate() 277 soft_session_t *session_p; in C_EncryptFinal()
|
H A D | softKeys.c | 39 soft_session_t *session_p; in C_GenerateKey() 78 soft_session_t *session_p; in C_GenerateKeyPair() 122 soft_session_t *session_p; in C_WrapKey() 224 soft_session_t *session_p; in C_UnwrapKey() 324 soft_session_t *session_p; in C_DeriveKey()
|
H A D | softRand.c | 40 soft_session_t *session_p; in C_SeedRandom() 72 soft_session_t *session_p; in C_GenerateRandom()
|
H A D | softObjectUtil.c | 44 soft_add_object_to_session(soft_object_t *objp, soft_session_t *sp) in soft_add_object_to_session() 103 CK_ULONG object_func, soft_session_t *sp) in soft_copy_object() 229 CK_ULONG *objecthandle_p, soft_session_t *sp) in soft_add_object() 330 soft_remove_object_from_session(soft_object_t *objp, soft_session_t *sp) in soft_remove_object_from_session() 508 soft_delete_object(soft_session_t *sp, soft_object_t *objp, in soft_delete_object() 549 soft_delete_all_objects_in_session(soft_session_t *sp, boolean_t force) in soft_delete_all_objects_in_session() 594 soft_session_t *session_p; in search_for_objects() 734 soft_find_objects_init(soft_session_t *sp, CK_ATTRIBUTE_PTR pTemplate, in soft_find_objects_init() 770 soft_find_objects_final(soft_session_t *sp) in soft_find_objects_final() 785 soft_find_objects(soft_session_t *sp, CK_OBJECT_HANDLE *obj_found, in soft_find_objects() [all …]
|
H A D | softEncryptUtil.c | 57 soft_encrypt_init_internal(soft_session_t *session_p, CK_MECHANISM_PTR in soft_encrypt_init_internal() 106 soft_encrypt_init(soft_session_t *session_p, CK_MECHANISM_PTR pMechanism, in soft_encrypt_init() 371 soft_encrypt_common(soft_session_t *session_p, CK_BYTE_PTR pData, in soft_encrypt_common() 462 soft_encrypt(soft_session_t *session_p, CK_BYTE_PTR pData, in soft_encrypt() 490 soft_encrypt_update(soft_session_t *session_p, CK_BYTE_PTR pPart, in soft_encrypt_update() 540 soft_encrypt_final(soft_session_t *session_p, CK_BYTE_PTR pLastEncryptedPart, in soft_encrypt_final() 842 soft_crypt_cleanup(soft_session_t *session_p, boolean_t encrypt, in soft_crypt_cleanup()
|
/titanic_41/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelSoftCommon.c | 50 soft_session_t *session_p; in do_soft_digest() 53 session_p = *((soft_session_t **)s); in do_soft_digest() 59 session_p = calloc(1, sizeof (soft_session_t)); in do_soft_digest() 111 soft_session_t *session_p; in do_soft_hmac_init() 113 session_p = *((soft_session_t **)s); in do_soft_hmac_init() 115 session_p = calloc(1, sizeof (soft_session_t)); in do_soft_hmac_init() 150 soft_session_t *session_p; in do_soft_hmac_update() 152 session_p = *((soft_session_t **)s); in do_soft_hmac_update() 169 soft_session_t *session_p; in do_soft_hmac_sign() 172 session_p = *((soft_session_t **)s); in do_soft_hmac_sign() [all …]
|