Searched refs:make_mac (Results 1 - 7 of 7) sorted by relevance
/freebsd-11-stable/contrib/ntp/sntp/ |
H A D | crypto.h | 30 extern int make_mac(const void *pkt_data, int pkt_size, int mac_size,
|
H A D | crypto.c | 58 msyslog(LOG_ERR, "make_mac: CMAC %s CTX new failed.", CMAC); 62 msyslog(LOG_ERR, "make_mac: CMAC %s Init failed.", CMAC); 65 msyslog(LOG_ERR, "make_mac: CMAC %s Update failed.", CMAC); 68 msyslog(LOG_ERR, "make_mac: CMAC %s Final failed.", CMAC); 83 msyslog(LOG_ERR, "make_mac: MAC %s Digest CTX new failed.", 94 msyslog(LOG_ERR, "make_mac: MAC %s Digest Init failed.", 99 msyslog(LOG_ERR, "make_mac: MAC %s Digest Update key failed.", 104 msyslog(LOG_ERR, "make_mac: MAC %s Digest Update data failed.", 109 msyslog(LOG_ERR, "make_mac: MAC %s Digest Final failed.", 127 make_mac( function [all...] |
H A D | main.c | 1146 mac_size = make_mac(x_pkt, pkt_len, MAX_MDG_LEN,
|
/freebsd-11-stable/contrib/ntp/sntp/tests/ |
H A D | crypto.c | 46 make_mac(PKT_DATA, PKT_LEN, MD5_LENGTH, &md5, actual)); 73 make_mac(PKT_DATA, PKT_LEN, SHA1_LENGTH, &sha1, actual)); 105 make_mac(PKT_DATA, PKT_LEN, CMAC_LENGTH, &cmac, actual)); 262 TEST_ASSERT_EQUAL(0, make_mac(PKT_DATA, PKT_LEN, MD5_LENGTH, &md5, actual));
|
H A D | packetProcessing.c | 237 int mac_len = make_mac(&testpkt.p, pkt_len, 265 int mac_len = make_mac(&testpkt.p, pkt_len, 430 int mac_len = make_mac(&testpkt.p, pkt_len, 452 int mac_len = make_mac(&testpkt.p, pkt_len, 476 int mac_len = make_mac(&testpkt.p, pkt_len,
|
H A D | packetHandling.c | 110 make_mac(&testpkt, LEN_PKT_NOMAC, MAX_MD5_LEN-4, &testkey, expected_mac));
|
/freebsd-11-stable/contrib/ntp/libntp/ |
H A D | a_md5encrypt.c | 42 make_mac( function 202 dlen = make_mac(&digb, type, &keyb, &msgb); 232 dlen = make_mac(&digb, type, &keyb, &msgb);
|
Completed in 185 milliseconds