#include <gnutls_int.h>
#include <gnutls_num.h>
#include <gnutls_errors.h>
Go to the source code of this file.
Functions | |
int | MHD_gtls_uint64pp (uint64 *x) |
uint32_t | MHD_gtls_uint24touint32 (uint24 num) |
uint24 | MHD_gtls_uint32touint24 (uint32_t num) |
uint32_t | MHD_gtls_read_uint24 (const opaque *data) |
void | MHD_gtls_write_uint24 (uint32_t num, opaque *data) |
uint32_t | MHD_gtls_read_uint32 (const opaque *data) |
void | MHD_gtls_write_uint32 (uint32_t num, opaque *data) |
uint16_t | MHD_gtls_read_uint16 (const opaque *data) |
void | MHD_gtls_write_uint16 (uint16_t num, opaque *data) |
uint32_t | MHD_gtls_conv_uint32 (uint32_t data) |
uint16_t | MHD_gtls_conv_uint16 (uint16_t data) |
uint32_t | MHD_gtls_uint64touint32 (const uint64 *num) |
uint16_t MHD_gtls_conv_uint16 | ( | uint16_t | data | ) |
Definition at line 172 of file gnutls_num.c.
References byteswap16.
Referenced by MHD_gtls_ciphertext2compressed(), and MHD_gtls_compressed2ciphertext().
uint32_t MHD_gtls_conv_uint32 | ( | uint32_t | data | ) |
Definition at line 162 of file gnutls_num.c.
References byteswap32.
uint16_t MHD_gtls_read_uint16 | ( | const opaque * | data | ) |
Definition at line 141 of file gnutls_num.c.
References byteswap16.
Referenced by _find_x509_cert(), get_issuers(), get_issuers_num(), MHD__gnutls_parse_supplemental(), MHD__gnutls_proc_rsa_client_kx(), MHD__gnutls_read_client_hello(), MHD_gtls_parse_extensions(), MHD_gtls_proc_cert_cert_req(), MHD_gtls_proc_cert_client_cert_vrfy(), MHD_gtls_proc_dh_common_client_kx(), MHD_gtls_proc_dh_common_server_kx(), MHD_gtls_server_name_recv_params(), proc_dhe_server_kx(), proc_rsa_export_server_kx(), and record_check_headers().
uint32_t MHD_gtls_read_uint24 | ( | const opaque * | data | ) |
Definition at line 87 of file gnutls_num.c.
References byteswap32, MHD_gtls_uint24touint32(), and uint24::pint.
Referenced by MHD__gnutls_parse_supplemental(), MHD__gnutls_recv_handshake_header(), and MHD_gtls_proc_x509_server_certificate().
uint32_t MHD_gtls_read_uint32 | ( | const opaque * | data | ) |
Definition at line 119 of file gnutls_num.c.
References byteswap32.
uint32_t MHD_gtls_uint24touint32 | ( | uint24 | num | ) |
Definition at line 63 of file gnutls_num.c.
References uint24::pint.
Referenced by MHD_gtls_read_uint24().
uint24 MHD_gtls_uint32touint24 | ( | uint32_t | num | ) |
Definition at line 74 of file gnutls_num.c.
References uint24::pint.
Referenced by MHD_gtls_write_uint24().
int MHD_gtls_uint64pp | ( | uint64 * | x | ) |
Definition at line 38 of file gnutls_num.c.
References uint64::i.
Referenced by MHD_gtls_recv_int(), and MHD_gtls_send_int().
uint32_t MHD_gtls_uint64touint32 | ( | const uint64 * | num | ) |
Definition at line 182 of file gnutls_num.c.
References byteswap32, and uint64::i.
Referenced by MHD_gtls_recv_int(), and MHD_gtls_send_int().
void MHD_gtls_write_uint16 | ( | uint16_t | num, | |
opaque * | data | |||
) |
Definition at line 152 of file gnutls_num.c.
References byteswap16.
Referenced by gen_rsa_export_server_kx(), MHD_gtls_dh_common_print_server_kx(), MHD_gtls_encrypt(), MHD_gtls_gen_cert_client_cert_vrfy(), MHD_gtls_gen_cert_server_cert_req(), MHD_gtls_gen_dh_common_client_kx(), MHD_gtls_gen_extensions(), MHD_gtls_server_name_send_params(), and MHD_gtls_write_datum16().
void MHD_gtls_write_uint24 | ( | uint32_t | num, | |
opaque * | data | |||
) |
Definition at line 104 of file gnutls_num.c.
References byteswap32, MHD_gtls_uint32touint24(), and uint24::pint.
Referenced by MHD_gtls_gen_x509_crt(), MHD_gtls_send_handshake(), and MHD_gtls_write_datum24().
void MHD_gtls_write_uint32 | ( | uint32_t | num, | |
opaque * | data | |||
) |
Definition at line 131 of file gnutls_num.c.
References byteswap32.
Referenced by MHD_gtls_tls_create_random().