Home
last modified time | relevance | path

Searched refs:make_mac (Results 1 – 8 of 8) sorted by relevance

/freebsd-14-stable/contrib/ntp/sntp/tests/
HDpacketProcessing.c230 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()
HDcrypto.c49 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()
HDpacketHandling.c120 mac_sz = make_mac(&testpkt, LEN_PKT_NOMAC, &testkey, in test_GenerateAuthenticatedPacket()
/freebsd-14-stable/contrib/ntp/libntp/
HDa_md5encrypt.c74 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/
HDcrypto.h29 extern size_t make_mac(const void *pkt_data, size_t pkt_len,
HDcrypto.c128 make_mac( in make_mac() function
HDmain.c1147 mac_size = make_mac(x_pkt, pkt_len, pkt_key, in generate_pkt()
/freebsd-14-stable/contrib/ntp/
HDCommitLog19563 …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