index.rst (1436B)
1 .. _mozilla_projects_nss_reference_fc_seedrandom: 2 3 FC_SeedRandom 4 ============= 5 6 `Name <#name>`__ 7 ~~~~~~~~~~~~~~~~ 8 9 .. container:: 10 11 ``FC_SeedRandom()`` - mix additional seed material into the random number generator. 12 13 `Syntax <#syntax>`__ 14 ~~~~~~~~~~~~~~~~~~~~ 15 16 .. container:: 17 18 .. code:: 19 20 CK_RV FC_SeedRandom( 21 CK_SESSION_HANDLE hSession, 22 CK_BYTE_PTR pSeed, 23 CK_ULONG usSeedLen 24 ); 25 26 `Parameters <#parameters>`__ 27 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28 29 .. container:: 30 31 ``hSession`` 32 [in] session handle. 33 ``pSeed`` 34 [in] pointer to the seed material 35 ``usSeedLen`` 36 [in] length of the seed material in bytes. 37 38 `Description <#description>`__ 39 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 41 .. container:: 42 43 ``FC_SeedRandom()`` mixes additional seed material into the token's random number generator. Note 44 that ``FC_SeedRandom()`` doesn't provide the initial seed material for the random number 45 generator. The initial seed material is provided by the NSS cryptographic module itself. 46 47 | 48 | A user may call ``FC_SeedRandom()`` without logging into the token (to assume the NSS User 49 role). 50 51 .. _return_value: 52 53 `Return value <#return_value>`__ 54 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 56 .. container:: 57 58 `Examples <#examples>`__ 59 ~~~~~~~~~~~~~~~~~~~~~~~~ 60 61 .. container:: 62 63 .. _see_also: 64 65 `See also <#see_also>`__ 66 ~~~~~~~~~~~~~~~~~~~~~~~~ 67 68 .. container:: 69 70 - `NSC_SeedRandom </en-US/NSC_SeedRandom>`__