Searched refs:make_mac (Results 1 - 7 of 7) sorted by relevance
/netbsd-current/external/bsd/ntp/dist/sntp/ |
H A D | crypto.h | 32 extern int make_mac(const void *pkt_data, int pkt_size, int mac_size,
|
H A D | crypto.c | 60 msyslog(LOG_ERR, "make_mac: CMAC %s CTX new failed.", CMAC); 64 msyslog(LOG_ERR, "make_mac: CMAC %s Init failed.", CMAC); 67 msyslog(LOG_ERR, "make_mac: CMAC %s Update failed.", CMAC); 70 msyslog(LOG_ERR, "make_mac: CMAC %s Final failed.", CMAC); 85 msyslog(LOG_ERR, "make_mac: MAC %s Digest CTX new failed.", 96 msyslog(LOG_ERR, "make_mac: MAC %s Digest Init failed.", 101 msyslog(LOG_ERR, "make_mac: MAC %s Digest Update key failed.", 106 msyslog(LOG_ERR, "make_mac: MAC %s Digest Update data failed.", 111 msyslog(LOG_ERR, "make_mac: MAC %s Digest Final failed.", 129 make_mac( function [all...] |
H A D | main.c | 1148 mac_size = make_mac(x_pkt, pkt_len, MAX_MDG_LEN,
|
/netbsd-current/external/bsd/ntp/dist/sntp/tests/ |
H A D | crypto.c | 48 make_mac(PKT_DATA, PKT_LEN, MD5_LENGTH, &md5, actual)); 75 make_mac(PKT_DATA, PKT_LEN, SHA1_LENGTH, &sha1, actual)); 107 make_mac(PKT_DATA, PKT_LEN, CMAC_LENGTH, &cmac, actual)); 264 TEST_ASSERT_EQUAL(0, make_mac(PKT_DATA, PKT_LEN, MD5_LENGTH, &md5, actual));
|
H A D | packetProcessing.c | 239 int mac_len = make_mac(&testpkt.p, pkt_len, 267 int mac_len = make_mac(&testpkt.p, pkt_len, 432 int mac_len = make_mac(&testpkt.p, pkt_len, 454 int mac_len = make_mac(&testpkt.p, pkt_len, 478 int mac_len = make_mac(&testpkt.p, pkt_len,
|
H A D | packetHandling.c | 112 make_mac(&testpkt, LEN_PKT_NOMAC, MAX_MD5_LEN-4, &testkey, expected_mac));
|
/netbsd-current/external/bsd/ntp/dist/libntp/ |
H A D | a_md5encrypt.c | 44 make_mac( function 204 dlen = make_mac(&digb, type, &keyb, &msgb); 234 dlen = make_mac(&digb, type, &keyb, &msgb);
|
Completed in 610 milliseconds