index.rst (1699B)
1 .. _mozilla_projects_nss_reference_fc_decryptupdate: 2 3 FC_DecryptUpdate 4 ================ 5 6 `Name <#name>`__ 7 ~~~~~~~~~~~~~~~~ 8 9 .. container:: 10 11 FC_DecryptUpdate - decrypt a block of a multi-part encryption operation. 12 13 `Syntax <#syntax>`__ 14 ~~~~~~~~~~~~~~~~~~~~ 15 16 .. container:: 17 18 .. code:: 19 20 CK_RV FC_DecryptUpdate( 21 CK_SESSION_HANDLE hSession, 22 CK_BYTE_PTR pEncryptedPart, 23 CK_ULONG usEncryptedPartLen, 24 CK_BYTE_PTR pPart, 25 CK_ULONG_PTR pusPartLen 26 ); 27 28 `Parameters <#parameters>`__ 29 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 31 .. container:: 32 33 ``hSession`` 34 [in] session handle. 35 ``pEncryptedPart`` 36 [in] pointer to the next block of data to be decrypted. 37 ``usEncryptedPartLen`` 38 [in] length of data block in bytes. 39 ``pPart`` 40 [out] pointer to location where recovered block is to be stored. 41 ``pusPartLen`` 42 [in,out] pointer the location where the number of bytes of recovered data is to be stored. 43 44 `Description <#description>`__ 45 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 46 47 .. container:: 48 49 ``FC_DecryptUpdate`` decrypts a block of data according to the attributes of the previous call to 50 ``FC_DecryptInit``. The block may be part of a multi-part decryption operation. 51 52 A user must log into the token (to assume the NSS User role) before calling ``FC_DecryptUpdate``. 53 54 .. _return_value: 55 56 `Return value <#return_value>`__ 57 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 58 59 .. container:: 60 61 `Examples <#examples>`__ 62 ~~~~~~~~~~~~~~~~~~~~~~~~ 63 64 .. container:: 65 66 .. _see_also: 67 68 `See also <#see_also>`__ 69 ~~~~~~~~~~~~~~~~~~~~~~~~ 70 71 .. container:: 72 73 - :ref:`mozilla_projects_nss_reference_fc_decryptinit`, 74 `NSC_DecryptUpdate </en-US/NSC_DecryptUpdate>`__