Searched refs:make_mac (Results 1 – 8 of 8) sorted by relevance
| /freebsd-13.1/contrib/ntp/sntp/tests/ |
| H A D | crypto.c | 46 make_mac(PKT_DATA, PKT_LEN, MD5_LENGTH, &md5, actual)); in test_MakeMd5Mac() 73 make_mac(PKT_DATA, PKT_LEN, SHA1_LENGTH, &sha1, actual)); in test_MakeSHA1Mac() 105 make_mac(PKT_DATA, PKT_LEN, CMAC_LENGTH, &cmac, actual)); in test_MakeCMac() 262 TEST_ASSERT_EQUAL(0, make_mac(PKT_DATA, PKT_LEN, MD5_LENGTH, &md5, actual)); in test_PacketSizeNotMultipleOfFourBytes()
|
| H A D | packetProcessing.c | 237 int mac_len = make_mac(&testpkt.p, pkt_len, in test_AuthenticatedPacketInvalid() 265 int mac_len = make_mac(&testpkt.p, pkt_len, in test_AuthenticatedPacketUnknownKey() 430 int mac_len = make_mac(&testpkt.p, pkt_len, in test_CorrectAuthenticatedPacketMD5() 452 int mac_len = make_mac(&testpkt.p, pkt_len, in test_CorrectAuthenticatedPacketSHA1() 476 int mac_len = make_mac(&testpkt.p, pkt_len, in test_CorrectAuthenticatedPacketCMAC()
|
| H A D | packetHandling.c | 110 make_mac(&testpkt, LEN_PKT_NOMAC, MAX_MD5_LEN-4, &testkey, expected_mac)); in test_GenerateAuthenticatedPacket()
|
| /freebsd-13.1/contrib/ntp/libntp/ |
| H A D | a_md5encrypt.c | 42 make_mac( in make_mac() function 202 dlen = make_mac(&digb, type, &keyb, &msgb); in MD5authencrypt() 232 dlen = make_mac(&digb, type, &keyb, &msgb); in MD5authdecrypt()
|
| /freebsd-13.1/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 | 127 make_mac( in make_mac() function
|
| H A D | main.c | 1146 mac_size = make_mac(x_pkt, pkt_len, MAX_MDG_LEN, in generate_pkt()
|
| /freebsd-13.1/contrib/ntp/ |
| H A D | CommitLog | 10207 …add CMAC include and define name removed elsewhere, make_mac() fix assign instead of compare typo,… 16308 - no need to cast input to 'make_mac()' any more
|