index.rst (1697B)
1 .. _mozilla_projects_nss_reference_fc_encryptupdate: 2 3 FC_EncryptUpdate 4 ================ 5 6 `Name <#name>`__ 7 ~~~~~~~~~~~~~~~~ 8 9 .. container:: 10 11 FC_EncryptUpdate - encrypt a block of a multi-part encryption operation. 12 13 `Syntax <#syntax>`__ 14 ~~~~~~~~~~~~~~~~~~~~ 15 16 .. container:: 17 18 .. code:: 19 20 CK_RV FC_EncryptUpdate( 21 CK_SESSION_HANDLE hSession, 22 CK_BYTE_PTR pPart, 23 CK_ULONG usPartLen, 24 CK_BYTE_PTR pEncryptedPart, 25 CK_ULONG_PTR pusEncryptedPartLen 26 ); 27 28 `Parameters <#parameters>`__ 29 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 31 .. container:: 32 33 ``hSession`` 34 [in] session handle. 35 ``pPart`` 36 [in] pointer to the next block of data to be encrypted. 37 ``usPartLen`` 38 [in] length of data block in bytes. 39 ``pEncryptedPart`` 40 [out] pointer to location where encrypted block is to be stored. 41 ``pusEncryptedPartaLen`` 42 [out] pointer the location where the number of bytes of encrypted data is to be stored. 43 44 `Description <#description>`__ 45 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 46 47 .. container:: 48 49 ``FC_EncryptUpdate`` encrypts a block of data according to the attributes of the previous call to 50 ``FC_EncryptInit``. The block may be part of a multi-part encryption operation. 51 52 A user must log into the token (to assume the NSS User role) before calling ``FC_EncryptUpdate``. 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_encryptinit`, 74 `NSC_EncryptUpdate </en-US/NSC_EncryptUpdate>`__