Home
last modified time | relevance | path

Searched refs:s (Results 1 – 25 of 62) sorted by relevance

123

/NetX-Duo-v6.4.1/crypto_libraries/inc/
Dnx_crypto_ec.h197 #define NX_CRYPTO_EC_SECP192R1_DATA_SETUP(s, b, c0, c1, c2, c3, c4, c5) \ argument
198 NX_CRYPTO_EC_CHANGE_ENDIAN((s) -> nx_crypto_huge_number_data[5], b, c0); \
199 NX_CRYPTO_EC_CHANGE_ENDIAN((s) -> nx_crypto_huge_number_data[4], b, c1); \
200 NX_CRYPTO_EC_CHANGE_ENDIAN((s) -> nx_crypto_huge_number_data[3], b, c2); \
201 NX_CRYPTO_EC_CHANGE_ENDIAN((s) -> nx_crypto_huge_number_data[2], b, c3); \
202 NX_CRYPTO_EC_CHANGE_ENDIAN((s) -> nx_crypto_huge_number_data[1], b, c4); \
203 NX_CRYPTO_EC_CHANGE_ENDIAN((s) -> nx_crypto_huge_number_data[0], b, c5); \
204 (s) -> nx_crypto_huge_number_size = 6; \
205 (s) -> nx_crypto_huge_number_is_negative = NX_CRYPTO_FALSE;
207 #define NX_CRYPTO_EC_SECP224R1_DATA_SETUP(s, b, c0, c1, c2, c3, c4, c5, c6) \ argument
[all …]
/NetX-Duo-v6.4.1/test/regression/interoperability_test/mqtt_test/
Dmqtt_interoperability_test.h12 #define STRING(s) str(s) argument
13 #define str(s) #s argument
/NetX-Duo-v6.4.1/crypto_libraries/src/
Dnx_crypto_gcm.c464 UCHAR *s = gcm_metadata -> nx_crypto_gcm_s; in _nx_crypto_gcm_encrypt_init() local
508 NX_CRYPTO_MEMSET(s, 0, NX_CRYPTO_GCM_BLOCK_SIZE); in _nx_crypto_gcm_encrypt_init()
509 _nx_crypto_gcm_ghash_update(hkey, additional_data, additional_len, s); in _nx_crypto_gcm_encrypt_init()
577 UCHAR *s = gcm_metadata -> nx_crypto_gcm_s; in _nx_crypto_gcm_encrypt_update() local
590 _nx_crypto_gcm_ghash_update(hkey, output, length, s); in _nx_crypto_gcm_encrypt_update()
649 UCHAR *s = gcm_metadata -> nx_crypto_gcm_s; in _nx_crypto_gcm_encrypt_calculate() local
678 _nx_crypto_gcm_ghash_update(hkey, tmp_block, NX_CRYPTO_GCM_BLOCK_SIZE, s); in _nx_crypto_gcm_encrypt_calculate()
682 _nx_crypto_gcm_gctr(crypto_metadata, crypto_function, s, s, NX_CRYPTO_GCM_BLOCK_SIZE, j0); in _nx_crypto_gcm_encrypt_calculate()
685 NX_CRYPTO_MEMCPY(output, s, icv_len); /* Use case of memcpy is verified. */ in _nx_crypto_gcm_encrypt_calculate()
746 UCHAR *s = gcm_metadata -> nx_crypto_gcm_s; in _nx_crypto_gcm_decrypt_update() local
[all …]
Dnx_crypto_drbg.c754 UCHAR *s; in _nx_crypto_drbg_block_cipher_df() local
778 s = &iv[NX_CRYPTO_DRBG_BLOCK_LENGTH]; in _nx_crypto_drbg_block_cipher_df()
780 s[0] = (UCHAR)((input_len >> 24) & 0xff); in _nx_crypto_drbg_block_cipher_df()
781 s[1] = (UCHAR)((input_len >> 16) & 0xff); in _nx_crypto_drbg_block_cipher_df()
782 s[2] = (UCHAR)((input_len >> 8) & 0xff); in _nx_crypto_drbg_block_cipher_df()
783 s[3] = (UCHAR)(input_len & 0xff); in _nx_crypto_drbg_block_cipher_df()
784 s[4] = (UCHAR)((output_len >> 24) & 0xff); in _nx_crypto_drbg_block_cipher_df()
785 s[5] = (UCHAR)((output_len >> 16) & 0xff); in _nx_crypto_drbg_block_cipher_df()
786 s[6] = (UCHAR)((output_len >> 8) & 0xff); in _nx_crypto_drbg_block_cipher_df()
787 s[7] = (UCHAR)(output_len & 0xff); in _nx_crypto_drbg_block_cipher_df()
[all …]
Dnx_crypto_md5.c67 #define FF(a, b, c, d, x, s, ac) { \ argument
69 (a) = LEFT_SHIFT_CIRCULAR((a), (s)); \
72 #define GG(a, b, c, d, x, s, ac) { \ argument
74 (a) = LEFT_SHIFT_CIRCULAR((a), (s)); \
77 #define HH(a, b, c, d, x, s, ac) { \ argument
79 (a) = LEFT_SHIFT_CIRCULAR((a), (s)); \
82 #define II(a, b, c, d, x, s, ac) { \ argument
84 (a) = LEFT_SHIFT_CIRCULAR((a), (s)); \
Dnx_crypto_ecjpake.c501 NX_CRYPTO_HUGE_NUMBER private_key, r, s; in _nx_crypto_ecjpake_key_exchange_generate() local
510 NX_CRYPTO_HUGE_NUMBER_INITIALIZE(&s, scratch, in _nx_crypto_ecjpake_key_exchange_generate()
516 _nx_crypto_huge_number_setup(&s, shared_secret, shared_secret_len); in _nx_crypto_ecjpake_key_exchange_generate()
517 _nx_crypto_huge_number_modulus(&s, &curve -> nx_crypto_ec_n); in _nx_crypto_ecjpake_key_exchange_generate()
524 &s, in _nx_crypto_ecjpake_key_exchange_generate()
638 NX_CRYPTO_HUGE_NUMBER r, s; in _nx_crypto_ecjpake_key_exchange_process() local
647 NX_CRYPTO_HUGE_NUMBER_INITIALIZE(&s, scratch, in _nx_crypto_ecjpake_key_exchange_process()
653 status = _nx_crypto_huge_number_setup(&s, shared_secret, shared_secret_len); in _nx_crypto_ecjpake_key_exchange_process()
660 _nx_crypto_huge_number_modulus(&s, &curve -> nx_crypto_ec_n); in _nx_crypto_ecjpake_key_exchange_process()
711 &s, in _nx_crypto_ecjpake_key_exchange_process()
[all …]
Dnx_crypto_ecdsa.c321 NX_CRYPTO_HUGE_NUMBER s; in _nx_crypto_ecdsa_verify() local
368 NX_CRYPTO_HUGE_NUMBER_INITIALIZE(&s, scratch, buffer_size); in _nx_crypto_ecdsa_verify()
412 status = _nx_crypto_huge_number_setup(&s, &signature[2], signature[1]); in _nx_crypto_ecdsa_verify()
419 if(_nx_crypto_huge_number_is_zero(&r) || _nx_crypto_huge_number_is_zero(&s)) in _nx_crypto_ecdsa_verify()
429 …if(NX_CRYPTO_HUGE_NUMBER_LESS != _nx_crypto_huge_number_compare_unsigned(&s, &curve -> nx_crypto_e… in _nx_crypto_ecdsa_verify()
452 _nx_crypto_huge_number_inverse_modulus(&s, &curve -> nx_crypto_ec_n, &w, scratch); in _nx_crypto_ecdsa_verify()
/NetX-Duo-v6.4.1/common/src/
Dnx_md5.c66 #define FF(a, b, c, d, x, s, ac) { \ argument
68 (a) = LEFT_SHIFT_CIRCULAR ((a), (s)); \
71 #define GG(a, b, c, d, x, s, ac) { \ argument
73 (a) = LEFT_SHIFT_CIRCULAR ((a), (s)); \
76 #define HH(a, b, c, d, x, s, ac) { \ argument
78 (a) = LEFT_SHIFT_CIRCULAR ((a), (s)); \
81 #define II(a, b, c, d, x, s, ac) { \ argument
83 (a) = LEFT_SHIFT_CIRCULAR ((a), (s)); \
/NetX-Duo-v6.4.1/test/regression/azure_iot/
Dtrusted_cert_unit_test.c33 #define STRING_UNSIGNED_ARGS(s) (UCHAR *)s, strlen(s) argument
Ddevice_cert_unit_test.c33 #define STRING_UNSIGNED_ARGS(s) (UCHAR *)s, strlen(s) argument
Dconnection_non_block_ram_test.c32 #define STRING_UNSIGNED_ARGS(s) (UCHAR *)s, strlen(s) argument
Dconnection_sas_expiry_ram_test.c32 #define STRING_UNSIGNED_ARGS(s) (UCHAR *)s, strlen(s) argument
/NetX-Duo-v6.4.1/test/regression/interoperability_test/test_frame/
Dtls_test_frame.h163 #define xstr(s) str(s) argument
164 #define str(s) #s argument
/NetX-Duo-v6.4.1/test/regression/interoperability_test/nx_secure_test/
Dsignature_algorithm_test_nx_secure_echo_server_entry.c18 #define SIGALGS_INIT(p, s, c) {p, sizeof(p) / sizeof(UINT), s, c} argument
19 #define CERTIFICATE_INIT(s, k, c, t) {s, sizeof(s), k, sizeof(k), c, sizeof(c), t} argument
Dnx_secure_ecc_server_ciphersuites_entry.c18 #define CIPHERSUITE_INIT(p, s, c) {p, sizeof(p) / sizeof(UINT), s, c} argument
19 #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
23 #define SIGALGS_INIT(p, s, c) {p, sizeof(p) / sizeof(UINT), s, c} 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
17 #define TEST_CASE_INIT(g, c, s, t) {g, sizeof(g) / sizeof(USHORT),\ argument
18 c, sizeof(c) / sizeof(NX_CRYPTO_METHOD *), s, t}
/NetX-Duo-v6.4.1/test/regression/nx_secure_test/
Dnx_secure_tls_1_3_provisioned_psk_test.c21 #define CIPHERSUITE_INIT(p, s, c) {p, sizeof(p) / sizeof(UINT), s, c} argument
22 #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.c27 #define CIPHERSUITE_INIT(p, s, c) {p, sizeof(p) / sizeof(UINT), s, c} argument
28 #define CERTIFICATE_INIT(s, k, c, t) {s, sizeof(s), k, sizeof(k), c, sizeof(c), t} argument
Dnx_secure_tls_1_3_ciphersuites_test.c21 #define CIPHERSUITE_INIT(p, s, c) {p, sizeof(p) / sizeof(UINT), s, c} argument
22 #define CERTIFICATE_INIT(s, k, c, t) {s, sizeof(s), k, sizeof(k), c, sizeof(c), t} argument
Dnx_secure_tls_1_3_clienthello_length_checking_test.c28 #define CIPHERSUITE_INIT(p, s, c) {p, sizeof(p) / sizeof(UINT), s, c} argument
29 #define CERTIFICATE_INIT(s, k, c, t) {s, sizeof(s), k, sizeof(k), c, sizeof(c), t} argument
Dnx_secure_tls_1_3_serverhello_length_checking_test.c27 #define CIPHERSUITE_INIT(p, s, c) {p, sizeof(p) / sizeof(UINT), s, c} argument
28 #define CERTIFICATE_INIT(s, k, c, t) {s, sizeof(s), k, sizeof(k), c, sizeof(c), t} argument
/NetX-Duo-v6.4.1/utility/iperf/
Dnx_iperf.h120 #define htmlwrite(p, s, l) (nx_packet_data_append(p, s, l, server_ptr -> nx_web_http_server_packet_… argument
/NetX-Duo-v6.4.1/addons/azure_iot/
Dnx_azure_iot.h64 #define LogLiteralArgs(s) (UCHAR *)s, sizeof(s) - 1 argument
/NetX-Duo-v6.4.1/
DCONTRIBUTING.md12 * FileX - high-performance, FAT-compatible file system that’s fully integrated with ThreadX kernel
63 the email address matching the "Author" field of your contribution's Git commits
64 fulfills the DCO's requirement that you sign-off on your contributions.
71 Contact the project developers via the project's "dev" list.

123