summaryrefslogtreecommitdiff
path: root/lib/cipher.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cipher.h')
-rw-r--r--lib/cipher.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/cipher.h b/lib/cipher.h
index ada9929369..43cdde22f4 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,
- const gnutls_uint64 * sequence);
+ uint64_t sequence);
#define MAX_PREAMBLE_SIZE 16
int
-_gnutls_make_preamble(const uint8_t * uint64_data, uint8_t type, unsigned int length,
+_gnutls_make_preamble(uint64_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,
- const gnutls_uint64 *sequence,
+ uint64_t sequence,
const uint8_t *data, size_t data_size,
size_t tag_size);