Home
last modified time | relevance | path

Searched refs:k (Results 1 – 25 of 41) sorted by relevance

12

/NetX-Duo-v6.4.1/test/regression/mdns_test/
Dnetx_mdns_announcement_repeat_test.c33 static UINT k; variable
159 k = 1; in ntest_0_entry()
166 …nx_mdns_service_announcement_timing_set(&mdns_0, t, p, k, retrans_interval, period_interval, max_t… in ntest_0_entry()
192 k = 1; in ntest_0_entry()
199 …nx_mdns_service_announcement_timing_set(&mdns_0, t, p, k, retrans_interval, period_interval, max_t… in ntest_0_entry()
225 k = 1; in ntest_0_entry()
232 …nx_mdns_service_announcement_timing_set(&mdns_0, t, p, k, retrans_interval, period_interval, max_t… in ntest_0_entry()
258 k = 2; in ntest_0_entry()
265 …nx_mdns_service_announcement_timing_set(&mdns_0, t, p, k, retrans_interval, period_interval, max_t… in ntest_0_entry()
291 k = 1; in ntest_0_entry()
[all …]
/NetX-Duo-v6.4.1/crypto_libraries/src/
Dnx_crypto_ccm.c72 UINT *k = (UINT *)key; in _nx_crypto_ccm_xor() local
74 c[0] = p[0] ^ k[0]; in _nx_crypto_ccm_xor()
75 c[1] = p[1] ^ k[1]; in _nx_crypto_ccm_xor()
76 c[2] = p[2] ^ k[2]; in _nx_crypto_ccm_xor()
77 c[3] = p[3] ^ k[3]; in _nx_crypto_ccm_xor()
391 UINT i = 0, k = 0; in _nx_crypto_ccm_encrypt_update() local
424 for (k = 0; (k < block_size) && ((i + k) < length); k++) in _nx_crypto_ccm_encrypt_update()
426 output[i + k] = X[k] ^ input[i + k]; in _nx_crypto_ccm_encrypt_update()
Dnx_crypto_ctr.c71 UINT *k = (UINT *)key; in _nx_crypto_ctr_xor() local
73 c[0] = p[0] ^ k[0]; in _nx_crypto_ctr_xor()
74 c[1] = p[1] ^ k[1]; in _nx_crypto_ctr_xor()
75 c[2] = p[2] ^ k[2]; in _nx_crypto_ctr_xor()
76 c[3] = p[3] ^ k[3]; in _nx_crypto_ctr_xor()
Dnx_crypto_xcbc_mac.c71 UINT *k = (UINT *)key; in _nx_crypto_xcbc_xor() local
73 c[0] = p[0] ^ k[0]; in _nx_crypto_xcbc_xor()
74 c[1] = p[1] ^ k[1]; in _nx_crypto_xcbc_xor()
75 c[2] = p[2] ^ k[2]; in _nx_crypto_xcbc_xor()
76 c[3] = p[3] ^ k[3]; in _nx_crypto_xcbc_xor()
Dnx_crypto_ecdsa.c84 NX_CRYPTO_HUGE_NUMBER k; in _nx_crypto_ecdsa_sign() local
123 NX_CRYPTO_HUGE_NUMBER_INITIALIZE(&k, scratch, buffer_size + 8); in _nx_crypto_ecdsa_sign()
158 _nx_crypto_ec_key_pair_generation_extra(curve, &curve -> nx_crypto_ec_g, &k, &pt, in _nx_crypto_ecdsa_sign()
167 _nx_crypto_huge_number_inverse_modulus(&k, &curve -> nx_crypto_ec_n, &ik, scratch); in _nx_crypto_ecdsa_sign()
171 NX_CRYPTO_HUGE_NUMBER_COPY(&k, &temp); in _nx_crypto_ecdsa_sign()
172 _nx_crypto_huge_number_multiply(&ik, &k, &temp); in _nx_crypto_ecdsa_sign()
Dnx_crypto_gcm.c74 UINT *k = (UINT *)key; in _nx_crypto_gcm_xor() local
76 c[0] = p[0] ^ k[0]; in _nx_crypto_gcm_xor()
77 c[1] = p[1] ^ k[1]; in _nx_crypto_gcm_xor()
78 c[2] = p[2] ^ k[2]; in _nx_crypto_gcm_xor()
79 c[3] = p[3] ^ k[3]; in _nx_crypto_gcm_xor()
/NetX-Duo-v6.4.1/test/regression/nx_secure_test/
Dnx_secure_crypto_method_cleanup_test.c272 UINT i, j, k, status; in thread_0_entry() local
373 for (k = 0; k < sizeof(metadata); k++) in thread_0_entry()
375 if (metadata[k] != 0) in thread_0_entry()
404 UINT k; in crypto_method_cleanup_ecdh_test() local
566 for (k = 0; k < sizeof(metadata); k++) in crypto_method_cleanup_ecdh_test()
568 if (metadata[k] != 0) in crypto_method_cleanup_ecdh_test()
579 UINT k; in crypto_method_cleanup_ecdsa_test() local
700 for (k = 0; k < sizeof(metadata); k++) in crypto_method_cleanup_ecdsa_test()
702 if (metadata[k] != 0) in crypto_method_cleanup_ecdsa_test()
722 UINT k; in crypto_method_cleanup_ecjpake_test() local
[all …]
Dnx_secure_tls_1_3_provisioned_psk_test.c22 #define CERTIFICATE_INIT(s, k, c, t) {s, sizeof(s), k, sizeof(k), c, sizeof(c), t} argument
Dnx_secure_tls_empty_clienthello_extension_test.c28 #define CERTIFICATE_INIT(s, k, c, t) {s, sizeof(s), k, sizeof(k), c, sizeof(c), t} argument
/NetX-Duo-v6.4.1/test/regression/azure_iot/
Dc2d_property_unit_test.c253 UINT i, j, k, l; in multiple_properties_test() local
290 for (k = 0; k < 4; k++) in multiple_properties_test()
298 if (k == 0) in multiple_properties_test()
310 if (k == 1) in multiple_properties_test()
316 else if (k == 2) in multiple_properties_test()
/NetX-Duo-v6.4.1/nx_secure/src/
Dnx_secure_tls_process_clienthello_extensions.c513 UINT i, j, k; in _nx_secure_tls_proc_clienthello_sec_sa_extension() local
608 for (k = 0; k < ecc_info -> nx_secure_tls_ecc_supported_groups_count; k++) in _nx_secure_tls_proc_clienthello_sec_sa_extension()
611 …oup == tls_session -> nx_secure_tls_key_material.nx_secure_tls_ecc_key_data[k].nx_secure_tls_ecdhe… in _nx_secure_tls_proc_clienthello_sec_sa_extension()
615 … tls_session -> nx_secure_tls_key_material.nx_secure_tls_ecc_key_data_selected = k; in _nx_secure_tls_proc_clienthello_sec_sa_extension()
678 …for (k = 0; k < tls_session -> nx_secure_tls_crypto_table -> nx_secure_tls_x509_cipher_table_size;… in _nx_secure_tls_proc_clienthello_sec_sa_extension()
680 …ls_session -> nx_secure_tls_crypto_table -> nx_secure_tls_x509_cipher_table[k].nx_secure_x509_cryp… in _nx_secure_tls_proc_clienthello_sec_sa_extension()
/NetX-Duo-v6.4.1/test/regression/dhcp_test/
Dnetx_dhcp_client_two_interfaces.c575 UINT i, j, k; in server0_thread_entry() local
608 k = 0; // count of packets received on interface 1 in server0_thread_entry()
661 printf("Server 1 got %dth packet. Send %d packet back\n", k, j-4); in server0_thread_entry()
665 k++; in server0_thread_entry()
Dnetx_dhcp_client_activate_interfaces_test.c582 UINT i, j, k, pkt_number; in server_thread_entry() local
604 k = 0; in server_thread_entry()
642 pkt_number = k; in server_thread_entry()
651 k++; in server_thread_entry()
/NetX-Duo-v6.4.1/test/regression/netxduo_test/
Dnetx_13_04_test.c360 UINT j,k=0; in rand_13_04() local
366 if(flag) data_13_04[k++]='A'+rand()%26; in rand_13_04()
367 else data_13_04[k++]='a'+rand()%26; in rand_13_04()
Dnetx_13_17_test.c336 UINT j, k = 0;
343 data_13_17[k++] = 'A' + rand() % 26;
345 data_13_17[k++] = 'a' + rand() % 26;
Dnetx_13_05_test.c370 UINT j,k=0; in rand_13_05() local
376 if(flag) data_13_05[k++]='A'+rand()%26; in rand_13_05()
377 else data_13_05[k++]='a'+rand()%26; in rand_13_05()
Dnetx_12_18_test.c338 UINT j, k = 0; in rand_12_18() local
345 data_12_18[k++] = 'A' + rand() % 26; in rand_12_18()
347 data_12_18[k++] = 'a' + rand() % 26; in rand_12_18()
Dnetx_12_21_test.c355 UINT j, k = 0; in rand_12_21() local
362 data_12_21[k++] = 'A' + rand() % 26; in rand_12_21()
364 data_12_21[k++] = 'a' + rand() % 26; in rand_12_21()
Dnetx_12_27_test.c328 UINT j,k=0; in rand_12_27() local
334 if(flag) data_12_27[k++]='A'+rand()%26; in rand_12_27()
335 else data_12_27[k++]='a'+rand()%26; in rand_12_27()
Dnetx_12_20_test.c338 UINT j,k=0; in rand_12_20() local
344 if(flag) data_12_20[k++]='A'+rand()%26; in rand_12_20()
345 else data_12_20[k++]='a'+rand()%26; in rand_12_20()
/NetX-Duo-v6.4.1/addons/ftp/
Dnxd_ftp_server.c1622 INT k; in _nx_ftp_server_command_process() local
3209 k = -1; in _nx_ftp_server_command_process()
3215 k = (INT)j; in _nx_ftp_server_command_process()
3260 k++; in _nx_ftp_server_command_process()
3264 while ((buffer_ptr[(UINT)k + j]) && (j < FX_MAX_LONG_NAME_LEN-1)) in _nx_ftp_server_command_process()
3268 filename[j] = (CHAR)(buffer_ptr[(UINT)k + j]); in _nx_ftp_server_command_process()
5810 UINT j, k, i, m, colons, digit; in _nx_ftp_utility_parse_IPv6_address() local
5821 k = 0; in _nx_ftp_utility_parse_IPv6_address()
5954 ipduo_address -> nxd_ip_address.v6[k] = temp; in _nx_ftp_utility_parse_IPv6_address()
5960 ipduo_address -> nxd_ip_address.v6[k] <<= 16; in _nx_ftp_utility_parse_IPv6_address()
[all …]
/NetX-Duo-v6.4.1/test/regression/interoperability_test/nx_secure_test/
Dsignature_algorithm_test_nx_secure_echo_server_entry.c19 #define CERTIFICATE_INIT(s, k, c, t) {s, sizeof(s), k, sizeof(k), c, sizeof(c), t} argument
Dnx_secure_ecc_server_ciphersuites_entry.c19 #define CERTIFICATE_INIT(s, k, c, t) {s, sizeof(s), k, sizeof(k), c, sizeof(c), t} argument
Dsignature_algorithm_test_nx_secure_echo_client_entry.c22 #define CERTIFICATE_INIT(s, k, c, t) {s, sizeof(s), k, sizeof(k), c, sizeof(c), t} argument
Dnx_secure_ecc_server_curves_entry.c16 #define CERTIFICATE_INIT(s, k, c, t) {s, sizeof(s), k, sizeof(k), c, sizeof(c), t} argument

12