/NetX-Duo-v6.4.1/crypto_libraries/src/ |
D | nx_crypto_method_self_test_sha.c | 239 UCHAR *secret; in _nx_crypto_method_self_test_sha() local 255 secret = secret_1; in _nx_crypto_method_self_test_sha() 261 secret = secret_224; in _nx_crypto_method_self_test_sha() 267 secret = secret_256; in _nx_crypto_method_self_test_sha() 273 secret = secret_384; in _nx_crypto_method_self_test_sha() 279 secret = secret_512; in _nx_crypto_method_self_test_sha() 285 secret = secret_512_224; in _nx_crypto_method_self_test_sha() 291 secret = secret_512_256; in _nx_crypto_method_self_test_sha() 344 if(NX_CRYPTO_MEMCMP(output, secret, output_length) != 0) in _nx_crypto_method_self_test_sha()
|
D | nx_crypto_method_self_test_hmac_sha.c | 253 UCHAR *secret; in _nx_crypto_method_self_test_hmac_sha() local 271 secret = secret_1_96; in _nx_crypto_method_self_test_hmac_sha() 279 secret = secret_1_160; in _nx_crypto_method_self_test_hmac_sha() 287 secret = secret_224; in _nx_crypto_method_self_test_hmac_sha() 295 secret = secret_256; in _nx_crypto_method_self_test_hmac_sha() 303 secret = secret_384; in _nx_crypto_method_self_test_hmac_sha() 311 secret = secret_512; in _nx_crypto_method_self_test_hmac_sha() 319 secret = secret_512_224; in _nx_crypto_method_self_test_hmac_sha() 327 secret = secret_512_256; in _nx_crypto_method_self_test_hmac_sha() 382 if(NX_CRYPTO_MEMCMP(output, secret, output_length) != 0) in _nx_crypto_method_self_test_hmac_sha() [all …]
|
D | nx_crypto_method_self_test_prf.c | 156 UCHAR *secret; in _nx_crypto_method_self_test_prf() local 176 secret = secret_sha1; in _nx_crypto_method_self_test_prf() 186 secret = secret_sha256; in _nx_crypto_method_self_test_prf() 196 secret = secret_sha384; in _nx_crypto_method_self_test_prf() 206 secret = secret_sha512; in _nx_crypto_method_self_test_prf() 226 secret, in _nx_crypto_method_self_test_prf()
|
D | nx_crypto_phash.c | 79 UCHAR *secret; in _nx_crypto_phash() local 107 secret = phash -> nx_crypto_phash_secret; in _nx_crypto_phash() 141 secret, in _nx_crypto_phash() 156 secret, in _nx_crypto_phash() 199 secret, in _nx_crypto_phash()
|
D | nx_crypto_method_self_test_rsa.c | 552 static const UCHAR *secret[] = {secret_1024, secret_2048, secret_3072, secret_4096}; variable 656 if (NX_CRYPTO_MEMCMP(output, secret[i], output_size[i]) != 0) in _nx_crypto_method_self_test_rsa() 689 (UCHAR *)secret[i], in _nx_crypto_method_self_test_rsa() 773 (UCHAR *)secret[i], in _nx_crypto_method_self_test_rsa()
|
/NetX-Duo-v6.4.1/nx_secure/src/ |
D | nx_secure_crypto_method_self_test_aes.c | 233 UCHAR *secret; in _nx_secure_crypto_method_self_test_aes() local 256 secret = (UCHAR *)secret_cbc_128; in _nx_secure_crypto_method_self_test_aes() 262 secret = (UCHAR *)secret_cbc_192; in _nx_secure_crypto_method_self_test_aes() 268 secret = (UCHAR *)secret_cbc_256; in _nx_secure_crypto_method_self_test_aes() 282 secret = (UCHAR *)secret_ctr_128; in _nx_secure_crypto_method_self_test_aes() 288 secret = (UCHAR *)secret_ctr_192; in _nx_secure_crypto_method_self_test_aes() 294 secret = (UCHAR *)secret_ctr_256; in _nx_secure_crypto_method_self_test_aes() 308 secret = (UCHAR *)secret_gcm_128; in _nx_secure_crypto_method_self_test_aes() 381 if (NX_SECURE_MEMCMP(output, secret, secret_size) != 0) in _nx_secure_crypto_method_self_test_aes() 392 secret, in _nx_secure_crypto_method_self_test_aes()
|
D | nx_secure_crypto_method_self_test_sha.c | 180 UCHAR *secret; in _nx_secure_crypto_method_self_test_sha() local 196 secret = secret_1; in _nx_secure_crypto_method_self_test_sha() 202 secret = secret_256; in _nx_secure_crypto_method_self_test_sha() 208 secret = secret_384; in _nx_secure_crypto_method_self_test_sha() 214 secret = secret_512; in _nx_secure_crypto_method_self_test_sha() 267 if(NX_SECURE_MEMCMP(output, secret, output_length) != 0) in _nx_secure_crypto_method_self_test_sha()
|
D | nx_secure_crypto_method_self_test_hmac_sha.c | 181 UCHAR *secret; in _nx_secure_crypto_method_self_test_hmac_sha() local 199 secret = secret_1_96; in _nx_secure_crypto_method_self_test_hmac_sha() 207 secret = secret_1_160; in _nx_secure_crypto_method_self_test_hmac_sha() 215 secret = secret_256; in _nx_secure_crypto_method_self_test_hmac_sha() 223 secret = secret_384; in _nx_secure_crypto_method_self_test_hmac_sha() 231 secret = secret_512; in _nx_secure_crypto_method_self_test_hmac_sha() 286 if(NX_SECURE_MEMCMP(output, secret, output_length) != 0) in _nx_secure_crypto_method_self_test_hmac_sha() 356 if(NX_SECURE_MEMCMP(output, secret, output_length) != 0) in _nx_secure_crypto_method_self_test_hmac_sha()
|
D | nx_secure_crypto_method_self_test_prf.c | 104 UCHAR *secret; in _nx_secure_crypto_method_self_test_prf() local 124 secret = secret_sha1; in _nx_secure_crypto_method_self_test_prf() 134 secret = secret_sha256; in _nx_secure_crypto_method_self_test_prf() 154 secret, in _nx_secure_crypto_method_self_test_prf()
|
D | nx_secure_crypto_method_self_test_rsa.c | 405 static const UCHAR *secret[] = {secret_1024, secret_2048, secret_4096}; variable 505 if (NX_SECURE_MEMCMP(output, secret[i], output_size[i]) != 0) in _nx_secure_crypto_method_self_test_rsa() 538 (UCHAR *)secret[i], in _nx_secure_crypto_method_self_test_rsa() 622 (UCHAR *)secret[i], in _nx_secure_crypto_method_self_test_rsa()
|
/NetX-Duo-v6.4.1/test/regression/ppp_test/ |
D | netx_ppp_chap_bad_secret_passed_on_retry_test.c | 59 static UINT get_responder_values(CHAR *system, CHAR *name, CHAR *secret); 60 static UINT get_responder_values_ppp1(CHAR *system, CHAR *name, CHAR *secret); 61 static UINT get_verification_values(CHAR *system, CHAR *name, CHAR *secret); 284 static UINT get_responder_values(CHAR *system, CHAR *name, CHAR *secret) in get_responder_values() argument 303 secret[i] = secret_string[i]; in get_responder_values() 305 secret[i] = 0; in get_responder_values() 311 static UINT get_responder_values_ppp1(CHAR *system, CHAR *name, CHAR *secret) in get_responder_values_ppp1() argument 336 secret[i] = secret_string_ppp1[i]; in get_responder_values_ppp1() 342 secret[i] = secret_string[i]; in get_responder_values_ppp1() 347 secret[i] = 0; in get_responder_values_ppp1() [all …]
|
D | netx_ppp_chap_bad_secret_failed_retry_test.c | 60 static UINT get_responder_values(CHAR *system, CHAR *name, CHAR *secret); 61 static UINT get_responder_values_ppp1(CHAR *system, CHAR *name, CHAR *secret); 62 static UINT get_verification_values(CHAR *system, CHAR *name, CHAR *secret); 255 static UINT get_responder_values(CHAR *system, CHAR *name, CHAR *secret) in get_responder_values() argument 274 secret[i] = secret_string[i]; in get_responder_values() 276 secret[i] = 0; in get_responder_values() 282 static UINT get_responder_values_ppp1(CHAR *system, CHAR *name, CHAR *secret) in get_responder_values_ppp1() argument 303 secret[i] = secret_string_ppp1[i]; in get_responder_values_ppp1() 306 secret[i] = 0; in get_responder_values_ppp1() 313 static UINT get_verification_values(CHAR *system, CHAR *name, CHAR *secret) in get_verification_values() argument [all …]
|
/NetX-Duo-v6.4.1/test/regression/nx_secure_test/ |
D | nx_secure_rsa_test.c | 90 EXPECT_EQ(0, memcmp(output, rsa_data[i].secret, rsa_data[i].secret_len)); in thread_0_entry() 106 rsa_data[i].secret, in thread_0_entry() 159 rsa_data[i].secret, in thread_0_entry()
|
D | nx_secure_hmac_md5_test.c | 80 EXPECT_EQ(0, memcmp(output, hmac_md5_data[i].secret, sizeof(output))); in thread_0_entry() 127 EXPECT_EQ(0, memcmp(output, hmac_md5_data[i].secret, sizeof(output))); in thread_0_entry()
|
D | nx_secure_hmac_sha224_test.c | 80 EXPECT_EQ(0, memcmp(output, hmac_sha224_data[i].secret, sizeof(output))); in thread_0_entry() 127 EXPECT_EQ(0, memcmp(output, hmac_sha224_data[i].secret, sizeof(output))); in thread_0_entry()
|
D | nx_secure_aes_ccm_test.c | 147 EXPECT_EQ(0, memcmp(output, aes_ccm_data[i].secret, aes_ccm_data[i].secret_len)); in thread_0_entry() 154 memcpy(output, aes_ccm_data[i].secret, additional_len); in thread_0_entry() 162 aes_ccm_data[i].secret, in thread_0_entry() 176 … aes_ccm_data[i].secret + additional_len, in thread_0_entry()
|
D | nx_secure_aes_additional_test_data.c | 16 UCHAR *secret; member
|
D | nx_secure_sha256_test.c | 70 EXPECT_EQ(0, memcmp(output, sha256_data[i].secret, sizeof(output))); in thread_0_entry()
|
D | nx_secure_sha384_test.c | 69 EXPECT_EQ(0, memcmp(output, sha384_data[i].secret, sizeof(output))); in thread_0_entry()
|
D | nx_secure_sha512_test.c | 68 EXPECT_EQ(0, memcmp(output, sha512_data[i].secret, sizeof(output))); in thread_0_entry()
|
D | nx_secure_sha224_test.c | 69 EXPECT_EQ(0, memcmp(output, sha224_data[i].secret, sizeof(output))); in thread_0_entry()
|
D | nx_secure_hmac_sha384_test.c | 80 EXPECT_EQ(0, memcmp(output, hmac_sha384_data[i].secret, sizeof(output))); in thread_0_entry()
|
D | nx_secure_hmac_sha256_test.c | 81 EXPECT_EQ(0, memcmp(output, hmac_sha256_data[i].secret, sizeof(output))); in thread_0_entry() 128 EXPECT_EQ(0, memcmp(output, hmac_sha256_data[i].secret, sizeof(output))); in thread_0_entry()
|
D | nx_secure_hmac_sha512_test.c | 80 EXPECT_EQ(0, memcmp(output, hmac_sha512_data[i].secret, sizeof(output))); in thread_0_entry() 127 EXPECT_EQ(0, memcmp(output, hmac_sha512_data[i].secret, sizeof(output))); in thread_0_entry()
|
/NetX-Duo-v6.4.1/addons/ppp/ |
D | nx_ppp.h | 567 UINT (*nx_ppp_chap_get_responder_values)(CHAR *sys, CHAR *name, CHAR *secret); 568 UINT (*nx_ppp_chap_get_verification_values)(CHAR *sys, CHAR *name, CHAR *secret); 696 UINT (*get_responder_values)(CHAR *system, CHAR *name, CHAR *secret), 697 UINT (*get_verification_values)(CHAR *system, CHAR *name, CHAR *secret)); 734 UINT (*get_responder_values)(CHAR *system, CHAR *name, CHAR *secret), 735 UINT (*get_verification_values)(CHAR *system, CHAR *name, CHAR *secret)); 738 UINT (*get_responder_values)(CHAR *system, CHAR *name, CHAR *secret), 739 UINT (*get_verification_values)(CHAR *system, CHAR *name, CHAR *secret)); 830 void _nx_ppp_hash_generator(unsigned char *hvalue, unsigned char id, unsigned char *secret, un…
|