Blame doc/functions/gnutls_encode_gost_rs_value
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@deftypefun {int} {gnutls_encode_gost_rs_value} (gnutls_datum_t * @var{sig_value}, const gnutls_datum_t * @var{r}, const gnutls_datum_t * @var{s})
|
|
Packit Service |
4684c1 |
@var{sig_value}: will hold a GOST signature according to RFC 4491 section 2.2.2
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{r}: must contain the r value
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{s}: must contain the s value
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
This function will encode the provided r and s values, into binary
|
|
Packit Service |
4684c1 |
representation according to RFC 4491 section 2.2.2, used for GOST R
|
|
Packit Service |
4684c1 |
34.10-2001 (and thus also for GOST R 34.10-2012) signatures.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
The output value should be deallocated using @code{gnutls_free()} .
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, otherwise
|
|
Packit Service |
4684c1 |
an error code is returned.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@strong{Since:} 3.6.0
|
|
Packit Service |
4684c1 |
@end deftypefun
|