Home
last modified time | relevance | path

Searched refs:NX_CRYPTO_SHA256 (Results 1 – 11 of 11) sorted by relevance

/NetX-Duo-v6.4.1/crypto_libraries/inc/
Dnx_crypto_sha2.h72 #define NX_SHA256 NX_CRYPTO_SHA256
89 } NX_CRYPTO_SHA256; typedef
92 UINT _nx_crypto_sha256_initialize(NX_CRYPTO_SHA256 *context, UINT algorithm);
93 UINT _nx_crypto_sha256_update(NX_CRYPTO_SHA256 *context, UCHAR *input_ptr, UINT input_length);
94 UINT _nx_crypto_sha256_digest_calculate(NX_CRYPTO_SHA256 *context, UCHAR *digest, UINT algorithm);
95 VOID _nx_crypto_sha256_process_buffer(NX_CRYPTO_SHA256 * context, UCHAR buffer[64]);
Dnx_crypto_hmac_sha2.h81 NX_CRYPTO_SHA256 nx_sha256_hmac_context;
/NetX-Duo-v6.4.1/crypto_libraries/src/
Dnx_crypto_sha2.c97 NX_CRYPTO_KEEP UINT _nx_crypto_sha256_initialize(NX_CRYPTO_SHA256 *context, UINT algorithm ) in _nx_crypto_sha256_initialize()
188 NX_CRYPTO_KEEP UINT _nx_crypto_sha256_update(NX_CRYPTO_SHA256 *context, UCHAR *input_ptr, UINT inpu… in _nx_crypto_sha256_update()
318 NX_CRYPTO_KEEP UINT _nx_crypto_sha256_digest_calculate(NX_CRYPTO_SHA256 *context, UCHAR *digest, UI… in _nx_crypto_sha256_digest_calculate()
436 NX_CRYPTO_KEEP VOID _nx_crypto_sha256_process_buffer(NX_CRYPTO_SHA256 *context, UCHAR buffer[64]) in _nx_crypto_sha256_process_buffer()
656 if(crypto_metadata_size < sizeof(NX_CRYPTO_SHA256)) in _nx_crypto_method_sha256_init()
714 NX_CRYPTO_MEMSET(crypto_metadata, 0, sizeof(NX_CRYPTO_SHA256)); in _nx_crypto_method_sha256_cleanup()
796 NX_CRYPTO_SHA256 *ctx; in _nx_crypto_method_sha256_operation()
818 if(crypto_metadata_size < sizeof(NX_CRYPTO_SHA256)) in _nx_crypto_method_sha256_operation()
823 ctx = (NX_CRYPTO_SHA256 *)crypto_metadata; in _nx_crypto_method_sha256_operation()
836 … _nx_crypto_sha256_initialize((NX_CRYPTO_SHA256 *)crypto_metadata, method -> nx_crypto_algorithm); in _nx_crypto_method_sha256_operation()
[all …]
Dnx_crypto_methods.c611 sizeof(NX_CRYPTO_SHA256), /* Metadata size in bytes */
625 sizeof(NX_CRYPTO_SHA256), /* Metadata size in bytes */
/NetX-Duo-v6.4.1/test/regression/crypto_test/
Dcrypto_size_print.c64 …printf(" sizeof(NX_CRYPTO_SHA256), %d\n", sizeof(NX_CRYPTO_SHA256));… in main()
/NetX-Duo-v6.4.1/test/regression/nx_secure_test/hash_clone/
Dnx_crypto_clone_cleanup_test.c24 …status = _nx_crypto_sha256_initialize((NX_CRYPTO_SHA256 *)context -> nx_crypto_hash_metadata, algo… in _nx_crypto_clone_cleanup_test_initialize()
54 …status = _nx_crypto_sha256_update((NX_CRYPTO_SHA256 *)context -> nx_crypto_hash_metadata, input_pt… in _nx_crypto_clone_cleanup_test_update()
72 …status = _nx_crypto_sha256_digest_calculate((NX_CRYPTO_SHA256 *)context -> nx_crypto_hash_metadata… in _nx_crypto_clone_cleanup_test_digest_calculate()
/NetX-Duo-v6.4.1/test/regression/nx_secure_test/
Dnx_secure_sha224_test.c15 static NX_CRYPTO_SHA256 sha224_ctx;
Dnx_secure_hmac_sha224_test.c18 sizeof(NX_CRYPTO_SHA256), /* Metadata size in bytes */
Dnx_secure_tls_cert_verify_test.c463 sizeof(NX_CRYPTO_SHA256), /* Metadata size in bytes */
595 sizeof(NX_CRYPTO_SHA256), /* Metadata size in bytes */
803 sizeof(NX_CRYPTO_SHA256), /* Metadata size in bytes */
Dnx_secure_sha_additional_test.c461 … (VOID *)0x04, sizeof(NX_CRYPTO_SHA256), /* crypto metadata */ in thread_0_entry()
473 … (VOID *)0x04, sizeof(NX_CRYPTO_SHA256), /* crypto metadata */ in thread_0_entry()
Dnx_secure_tls_1_3_session_create_ext_test.c229 sizeof(NX_CRYPTO_SHA256) + 1, /* Metadata size in bytes */