Searched defs:secret_key (Results 1 - 6 of 6) sorted by relevance

/osnet-11/usr/src/lib/pkcs11/pkcs11_kms/common/
H A DkmsObject.h86 secret_key_obj_t *secret_key; member in union:object::__anon2806
129 ((o)->object_class_u.secret_key)
131 ((o)->object_class_u.secret_key->sk_value)
133 ((o)->object_class_u.secret_key->sk_value_len)
135 ((o)->object_class_u.secret_key->key_sched)
137 ((o)->object_class_u.secret_key->keysched_len)
/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystore.c1735 objp->object_class_u.secret_key = sck;
2010 soft_object_t *secret_key; local
2077 secret_key = (soft_object_t *)hKey;
2078 keylen = OBJ_SEC_VALUE_LEN(secret_key);
2079 if ((OBJ_SEC_VALUE(secret_key) = malloc(keylen)) == NULL) {
2080 soft_delete_object(&token_session, secret_key,
2086 secret_key);
2089 soft_delete_object(&token_session, secret_key,
2092 *key = secret_key;
2135 soft_object_t *secret_key; local
[all...]
H A DsoftSSL.c978 soft_object_t *secret_key; local
980 if ((secret_key = calloc(1, sizeof (soft_object_t))) == NULL) {
984 if (((rv = soft_build_secret_key_object(tmpl, attrcount, secret_key,
986 ((rv = soft_pin_expired_check(secret_key)) != CKR_OK) ||
987 ((rv = soft_object_write_access_check(sp, secret_key)) != CKR_OK)) {
989 free(secret_key);
994 soft_derive_enforce_flags(basekey_p, secret_key);
997 (void) pthread_rwlock_init(&secret_key->object_rwlock, NULL);
998 (void) pthread_mutex_init(&secret_key->object_mutex, NULL);
999 secret_key
[all...]
H A DsoftKeysUtil.c162 soft_object_t *secret_key; local
272 secret_key = (soft_object_t *)*phKey;
280 keylen = OBJ_SEC_VALUE_LEN(secret_key) = DES_KEYSIZE;
289 keylen = OBJ_SEC_VALUE_LEN(secret_key) = DES2_KEYSIZE;
298 keylen = OBJ_SEC_VALUE_LEN(secret_key) = DES3_KEYSIZE;
304 secret_key->bool_attr_mask |= DERIVE_BOOL_ON;
311 keylen = OBJ_SEC_VALUE_LEN(secret_key);
321 OBJ_SEC_VALUE_LEN(secret_key) = DES_KEYSIZE;
324 OBJ_SEC_VALUE_LEN(secret_key) = DES3_KEYSIZE;
328 keylen = OBJ_SEC_VALUE_LEN(secret_key);
569 soft_key_derive_check_length(soft_object_t *secret_key, CK_ULONG max_keylen) argument
876 soft_object_t *secret_key; local
1321 soft_generate_pkcs5_pbkdf2_key(soft_session_t *session_p, CK_MECHANISM_PTR pMechanism, soft_object_t *secret_key) argument
[all...]
H A DsoftObject.h327 secret_key_obj_t *secret_key; member in union:object::__anon2816
670 ((o)->object_class_u.secret_key)
672 ((o)->object_class_u.secret_key->sk_value)
674 ((o)->object_class_u.secret_key->sk_value_len)
676 ((o)->object_class_u.secret_key->key_sched)
678 ((o)->object_class_u.secret_key->keysched_len)
/osnet-11/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelObject.h209 secret_key_obj_t *secret_key; member in union:object::__anon2805
257 (o->object_class_u.secret_key)
259 (o->object_class_u.secret_key->sk_value)
261 (o->object_class_u.secret_key->sk_value_len)

Completed in 53 milliseconds