Home
last modified time | relevance | path

Searched refs:hmac_header (Results 1 – 12 of 12) sorted by relevance

/dports/multimedia/kodi/xbmc-19.3-Matrix/lib/libUPnP/Neptune/ThirdParty/axTLS/ssl/
H A Dtls1.c153 static void add_hmac_digest(SSL *ssl, int snd, uint8_t *hmac_header,
735 static void add_hmac_digest(SSL *ssl, int mode, uint8_t *hmac_header, in add_hmac_digest() argument
743 memcpy(&t_buf[8], hmac_header, SSL_RECORD_SIZE); in add_hmac_digest()
752 print_blob("record", hmac_header, SSL_RECORD_SIZE); in add_hmac_digest()
819 ssl->hmac_header[3] = hmac_offset >> 8; /* insert size */ in verify_digest()
820 ssl->hmac_header[4] = hmac_offset & 0xff; in verify_digest()
1104 hmac_header[0] = protocol; in send_packet()
1105 hmac_header[1] = 0x03; /* version = 3.1 or higher */ in send_packet()
1106 hmac_header[2] = ssl->version & 0x0f; in send_packet()
1107 hmac_header[3] = msg_length >> 8; in send_packet()
[all …]
H A Dtls1.h199 uint8_t hmac_header[SSL_RECORD_SIZE]; /* rx hmac */ member
/dports/graphics/argyllcms/Argyll_V1.9.2/ccast/axTLS/
H A Dtls1.c53 static int verify_digest(SSL *ssl, int mode, uint8_t * hmac_header,
155 static void add_hmac_digest(SSL *ssl, int snd, uint8_t *hmac_header,
683 static void add_hmac_digest(SSL *ssl, int mode, uint8_t *hmac_header, in add_hmac_digest() argument
691 memcpy(&t_buf[8], hmac_header, SSL_RECORD_SIZE); in add_hmac_digest()
702 print_blob("record", hmac_header, SSL_RECORD_SIZE); in add_hmac_digest()
730 static int verify_digest(SSL *ssl, int mode, uint8_t *hmac_header, in verify_digest() argument
770 hmac_header[3] = hmac_offset >> 8; /* insert size */ in verify_digest()
771 hmac_header[4] = hmac_offset & 0xff; in verify_digest()
1075 uint8_t hmac_header[SSL_RECORD_SIZE] = in send_packet() local
1492 memcpy(ssl->hmac_header, buf, 3); /* store for hmac */ in basic_readi()
[all …]
H A Dtls1.h210 uint8_t hmac_header[SSL_RECORD_SIZE]; /* rx hmac */ member
H A Dtls1_svr.c120 uint8_t *record_buf = ssl->hmac_header; in process_client_hello()
/dports/security/axTLS/axTLS/ssl/
H A Dtls1.c153 static void add_hmac_digest(SSL *ssl, int snd, uint8_t *hmac_header,
646 static void add_hmac_digest(SSL *ssl, int mode, uint8_t *hmac_header, in add_hmac_digest() argument
654 memcpy(&t_buf[8], hmac_header, SSL_RECORD_SIZE); in add_hmac_digest()
663 print_blob("record", hmac_header, SSL_RECORD_SIZE); in add_hmac_digest()
730 ssl->hmac_header[3] = hmac_offset >> 8; /* insert size */ in verify_digest()
731 ssl->hmac_header[4] = hmac_offset & 0xff; in verify_digest()
732 add_hmac_digest(ssl, mode, ssl->hmac_header, buf, hmac_offset, hmac_buf); in verify_digest()
1030 uint8_t hmac_header[SSL_RECORD_SIZE] = in send_packet() local
1050 add_hmac_digest(ssl, mode, hmac_header, ssl->bm_data, msg_length, in send_packet()
1279 memcpy(ssl->hmac_header, buf, 3); /* store for hmac */ in basic_read()
H A Dtls1.h198 uint8_t hmac_header[SSL_RECORD_SIZE]; /* rx hmac */ member
H A Dtls1_svr.c120 uint8_t *record_buf = ssl->hmac_header; in process_client_hello()
/dports/lang/micropython/axtls-531cab9/ssl/
H A Dtls1.c131 static void add_hmac_digest(SSL *ssl, int snd, uint8_t *hmac_header,
691 static void add_hmac_digest(SSL *ssl, int mode, uint8_t *hmac_header, in add_hmac_digest() argument
699 memcpy(&t_buf[8], hmac_header, SSL_RECORD_SIZE); in add_hmac_digest()
708 print_blob("record", hmac_header, SSL_RECORD_SIZE); in add_hmac_digest()
763 ssl->hmac_header[3] = hmac_offset >> 8; /* insert size */ in verify_digest()
764 ssl->hmac_header[4] = hmac_offset & 0xff; in verify_digest()
765 add_hmac_digest(ssl, mode, ssl->hmac_header, buf, hmac_offset, hmac_buf); in verify_digest()
1132 uint8_t hmac_header[SSL_RECORD_SIZE] = in send_packet() local
1152 add_hmac_digest(ssl, mode, hmac_header, ssl->bm_data, msg_length, in send_packet()
1361 memcpy(ssl->hmac_header, buf, 3); /* store for hmac */ in basic_read()
H A Dtls1.h229 uint8_t hmac_header[SSL_RECORD_SIZE]; /* rx hmac */ member
/dports/lang/gauche/Gauche-0.9.10/ext/tls/axTLS/ssl/
H A Dtls1.c131 static void add_hmac_digest(SSL *ssl, int snd, uint8_t *hmac_header,
689 static void add_hmac_digest(SSL *ssl, int mode, uint8_t *hmac_header, in add_hmac_digest() argument
697 memcpy(&t_buf[8], hmac_header, SSL_RECORD_SIZE); in add_hmac_digest()
706 print_blob("record", hmac_header, SSL_RECORD_SIZE); in add_hmac_digest()
761 ssl->hmac_header[3] = hmac_offset >> 8; /* insert size */ in verify_digest()
762 ssl->hmac_header[4] = hmac_offset & 0xff; in verify_digest()
763 add_hmac_digest(ssl, mode, ssl->hmac_header, buf, hmac_offset, hmac_buf); in verify_digest()
1125 uint8_t hmac_header[SSL_RECORD_SIZE] = in send_packet() local
1145 add_hmac_digest(ssl, mode, hmac_header, ssl->bm_data, msg_length, in send_packet()
1355 memcpy(ssl->hmac_header, buf, 3); /* store for hmac */ in basic_read()
H A Dtls1.h223 uint8_t hmac_header[SSL_RECORD_SIZE]; /* rx hmac */ member