Home
last modified time | relevance | path

Searched refs:digest (Results 1 – 23 of 23) sorted by relevance

/NetX-Duo-v6.2.1/addons/websocket/
Dnx_sha1.c309 UINT _nx_sha1_digest_calculate(NX_SHA1 *context, UCHAR digest[20]) in _nx_sha1_digest_calculate()
340 digest[ 0] = (UCHAR) (context -> nx_sha1_states[0] >> 24); in _nx_sha1_digest_calculate()
341 digest[ 1] = (UCHAR) (context -> nx_sha1_states[0] >> 16); in _nx_sha1_digest_calculate()
342 digest[ 2] = (UCHAR) (context -> nx_sha1_states[0] >> 8); in _nx_sha1_digest_calculate()
343 digest[ 3] = (UCHAR) (context -> nx_sha1_states[0]); in _nx_sha1_digest_calculate()
344 digest[ 4] = (UCHAR) (context -> nx_sha1_states[1] >> 24); in _nx_sha1_digest_calculate()
345 digest[ 5] = (UCHAR) (context -> nx_sha1_states[1] >> 16); in _nx_sha1_digest_calculate()
346 digest[ 6] = (UCHAR) (context -> nx_sha1_states[1] >> 8); in _nx_sha1_digest_calculate()
347 digest[ 7] = (UCHAR) (context -> nx_sha1_states[1]); in _nx_sha1_digest_calculate()
348 digest[ 8] = (UCHAR) (context -> nx_sha1_states[2] >> 24); in _nx_sha1_digest_calculate()
[all …]
Dnx_sha1.h112 UINT _nx_sha1_digest_calculate(NX_SHA1 *context, UCHAR digest[20]);
Dnx_websocket_client.c1006 UCHAR digest[NX_WEBSOCKET_ACCEPT_DIGEST_SIZE]; in _nx_websocket_client_connect_response_process() local
1148 _nx_sha1_digest_calculate(&(client_ptr -> nx_websocket_client_sha1), digest); in _nx_websocket_client_connect_response_process()
1151 …_nx_utility_base64_encode(digest, NX_WEBSOCKET_ACCEPT_DIGEST_SIZE, key, (NX_WEBSOCKET_ACCEPT_KEY_S… in _nx_websocket_client_connect_response_process()
/NetX-Duo-v6.2.1/addons/snmp/
Dnx_sha1.c309 UINT _nx_sha1_digest_calculate(NX_SHA1 *context, UCHAR digest[20]) in _nx_sha1_digest_calculate()
340 digest[ 0] = (UCHAR) (context -> nx_sha1_states[0] >> 24); in _nx_sha1_digest_calculate()
341 digest[ 1] = (UCHAR) (context -> nx_sha1_states[0] >> 16); in _nx_sha1_digest_calculate()
342 digest[ 2] = (UCHAR) (context -> nx_sha1_states[0] >> 8); in _nx_sha1_digest_calculate()
343 digest[ 3] = (UCHAR) (context -> nx_sha1_states[0]); in _nx_sha1_digest_calculate()
344 digest[ 4] = (UCHAR) (context -> nx_sha1_states[1] >> 24); in _nx_sha1_digest_calculate()
345 digest[ 5] = (UCHAR) (context -> nx_sha1_states[1] >> 16); in _nx_sha1_digest_calculate()
346 digest[ 6] = (UCHAR) (context -> nx_sha1_states[1] >> 8); in _nx_sha1_digest_calculate()
347 digest[ 7] = (UCHAR) (context -> nx_sha1_states[1]); in _nx_sha1_digest_calculate()
348 digest[ 8] = (UCHAR) (context -> nx_sha1_states[2] >> 24); in _nx_sha1_digest_calculate()
[all …]
Dnx_sha1.h112 UINT _nx_sha1_digest_calculate(NX_SHA1 *context, UCHAR digest[20]);
/NetX-Duo-v6.2.1/crypto_libraries/src/
Dnx_crypto_sha1.c320 NX_CRYPTO_KEEP UINT _nx_crypto_sha1_digest_calculate(NX_CRYPTO_SHA1 *context, UCHAR digest[20], UI… in _nx_crypto_sha1_digest_calculate()
352 digest[0] = (UCHAR)(context -> nx_sha1_states[0] >> 24); in _nx_crypto_sha1_digest_calculate()
353 digest[1] = (UCHAR)(context -> nx_sha1_states[0] >> 16); in _nx_crypto_sha1_digest_calculate()
354 digest[2] = (UCHAR)(context -> nx_sha1_states[0] >> 8); in _nx_crypto_sha1_digest_calculate()
355 digest[3] = (UCHAR)(context -> nx_sha1_states[0]); in _nx_crypto_sha1_digest_calculate()
356 digest[4] = (UCHAR)(context -> nx_sha1_states[1] >> 24); in _nx_crypto_sha1_digest_calculate()
357 digest[5] = (UCHAR)(context -> nx_sha1_states[1] >> 16); in _nx_crypto_sha1_digest_calculate()
358 digest[6] = (UCHAR)(context -> nx_sha1_states[1] >> 8); in _nx_crypto_sha1_digest_calculate()
359 digest[7] = (UCHAR)(context -> nx_sha1_states[1]); in _nx_crypto_sha1_digest_calculate()
360 digest[8] = (UCHAR)(context -> nx_sha1_states[2] >> 24); in _nx_crypto_sha1_digest_calculate()
[all …]
Dnx_crypto_sha2.c318 NX_CRYPTO_KEEP UINT _nx_crypto_sha256_digest_calculate(NX_CRYPTO_SHA256 *context, UCHAR *digest, UI… in _nx_crypto_sha256_digest_calculate() argument
344 digest[0] = (UCHAR)(context -> nx_sha256_states[0] >> 24); in _nx_crypto_sha256_digest_calculate()
345 digest[1] = (UCHAR)(context -> nx_sha256_states[0] >> 16); in _nx_crypto_sha256_digest_calculate()
346 digest[2] = (UCHAR)(context -> nx_sha256_states[0] >> 8); in _nx_crypto_sha256_digest_calculate()
347 digest[3] = (UCHAR)(context -> nx_sha256_states[0]); in _nx_crypto_sha256_digest_calculate()
348 digest[4] = (UCHAR)(context -> nx_sha256_states[1] >> 24); in _nx_crypto_sha256_digest_calculate()
349 digest[5] = (UCHAR)(context -> nx_sha256_states[1] >> 16); in _nx_crypto_sha256_digest_calculate()
350 digest[6] = (UCHAR)(context -> nx_sha256_states[1] >> 8); in _nx_crypto_sha256_digest_calculate()
351 digest[7] = (UCHAR)(context -> nx_sha256_states[1]); in _nx_crypto_sha256_digest_calculate()
352 digest[8] = (UCHAR)(context -> nx_sha256_states[2] >> 24); in _nx_crypto_sha256_digest_calculate()
[all …]
Dnx_crypto_sha5.c364 NX_CRYPTO_KEEP UINT _nx_crypto_sha512_digest_calculate(NX_CRYPTO_SHA512 *context, UCHAR *digest, UI… in _nx_crypto_sha512_digest_calculate() argument
426 digest[0] = (UCHAR)(context -> nx_sha512_states[i] >> 56); in _nx_crypto_sha512_digest_calculate()
427 digest[1] = (UCHAR)(context -> nx_sha512_states[i] >> 48); in _nx_crypto_sha512_digest_calculate()
428 digest[2] = (UCHAR)(context -> nx_sha512_states[i] >> 40); in _nx_crypto_sha512_digest_calculate()
429 digest[3] = (UCHAR)(context -> nx_sha512_states[i] >> 32); in _nx_crypto_sha512_digest_calculate()
430 digest[4] = (UCHAR)(context -> nx_sha512_states[i] >> 24); in _nx_crypto_sha512_digest_calculate()
431 digest[5] = (UCHAR)(context -> nx_sha512_states[i] >> 16); in _nx_crypto_sha512_digest_calculate()
432 digest[6] = (UCHAR)(context -> nx_sha512_states[i] >> 8); in _nx_crypto_sha512_digest_calculate()
433 digest[7] = (UCHAR)(context -> nx_sha512_states[i]); in _nx_crypto_sha512_digest_calculate()
434 digest += 8; in _nx_crypto_sha512_digest_calculate()
[all …]
Dnx_crypto_md5.c338 NX_CRYPTO_KEEP UINT _nx_crypto_md5_digest_calculate(NX_CRYPTO_MD5 *context, UCHAR digest[16], UINT… in _nx_crypto_md5_digest_calculate()
370 digest[0] = (UCHAR)context -> nx_md5_states[0]; in _nx_crypto_md5_digest_calculate()
371 digest[1] = (UCHAR)(context -> nx_md5_states[0] >> 8); in _nx_crypto_md5_digest_calculate()
372 digest[2] = (UCHAR)(context -> nx_md5_states[0] >> 16); in _nx_crypto_md5_digest_calculate()
373 digest[3] = (UCHAR)(context -> nx_md5_states[0] >> 24); in _nx_crypto_md5_digest_calculate()
374 digest[4] = (UCHAR)context -> nx_md5_states[1]; in _nx_crypto_md5_digest_calculate()
375 digest[5] = (UCHAR)(context -> nx_md5_states[1] >> 8); in _nx_crypto_md5_digest_calculate()
376 digest[6] = (UCHAR)(context -> nx_md5_states[1] >> 16); in _nx_crypto_md5_digest_calculate()
377 digest[7] = (UCHAR)(context -> nx_md5_states[1] >> 24); in _nx_crypto_md5_digest_calculate()
378 digest[8] = (UCHAR)context -> nx_md5_states[2]; in _nx_crypto_md5_digest_calculate()
[all …]
Dnx_crypto_hmac.c590 UINT _nx_crypto_hmac_hash_digest_calculate(VOID *context, UCHAR *digest, UINT algorithm) in _nx_crypto_hmac_hash_digest_calculate() argument
615 digest, in _nx_crypto_hmac_hash_digest_calculate()
/NetX-Duo-v6.2.1/common/src/
Dnx_md5.c326 UINT _nx_md5_digest_calculate(NX_MD5 *context, UCHAR digest[16]) in _nx_md5_digest_calculate()
357 digest[ 0] = (UCHAR) context -> nx_md5_states[0]; in _nx_md5_digest_calculate()
358 digest[ 1] = (UCHAR) (context -> nx_md5_states[0] >> 8); in _nx_md5_digest_calculate()
359 digest[ 2] = (UCHAR) (context -> nx_md5_states[0] >> 16); in _nx_md5_digest_calculate()
360 digest[ 3] = (UCHAR) (context -> nx_md5_states[0] >> 24); in _nx_md5_digest_calculate()
361 digest[ 4] = (UCHAR) context -> nx_md5_states[1]; in _nx_md5_digest_calculate()
362 digest[ 5] = (UCHAR) (context -> nx_md5_states[1] >> 8); in _nx_md5_digest_calculate()
363 digest[ 6] = (UCHAR) (context -> nx_md5_states[1] >> 16); in _nx_md5_digest_calculate()
364 digest[ 7] = (UCHAR) (context -> nx_md5_states[1] >> 24); in _nx_md5_digest_calculate()
365 digest[ 8] = (UCHAR) context -> nx_md5_states[2]; in _nx_md5_digest_calculate()
[all …]
/NetX-Duo-v6.2.1/test/regression/websocket_test/
Dnetx_websocket_common_process.c25 UCHAR digest[TEST_CONNECT_DIGEST_SIZE]; in _server_connect_response_process() local
131 _nx_sha1_digest_calculate(&SH, digest); in _server_connect_response_process()
134 …_nx_utility_base64_encode(digest, TEST_CONNECT_DIGEST_SIZE, connect_key, TEST_CONNECT_KEY_SIZE, &c… in _server_connect_response_process()
/NetX-Duo-v6.2.1/common/inc/
Dnx_md5.h110 UINT _nx_md5_digest_calculate(NX_MD5 *context, UCHAR digest[16]);
/NetX-Duo-v6.2.1/test/regression/mqtt_test/
Dnetx_mqtt_websocket_block_test.c343 UCHAR digest[TEST_CONNECT_DIGEST_SIZE]; in _server_connect_response_process() local
449 _nx_sha1_digest_calculate(&SH, digest); in _server_connect_response_process()
452 digest[20] = 0; in _server_connect_response_process()
455 …_nx_utility_base64_encode(digest, (TEST_CONNECT_DIGEST_SIZE - 1), connect_key, TEST_CONNECT_KEY_SI… in _server_connect_response_process()
Dnetx_mqtt_websocket_non_block_test.c355 UCHAR digest[TEST_CONNECT_DIGEST_SIZE]; in _server_connect_response_process() local
461 _nx_sha1_digest_calculate(&SH, digest); in _server_connect_response_process()
464 digest[20] = 0; in _server_connect_response_process()
467 …_nx_utility_base64_encode(digest, (TEST_CONNECT_DIGEST_SIZE - 1), connect_key, TEST_CONNECT_KEY_SI… in _server_connect_response_process()
/NetX-Duo-v6.2.1/crypto_libraries/inc/
Dnx_crypto_md5.h119 UINT _nx_crypto_md5_digest_calculate(NX_CRYPTO_MD5 * context, UCHAR digest[16], UINT algorithm);
Dnx_crypto_sha2.h94 UINT _nx_crypto_sha256_digest_calculate(NX_CRYPTO_SHA256 *context, UCHAR *digest, UINT algorithm);
Dnx_crypto_sha1.h125 UINT _nx_crypto_sha1_digest_calculate(NX_CRYPTO_SHA1 * context, UCHAR digest[20], UINT algorithm);
Dnx_crypto_sha5.h106 UINT _nx_crypto_sha512_digest_calculate(NX_CRYPTO_SHA512 *context, UCHAR *digest, UINT algorithm);
Dnx_crypto_hmac.h103 UINT _nx_crypto_hmac_hash_digest_calculate(VOID *context, UCHAR *digest, UINT algorithm);
/NetX-Duo-v6.2.1/test/regression/nx_secure_test/hash_clone/
Dnx_crypto_clone_cleanup_test.h46 …leanup_test_digest_calculate(NX_CRYPTO_CLONE_CLEANUP_TEST *context, UCHAR *digest, UINT algorithm);
Dnx_crypto_clone_cleanup_test.c64 …cleanup_test_digest_calculate(NX_CRYPTO_CLONE_CLEANUP_TEST *context, UCHAR *digest, UINT algorithm) in _nx_crypto_clone_cleanup_test_digest_calculate() argument
72 …sha256_digest_calculate((NX_CRYPTO_SHA256 *)context -> nx_crypto_hash_metadata, digest, algorithm); in _nx_crypto_clone_cleanup_test_digest_calculate()
/NetX-Duo-v6.2.1/docs/
Drevision_history.txt4182 … Added digest authentication callback support.
4413 … Added digest authentication callback support.
4420 … Added digest authentication callback support.