Lines Matching defs:i_oKey
1144 KMS_DestroyKey(kms_session_t *session, kms_object_t *i_oKey)
1156 (void) pthread_mutex_lock(&i_oKey->object_mutex);
1157 if ((rv = kms_get_object_label(i_oKey, label, sizeof (label)))) {
1158 (void) pthread_mutex_unlock(&i_oKey->object_mutex);
1187 (void) pthread_mutex_unlock(&i_oKey->object_mutex);
1223 KMS_GenerateKey(kms_session_t *session, kms_object_t *i_oKey)
1234 (void) pthread_mutex_lock(&i_oKey->object_mutex);
1243 if ((rv = kms_get_attribute(i_oKey, &stLabel)) != CKR_OK) {
1244 (void) pthread_mutex_unlock(&i_oKey->object_mutex);
1253 kms_encode_attributes(i_oKey, pDescription,
1291 (void) pthread_mutex_unlock(&i_oKey->object_mutex);
1302 (void) pthread_mutex_unlock(&i_oKey->object_mutex);
1310 OBJ_SEC_VALUE(i_oKey) = malloc(oKey.m_iKeyLength);
1311 if (OBJ_SEC_VALUE(i_oKey) == NULL) {
1312 (void) pthread_mutex_unlock(&i_oKey->object_mutex);
1315 (void) memcpy(OBJ_SEC_VALUE(i_oKey), oKey.m_acKey,
1317 OBJ_SEC_VALUE_LEN(i_oKey) = oKey.m_iKeyLength;
1326 (void) pthread_mutex_unlock(&i_oKey->object_mutex);