1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef GNUTLS_PK_H
# define GNUTLS_PK_H
int _gnutls_pkcs1_rsa_encrypt(gnutls_datum * ciphertext,
const gnutls_datum * plaintext,
mpi_t * params, uint params_len, uint btype);
int _gnutls_dsa_sign(gnutls_datum * signature,
const gnutls_datum * plaintext, mpi_t * params,
uint params_len);
int _gnutls_pkcs1_rsa_decrypt(gnutls_datum * plaintext,
const gnutls_datum * ciphertext,
mpi_t * params, uint params_len, uint btype);
int _gnutls_rsa_verify(const gnutls_datum * vdata,
const gnutls_datum * ciphertext, mpi_t * params,
int params_len, int btype);
int _gnutls_dsa_verify(const gnutls_datum * vdata,
const gnutls_datum * sig_value, mpi_t * params,
int params_len);
#endif /* GNUTLS_PK_H */
|