Lines Matching defs:session
43 meta_session_t *session;
49 rv = meta_handle2session(hSession, &session);
54 rv = meta_object_alloc(session, &key);
58 rv = meta_generate_keys(session, pMechanism, pTemplate, ulCount, key,
70 (void) meta_object_dealloc(session, key, B_TRUE);
73 REFRELEASE(session);
90 meta_session_t *session;
96 rv = meta_handle2session(hSession, &session);
101 rv = meta_object_alloc(session, &key1);
105 rv = meta_object_alloc(session, &key2);
109 rv = meta_generate_keys(session, pMechanism,
124 (void) meta_object_dealloc(session, key1, B_TRUE);
126 (void) meta_object_dealloc(session, key2, B_TRUE);
129 REFRELEASE(session);
145 meta_session_t *session;
151 rv = meta_handle2session(hSession, &session);
157 REFRELEASE(session);
164 REFRELEASE(session);
168 rv = meta_wrap_key(session, pMechanism, wrappingKey,
174 REFRELEASE(session);
191 meta_session_t *session;
197 rv = meta_handle2session(hSession, &session);
203 REFRELEASE(session);
207 rv = meta_object_alloc(session, &outputKey);
214 rv = meta_unwrap_key(session, pMechanism, unwrappingKey,
227 (void) meta_object_dealloc(session, outputKey, B_TRUE);
231 REFRELEASE(session);
251 meta_session_t *session;
301 rv = meta_handle2session(hSession, &session);
393 rv = meta_object_alloc(session, &newKey1);
398 rv = meta_object_alloc(session, &newKey2);
401 rv = meta_object_alloc(session, &newKey3);
404 rv = meta_object_alloc(session, &newKey4);
411 rv = meta_derive_key(session, pMech, basekey1, basekey2, phBaseKey2,
417 (void) meta_object_dealloc(session, newKey1, B_TRUE);
445 (void) meta_object_dealloc(session, newKey1, B_TRUE);
447 (void) meta_object_dealloc(session, newKey2, B_TRUE);
449 (void) meta_object_dealloc(session, newKey3, B_TRUE);
451 (void) meta_object_dealloc(session, newKey4, B_TRUE);
458 REFRELEASE(session);