:: RootR ::  Hosting Order Map Login   Secure Inter-Network Operations  
 
crypto_rng_generate(9) - phpMan

Command: man perldoc info search(apropos)  


CRYPTO_RNG_GENERATE(9)                Programming Interface                CRYPTO_RNG_GENERATE(9)



NAME
       crypto_rng_generate - get random number

SYNOPSIS
       int crypto_rng_generate(struct crypto_rng * tfm, const u8 * src, unsigned int slen,
                               u8 * dst, unsigned int dlen);

ARGUMENTS
       tfm
           cipher handle

       src
           Input buffer holding additional data, may be NULL

       slen
           Length of additional data

       dst
           output buffer holding the random numbers

       dlen
           length of the output buffer

DESCRIPTION
       This function fills the caller-allocated buffer with random numbers using the random
       number generator referenced by the cipher handle.

RETURN
       0 function was successful; < 0 if an error occurred

AUTHORS
       Stephan Mueller <smueller AT chronox.de>
           Author.

       Marek Vasut <marek AT denx.de>
           Author.

COPYRIGHT
Kernel Hackers Manual 4.8.                 January 2017                    CRYPTO_RNG_GENERATE(9)


/man
rootr.net - man pages