Lines Matching +full:activate +full:- +full:to +full:- +full:activate
42 * when AUTOKEY is undefined -- the formal struct is too small to hold
43 * all the extension fields that are going to be tested. We have to make
45 * to buffer overrun.
75 ActivateOption("-a", str); in PrepareAuthenticationTest()
81 key_ptr->next = NULL; in PrepareAuthenticationTest()
82 key_ptr->key_id = key_id; in PrepareAuthenticationTest()
83 key_ptr->key_len = key_len; in PrepareAuthenticationTest()
84 strncpy(key_ptr->typen, type, sizeof(key_ptr->typen)); in PrepareAuthenticationTest()
86 TEST_ASSERT_TRUE(key_len < sizeof(key_ptr->key_seq)); in PrepareAuthenticationTest()
88 memcpy(key_ptr->key_seq, key_seq, in PrepareAuthenticationTest()
89 min(key_len, sizeof(key_ptr->key_seq))); in PrepareAuthenticationTest()
109 /* Set the origin timestamp of the received packet to the in setUp()
138 process_pkt(&testpkt.p, &testsock, LEN_PKT_NOMAC - 1, in test_TooShortLength()
141 process_pkt(&testpkt.p, &testsock, LEN_PKT_NOMAC - 1, in test_TooShortLength()
161 /* [Bug 2998] We have to get around the formal specification of in test_TooShortExtensionFieldLength()
168 /* The lower 16-bits are the length of the extension field. in test_TooShortExtensionFieldLength()
175 * header + 24 byte MAC, this prevents the length error to in test_TooShortExtensionFieldLength()
189 /* Activate authentication option */ in test_UnauthenticatedPacketReject()
190 ActivateOption("-a", "123"); in test_UnauthenticatedPacketReject()
205 /* Activate authentication option */ in test_CryptoNAKPacketReject()
206 ActivateOption("-a", "123"); in test_CryptoNAKPacketReject()
209 int pkt_len = LEN_PKT_NOMAC + 4; /* + 4 byte MAC = Crypto-NAK */ in test_CryptoNAKPacketReject()
224 /* Activate authentication option */ in test_AuthenticatedPacketInvalid()
257 /* Activate authentication option */ in test_AuthenticatedPacketUnknownKey()
261 /* Prepare the packet. Note that the Key-ID expected is 30, but in test_AuthenticatedPacketUnknownKey()
287 NTP_OLDVERSION - 1, in test_ServerVersionTooOld()
442 /* TODO: Should not expect failure if non-FIPS OpenSSL */ in test_CorrectAuthenticatedPacketMD5()