Blame doc/functions/gnutls_pkcs11_token_get_random
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@deftypefun {int} {gnutls_pkcs11_token_get_random} (const char * @var{token_url}, void * @var{rnddata}, size_t @var{len})
|
|
Packit Service |
4684c1 |
@var{token_url}: A PKCS @code{11} URL specifying a token
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{rnddata}: A pointer to the memory area to be filled with random data
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{len}: The number of bytes of randomness to request
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
This function will get random data from the given token.
|
|
Packit Service |
4684c1 |
It will store rnddata and fill the memory pointed to by rnddata with
|
|
Packit Service |
4684c1 |
len random bytes from the token.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, otherwise a
|
|
Packit Service |
4684c1 |
negative error value.
|
|
Packit Service |
4684c1 |
@end deftypefun
|