diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-11-08 22:14:07 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-11-08 22:17:10 +0100 |
commit | 76c93d23c073ef8b885503b7d28a31ffe2add6d8 (patch) | |
tree | 1dd2d22a197bc40c5330e516969a7cb1ae9bc96f /lib/gnutls_mpi.h | |
parent | 559a144f6bbcbb611453f82e655dd7438c14d1a7 (diff) | |
download | gnutls-76c93d23c073ef8b885503b7d28a31ffe2add6d8.tar.gz |
reindented code
Diffstat (limited to 'lib/gnutls_mpi.h')
-rw-r--r-- | lib/gnutls_mpi.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/lib/gnutls_mpi.h b/lib/gnutls_mpi.h index c905356db6..3134243252 100644 --- a/lib/gnutls_mpi.h +++ b/lib/gnutls_mpi.h @@ -30,8 +30,8 @@ extern int crypto_bigint_prio; extern gnutls_crypto_bigint_st _gnutls_mpi_ops; -bigint_t _gnutls_mpi_randomize (bigint_t, unsigned int bits, - gnutls_rnd_level_t level); +bigint_t _gnutls_mpi_randomize(bigint_t, unsigned int bits, + gnutls_rnd_level_t level); #define _gnutls_mpi_new _gnutls_mpi_ops.bigint_new #define _gnutls_mpi_clear _gnutls_mpi_ops.bigint_clear @@ -59,18 +59,19 @@ bigint_t _gnutls_mpi_randomize (bigint_t, unsigned int bits, #define _gnutls_mpi_print_pgp(x,y,z) _gnutls_mpi_ops.bigint_print(x,y,z,GNUTLS_MPI_FORMAT_PGP) #define _gnutls_mpi_copy( a) _gnutls_mpi_set( NULL, a) -void _gnutls_mpi_release (bigint_t * x); +void _gnutls_mpi_release(bigint_t * x); -int _gnutls_mpi_scan (bigint_t * ret_mpi, const void *buffer, size_t nbytes); -int _gnutls_mpi_scan_nz (bigint_t * ret_mpi, const void *buffer, - size_t nbytes); -int _gnutls_mpi_scan_pgp (bigint_t * ret_mpi, const void *buffer, - size_t nbytes); +int _gnutls_mpi_scan(bigint_t * ret_mpi, const void *buffer, + size_t nbytes); +int _gnutls_mpi_scan_nz(bigint_t * ret_mpi, const void *buffer, + size_t nbytes); +int _gnutls_mpi_scan_pgp(bigint_t * ret_mpi, const void *buffer, + size_t nbytes); -int _gnutls_mpi_dprint_lz (const bigint_t a, gnutls_datum_t * dest); -int _gnutls_mpi_dprint (const bigint_t a, gnutls_datum_t * dest); -int _gnutls_mpi_dprint_size (const bigint_t a, gnutls_datum_t * dest, - size_t size); +int _gnutls_mpi_dprint_lz(const bigint_t a, gnutls_datum_t * dest); +int _gnutls_mpi_dprint(const bigint_t a, gnutls_datum_t * dest); +int _gnutls_mpi_dprint_size(const bigint_t a, gnutls_datum_t * dest, + size_t size); #define _gnutls_mpi_generate_group( gg, bits) _gnutls_mpi_ops.bigint_generate_group( gg, bits) |