Searched refs:basekey_p (Results 1 – 4 of 4) sorted by relevance
/titanic_50/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softSSL.c | 378 derive_tls_prf(CK_TLS_PRF_PARAMS_PTR param, soft_object_t *basekey_p) in derive_tls_prf() argument 384 (void) soft_tls_prf(OBJ_SEC_VALUE(basekey_p), in derive_tls_prf() 385 OBJ_SEC_VALUE_LEN(basekey_p), param->pLabel, param->ulLabelLen, in derive_tls_prf() 422 soft_object_t *basekey_p, CK_ATTRIBUTE_PTR pTemplate, in soft_ssl_master_key_derive() argument 425 uchar_t *pmsecret = OBJ_SEC_VALUE(basekey_p); in soft_ssl_master_key_derive() 428 uint_t pmlen = (uint_t)OBJ_SEC_VALUE_LEN(basekey_p); in soft_ssl_master_key_derive() 430 uint_t pmlen = OBJ_SEC_VALUE_LEN(basekey_p); in soft_ssl_master_key_derive() 571 rv = soft_add_derived_key(new_tmpl, newattrcount, phKey, sp, basekey_p); in soft_ssl_master_key_derive() 617 soft_object_t *basekey_p, CK_ATTRIBUTE_PTR pTemplate, in soft_ssl_key_and_mac_derive() argument 620 uchar_t *msecret = OBJ_SEC_VALUE(basekey_p); in soft_ssl_key_and_mac_derive() [all …]
|
H A D | softKeys.c | 325 soft_object_t *basekey_p; in C_DeriveKey() local 348 HANDLE2OBJECT(hBaseKey, basekey_p, rv); in C_DeriveKey() 353 if (!(basekey_p->bool_attr_mask & DERIVE_BOOL_ON)) { in C_DeriveKey() 358 rv = soft_derivekey(session_p, pMechanism, basekey_p, in C_DeriveKey() 362 OBJ_REFRELE(basekey_p); in C_DeriveKey()
|
H A D | softKeysUtil.c | 850 soft_object_t *basekey_p, CK_ATTRIBUTE_PTR pTemplate, in soft_derivekey() argument 879 rv = soft_dh_key_derive(basekey_p, secret_key, in soft_derivekey() 911 rv = soft_ec_key_derive(basekey_p, secret_key, in soft_derivekey() 997 rv = soft_digest(session_p, OBJ_SEC_VALUE(basekey_p), in soft_derivekey() 998 OBJ_SEC_VALUE_LEN(basekey_p), hash, &hash_len); in soft_derivekey() 1052 basekey_p, pTemplate, ulAttributeCount, phKey)); in soft_derivekey() 1057 basekey_p, pTemplate, ulAttributeCount)); in soft_derivekey() 1069 (CK_TLS_PRF_PARAMS_PTR)pMechanism->pParameter, basekey_p)); in soft_derivekey() 1075 soft_derive_enforce_flags(basekey_p, secret_key); in soft_derivekey()
|
/titanic_50/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelKeys.c | 144 kernel_object_t *basekey_p, ulong_t *key_len) in get_key_len_from_template() argument 194 if (kernel_get_attribute(basekey_p, &tmp) != CKR_OK) { in get_key_len_from_template() 2180 crypto_mech_type_t k_mech_type, kernel_object_t *basekey_p, in derive_key_by_value() argument 2200 basekey_p, &key_len); in derive_key_by_value() 2264 rv = get_base_key_attributes(basekey_p, &obj_ndk.ndk_base_key); in derive_key_by_value() 2329 kernel_object_t *basekey_p; in C_DeriveKey() local 2358 HANDLE2OBJECT(hBaseKey, basekey_p, rv); in C_DeriveKey() 2385 ulAttributeCount, session_p, k_mech_type, basekey_p, in C_DeriveKey() 2411 obj_dk.dk_base_key.ck_obj_id = basekey_p->k_handle; in C_DeriveKey() 2470 OBJ_REFRELE(basekey_p); in C_DeriveKey() [all …]
|