diff options
Diffstat (limited to 'lib/cipher.h')
-rw-r--r-- | lib/cipher.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/cipher.h b/lib/cipher.h index 4b32eef9fa..ada9929369 100644 --- a/lib/cipher.h +++ b/lib/cipher.h @@ -32,18 +32,18 @@ int _gnutls_encrypt(gnutls_session_t session, int _gnutls_decrypt(gnutls_session_t session, gnutls_datum_t * ciphertext, gnutls_datum_t * output, content_type_t *type, record_parameters_st * params, - gnutls_uint64 * sequence); + const gnutls_uint64 * sequence); #define MAX_PREAMBLE_SIZE 16 int -_gnutls_make_preamble(uint8_t * uint64_data, uint8_t type, unsigned int length, +_gnutls_make_preamble(const uint8_t * uint64_data, uint8_t type, unsigned int length, const version_entry_st * ver, uint8_t preamble[MAX_PREAMBLE_SIZE]); int cbc_mac_verify(gnutls_session_t session, record_parameters_st *params, uint8_t preamble[MAX_PREAMBLE_SIZE], content_type_t type, - gnutls_uint64 *sequence, + const gnutls_uint64 *sequence, const uint8_t *data, size_t data_size, size_t tag_size); |