Lines Matching refs:dec_context
1260 uef_context_t *dec_context; local
1331 dec_context = text->utils->malloc(sizeof(uef_context_t));
1332 if (dec_context == NULL)
1336 &dec_context->hSession);
1342 text->utils->free(dec_context);
1358 rv = C_CreateObject(dec_context->hSession, template,
1359 sizeof (template)/sizeof (template[0]), &dec_context->hKey);
1365 (void) C_CloseSession(dec_context->hSession);
1366 text->utils->free(dec_context);
1369 text->cipher_dec_context = (cipher_context_t *)dec_context;
1372 rv = C_DecryptInit(dec_context->hSession, &mechanism, dec_context->hKey);
1410 uef_context_t *dec_context = local
1441 if (dec_context != NULL) {
1442 rv = C_DecryptFinal(dec_context->hSession, buf, &ulLen);
1449 rv = C_DestroyObject(dec_context->hSession, dec_context->hKey);
1457 rv = C_CloseSession(dec_context->hSession);
1464 text->utils->free(dec_context);
1479 uef_context_t *dec_context = local
1484 rv = C_DecryptUpdate(dec_context->hSession, (CK_BYTE_PTR)input,
1495 rv = C_DecryptUpdate(dec_context->hSession,
1560 uef_context_t *dec_context = local
1565 rv = C_DecryptUpdate(dec_context->hSession, (CK_BYTE_PTR)input,