index.rst (1781B)
1 .. _mozilla_projects_nss_reference_fc_digestencryptupdate: 2 3 FC_DigestEncryptUpdate 4 ====================== 5 6 `Name <#name>`__ 7 ~~~~~~~~~~~~~~~~ 8 9 .. container:: 10 11 FC_DigestEncryptUpdate - continue a multi-part digest and encryption operation 12 13 `Syntax <#syntax>`__ 14 ~~~~~~~~~~~~~~~~~~~~ 15 16 .. container:: 17 18 .. code:: 19 20 CK_RV FC_DigestEncryptUpdate( 21 CK_SESSION_HANDLE hSession, 22 CK_BYTE_PTR pPart, 23 CK_ULONG ulPartLen, 24 CK_BYTE_PTR pEncryptedPart, 25 CK_ULONG_PTR pulEncryptedPartLen 26 ); 27 28 `Parameters <#parameters>`__ 29 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 31 .. container:: 32 33 ``hSession`` 34 [in] session handle. 35 ``pPart`` 36 [in] pointer to the data part. 37 ``ulPartLen`` 38 [in] length of data in bytes. 39 ``pEncryptedPart`` 40 [in] pointer to the location which receives the digested and encrypted part or NULL. 41 ``pulEncryptedPartLen`` 42 [in] pointer to the length of the encrypted part buffer. 43 44 `Description <#description>`__ 45 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 46 47 .. container:: 48 49 ``FC_DigestEncryptUpdate`` continues a multi-part digest and encryption operation. After calling 50 both ``FC_DigestInit`` and ``FC_EncryptInit`` to set up the operations this function may be 51 called multiple times. The operation is finished by calls to ``FC_DigestFinal`` and 52 ``FC_EncryptFinal`` in that order. 53 54 A user must log into the token (to assume the NSS User role) before calling 55 ``FC_DigestEncryptUpdate``. 56 57 .. _return_value: 58 59 `Return value <#return_value>`__ 60 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 61 62 .. container:: 63 64 `Examples <#examples>`__ 65 ~~~~~~~~~~~~~~~~~~~~~~~~ 66 67 .. container:: 68 69 .. _see_also: 70 71 `See also <#see_also>`__ 72 ~~~~~~~~~~~~~~~~~~~~~~~~ 73 74 .. container:: 75 76 - `NSC_DigestEncryptUpdate </en-US/NSC_DigestEncryptUpdate>`__