Searched refs:make_mac (Results 1 – 8 of 8) sorted by relevance
| /freebsd-14-stable/contrib/ntp/sntp/tests/ |
| HD | packetProcessing.c | 230 mac_len = make_mac(&testpkt.p, pkt_len, key_ptr, in test_AuthenticatedPacketInvalid() 265 mac_len = make_mac(&testpkt.p, pkt_len, key_ptr, in test_AuthenticatedPacketUnknownKey() 439 mac_len = make_mac(&testpkt.p, pkt_len, key_ptr, in test_CorrectAuthenticatedPacketMD5() 473 mac_len = make_mac(&testpkt.p, pkt_len, key_ptr, &testpkt.p.exten[1], in test_CorrectAuthenticatedPacketSHAKE128() 504 mac_len = make_mac(&testpkt.p, pkt_len, key_ptr, &testpkt.p.exten[1], in test_CorrectAuthenticatedPacketSHA1() 533 int mac_len = make_mac(&testpkt.p, pkt_len, key_ptr, in test_CorrectAuthenticatedPacketCMAC()
|
| HD | crypto.c | 49 make_mac(PAYLOAD, PAYLOAD_LEN, &sk, actual, in test_MakeSHAKE128Mac() 82 make_mac(PKT_DATA, PKT_LEN, &sha1, actual, in test_MakeSHA1Mac() 115 make_mac(PKT_DATA, PKT_LEN, &cmac, actual, CMAC_LENGTH)); in test_MakeCMac() 311 make_mac(PAYLOAD, PAYLOAD_LEN, &sk, actual, in test_PacketSizeNotMultipleOfFourBytes()
|
| HD | packetHandling.c | 120 mac_sz = make_mac(&testpkt, LEN_PKT_NOMAC, &testkey, in test_GenerateAuthenticatedPacket()
|
| /freebsd-14-stable/contrib/ntp/libntp/ |
| HD | a_md5encrypt.c | 74 make_mac( in make_mac() function 210 dlen = make_mac(&digb, type, &keyb, &msgb); in MD5authencrypt() 242 dlen = make_mac(&digb, type, &keyb, &msgb); in MD5authdecrypt()
|
| /freebsd-14-stable/contrib/ntp/sntp/ |
| HD | crypto.h | 29 extern size_t make_mac(const void *pkt_data, size_t pkt_len,
|
| HD | crypto.c | 128 make_mac( in make_mac() function
|
| HD | main.c | 1147 mac_size = make_mac(x_pkt, pkt_len, pkt_key, in generate_pkt()
|
| /freebsd-14-stable/contrib/ntp/ |
| HD | CommitLog | 19563 …add CMAC include and define name removed elsewhere, make_mac() fix assign instead of compare typo,… 25664 - no need to cast input to 'make_mac()' any more
|