Home
last modified time | relevance | path

Searched refs:secret (Results 1 – 25 of 44) sorted by relevance

12

/NetX-Duo-v6.4.1/crypto_libraries/src/
Dnx_crypto_method_self_test_sha.c239 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()
Dnx_crypto_method_self_test_hmac_sha.c253 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 …]
Dnx_crypto_method_self_test_prf.c156 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()
Dnx_crypto_phash.c79 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()
Dnx_crypto_method_self_test_rsa.c552 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/
Dnx_secure_crypto_method_self_test_aes.c233 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()
Dnx_secure_crypto_method_self_test_sha.c180 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()
Dnx_secure_crypto_method_self_test_hmac_sha.c181 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()
Dnx_secure_crypto_method_self_test_prf.c104 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()
Dnx_secure_crypto_method_self_test_rsa.c405 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/
Dnetx_ppp_chap_bad_secret_passed_on_retry_test.c59 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 …]
Dnetx_ppp_chap_bad_secret_failed_retry_test.c60 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/
Dnx_secure_rsa_test.c90 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()
Dnx_secure_hmac_md5_test.c80 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()
Dnx_secure_hmac_sha224_test.c80 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()
Dnx_secure_aes_ccm_test.c147 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()
Dnx_secure_aes_additional_test_data.c16 UCHAR *secret; member
Dnx_secure_sha256_test.c70 EXPECT_EQ(0, memcmp(output, sha256_data[i].secret, sizeof(output))); in thread_0_entry()
Dnx_secure_sha384_test.c69 EXPECT_EQ(0, memcmp(output, sha384_data[i].secret, sizeof(output))); in thread_0_entry()
Dnx_secure_sha512_test.c68 EXPECT_EQ(0, memcmp(output, sha512_data[i].secret, sizeof(output))); in thread_0_entry()
Dnx_secure_sha224_test.c69 EXPECT_EQ(0, memcmp(output, sha224_data[i].secret, sizeof(output))); in thread_0_entry()
Dnx_secure_hmac_sha384_test.c80 EXPECT_EQ(0, memcmp(output, hmac_sha384_data[i].secret, sizeof(output))); in thread_0_entry()
Dnx_secure_hmac_sha256_test.c81 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()
Dnx_secure_hmac_sha512_test.c80 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/
Dnx_ppp.h567 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…

12