/freebsd/contrib/ntp/sntp/tests/ |
H A D | packetProcessing.c | 166 uint32_t * pe = testpkt.p.exten + 7; in test_TooShortExtensionFieldLength() 229 testpkt.p.exten[0] = htonl(50); in test_AuthenticatedPacketInvalid() 231 &testpkt.p.exten[1], MAX_MDG_LEN); in test_AuthenticatedPacketInvalid() 236 testpkt.p.exten[1] += 1; in test_AuthenticatedPacketInvalid() 264 testpkt.p.exten[0] = htonl(50); in test_AuthenticatedPacketUnknownKey() 266 &testpkt.p.exten[1], MAX_MDG_LEN); in test_AuthenticatedPacketUnknownKey() 438 testpkt.p.exten[0] = htonl(k_id); 440 &testpkt.p.exten[1], MAX_MDG_LEN); 472 testpkt.p.exten[0] = htonl(k_id); in test_CorrectAuthenticatedPacketCMAC() 473 mac_len = make_mac(&testpkt.p, pkt_len, key_ptr, &testpkt.p.exten[ in test_CorrectAuthenticatedPacketCMAC() [all...] |
H A D | packetHandling.c | 117 TEST_ASSERT_EQUAL(testkey.key_id, ntohl(testpkt.exten[0])); in test_OffsetCalculationPositiveOffset() 121 &testpkt.exten[1], MAX_MDG_LEN); in test_OffsetCalculationPositiveOffset() 124 TEST_ASSERT_EQUAL_MEMORY(expected_mac, (void *)&testpkt.exten[1], in test_OffsetCalculationPositiveOffset()
|
/freebsd/sys/contrib/device-tree/Bindings/mfd/ |
H A D | richtek,rt5120.yaml | 83 "^(ldo|exten)$": 167 exten { 168 regulator-name = "rt5120-exten";
|
/freebsd/contrib/wpa/src/ap/ |
H A D | dhcp_snoop.c | 44 exten_len = len - ETH_HLEN - (sizeof(*b) - sizeof(b->exten)); in handle_dhcp() 53 if (WPA_GET_BE32(b->exten) != DHCP_MAGIC) in handle_dhcp() 58 pos = &b->exten[4]; in handle_dhcp()
|
/freebsd/contrib/ntp/ntpd/ |
H A D | ntp_crypto.c | 185 static int crypto_verify (struct exten *, struct value *, 192 static int crypto_bob (struct exten *, struct value *); 193 static int crypto_bob2 (struct exten *, struct value *); 194 static int crypto_bob3 (struct exten *, struct value *); 195 static int crypto_iff (struct exten *, struct peer *); 196 static int crypto_gq (struct exten *, struct peer *); 197 static int crypto_mv (struct exten *, struct peer *); 198 static int crypto_send (struct exten *, struct value *, int); 202 static int cert_sign (struct exten *, struct value *); 203 static struct cert_info *cert_install (struct exten *, struc [all...] |
H A D | ntp_proto.c | 862 struct exten *ep; in receive() 896 ep = (struct exten *)&((u_int32 *)pkt)[authlen / 4]; in receive() 900 offsetof(struct exten, pkt)) { in receive() 1331 rbufp->recv_length - MIN_V4_PKT_LEN, (u_char *)&pkt->exten); in receive() 1420 rbufp->recv_length - MIN_V4_PKT_LEN, (u_char *)&pkt->exten); in receive() 2627 len - MIN_V4_PKT_LEN, (u_char *)&pkt->exten); in process_packet() 4251 struct exten *exten; /* extension field */ in peer_xmit() 4308 exten = NULL; in peer_xmit() 4320 exten in peer_xmit() 4206 struct exten *exten; /* extension field */ peer_xmit() local [all...] |
H A D | ntp_io.c | 3286 len - MIN_V4_PKT_LEN, (u_char *)&pkt->exten);
|
/freebsd/contrib/ntp/util/ |
H A D | ntp-keygen.c | 327 const char *exten = NULL; /* private extension */ in main() local 442 exten = EXT_KEY_PRIVATE; in main() 445 exten = EXT_KEY_TRUST; in main() 542 if (exten == NULL) { in main() 561 exten = EXT_KEY_TRUST; in main() 564 exten = EXT_KEY_PRIVATE; in main() 850 x509(pkey_sign, ectx, grpkey, exten, certname); in gen_md5() 1977 const char *exten, /* private cert extension */ in x509() 2076 if (exten != NULL) { in x509() 2077 fprintf(stderr, "%s: %s\n", LN_ext_key_usage, exten); in x509() 1962 x509(EVP_PKEY * pkey,const EVP_MD * md,char * gqpub,const char * exten,char * name) x509() argument [all...] |
/freebsd/contrib/ntp/sntp/ |
H A D | networking.h | 83 struct exten *cmmd; /* extension pointer */
|
H A D | networking.c | 143 exten_end = skip_efields(rpkt->exten, packet_end); in process_pkt()
|
H A D | main.c | 1146 x_pkt->exten[0] = htonl(key_id); in generate_pkt() 1148 (char *)&x_pkt->exten[1], MAX_MDG_LEN); in generate_pkt()
|
/freebsd/contrib/wpa/src/common/ |
H A D | dhcp.h | 76 u8 exten[312]; member
|
/freebsd/contrib/ntp/include/ |
H A D | ntp.h | 329 struct exten *cmmd; /* extension pointer */ 587 * The different definitions of the 'exten' field are here for 595 u_int32 exten[(NTP_MAXEXTEN + MAX_MAC_LEN) / sizeof(u_int32)]; 597 u_int32 exten[(MAX_MAC_LEN) / sizeof(u_int32)]; 584 u_int32 exten[(NTP_MAXEXTEN + MAX_MAC_LEN) / sizeof(u_int32)]; global() member 586 u_int32 exten[(MAX_MAC_LEN) / sizeof(u_int32)]; global() member
|
H A D | ntp_crypto.h | 143 struct exten {
|
H A D | ntpd.h | 218 struct exten *, keyid_t); 228 extern struct exten *crypto_args (struct peer *, u_int, associd_t, char *);
|
/freebsd/sbin/ipfw/ |
H A D | ipv6.c | 246 "invalid option for ipv6 exten header"); in fill_ext6hdr()
|
/freebsd/contrib/ntp/ntpdate/ |
H A D | ntpdate.c | 713 xpkt.exten[0] = htonl(sys_authkey); in transmit() 821 (long int)ntohl(rpkt->exten[0]), (long int)sys_authkey, in receive() 825 if (has_mac && ntohl(rpkt->exten[0]) == sys_authkey && in receive()
|
/freebsd/sys/dev/ppbus/ |
H A D | ppb_1284.c | 689 /* Event 0 - put the exten. value on the data lines */ in ppb_1284_negociate()
|
/freebsd/contrib/ntp/ |
H A D | CommitLog-4.1.0 | 980 exten grew from 672/4 to 5000/4 for PUBKEY. 2031 signature field. Update the inline docs on pkt's exten field. 2146 value. Add fstamp to struct peer. Resize the exten AUTOKEY field
|
H A D | ChangeLog | 1438 * CID 739722: Clean up the definition of the exten field of struct pkt.
|
H A D | CommitLog | 19545 fix PrepareAuthenticationTest() to use args and not hard wire MD5, increase CMAC key to mandatory length 16, fix exten to match key id [all...] |