summaryrefslogtreecommitdiff
path: root/lib/gnutls_gcry.h
blob: eec1d13352d583ea58ec3f9badc9f99554e07e9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef GNUTLS_GCRY_H
# define GNUTLS_GCRY_H

# include <gcrypt.h>

MPI _gnutls_mpi_new( int);

# define _gnutls_mpi_alloc_like(x) _gnutls_mpi_new(gcry_mpi_get_nbits(x)) 

void _gnutls_mpi_release( MPI* x);

int _gnutls_mpi_scan( GCRY_MPI *ret_mpi, enum gcry_mpi_format format,
                                       const char *buffer, size_t *nbytes );


#endif