diff options
author | Werner Koch <[email protected]> | 1998-08-08 19:27:00 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 1998-08-08 19:27:00 +0000 |
commit | 6ccf4e0f80547ecaf2df19443093d9a53e7dc57e (patch) | |
tree | a5ea0d7ce2a6eb8a7f74ccfaf3921b08e7ec4997 /include | |
parent | new (diff) | |
download | gnupg-6ccf4e0f80547ecaf2df19443093d9a53e7dc57e.tar.gz gnupg-6ccf4e0f80547ecaf2df19443093d9a53e7dc57e.zip |
ready for a new release
Diffstat (limited to 'include')
-rw-r--r-- | include/g10lib.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/g10lib.h b/include/g10lib.h index fe144add5..963b1d928 100644 --- a/include/g10lib.h +++ b/include/g10lib.h @@ -70,6 +70,8 @@ int g10m_invm( MPI x, MPI u, MPI v ); unsigned g10m_get_nbits( MPI a ); unsigned g10m_get_size( MPI a ); +void g10m_set_buffer( MPI a, const char *buffer, unsigned nbytes, int sign ); + /******************************************** ******* symmetric cipher functions ******* @@ -97,8 +99,8 @@ const char *g10m_revision_string(int mode); const char *g10c_revision_string(int mode); const char *g10u_revision_string(int mode); -MPI g10c_generate_secret_prime( unsigned nbits ); -unsigned char g10c_get_random_byte( int level ); +MPI g10c_generate_secret_prime( unsigned nbits ); +char *g10c_get_random_bits( unsigned nbits, int level, int secure ); void *g10_malloc( size_t n ); |