File: gnutls_privkey_import_dsa_raw

package info (click to toggle)
gnutls28 3.5.8-5%2Bdeb9u5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 62,072 kB
  • sloc: ansic: 252,938; asm: 69,023; sh: 10,259; makefile: 6,193; yacc: 1,791; lisp: 1,492; cpp: 1,155; perl: 935; sed: 16
file content (24 lines) | stat: -rw-r--r-- 673 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24




@deftypefun {int} {gnutls_privkey_import_dsa_raw} (gnutls_privkey_t @var{key}, const gnutls_datum_t * @var{p}, const gnutls_datum_t * @var{q}, const gnutls_datum_t * @var{g}, const gnutls_datum_t * @var{y}, const gnutls_datum_t * @var{x})
@var{key}: The structure to store the parsed key

@var{p}: holds the p

@var{q}: holds the q

@var{g}: holds the g

@var{y}: holds the y

@var{x}: holds the x

This function will convert the given DSA raw parameters to the
native @code{gnutls_privkey_t}  format.  The output will be stored
in  @code{key} .

@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS}  (0) is returned, otherwise a
negative error value.
@end deftypefun