Home
last modified time | relevance | path

Searched refs:output_length_in_byte (Results 1 – 25 of 92) sorted by relevance

1234

/NetX-Duo-v6.2.1/crypto_libraries/src/
Dnx_crypto_hmac_md5.c232 ULONG output_length_in_byte, in _nx_crypto_method_hmac_md5_operation() argument
287 if(output_length_in_byte == 0) in _nx_crypto_method_hmac_md5_operation()
293 … (output_length_in_byte > (ULONG)((method -> nx_crypto_ICV_size_in_bits) >> 3) ? in _nx_crypto_method_hmac_md5_operation()
294 … ((method -> nx_crypto_ICV_size_in_bits) >> 3) : output_length_in_byte)); in _nx_crypto_method_hmac_md5_operation()
303 if(output_length_in_byte == 0) in _nx_crypto_method_hmac_md5_operation()
309 … (output_length_in_byte > (ULONG)((method -> nx_crypto_ICV_size_in_bits) >> 3) ? in _nx_crypto_method_hmac_md5_operation()
310 ((method -> nx_crypto_ICV_size_in_bits) >> 3) : output_length_in_byte)); in _nx_crypto_method_hmac_md5_operation()
Dnx_crypto_hmac_sha1.c231 ULONG output_length_in_byte, in _nx_crypto_method_hmac_sha1_operation() argument
286 if(output_length_in_byte == 0) in _nx_crypto_method_hmac_sha1_operation()
292 … (output_length_in_byte > (ULONG)((method -> nx_crypto_ICV_size_in_bits) >> 3) ? in _nx_crypto_method_hmac_sha1_operation()
293 … ((method -> nx_crypto_ICV_size_in_bits) >> 3) : output_length_in_byte)); in _nx_crypto_method_hmac_sha1_operation()
302 if(output_length_in_byte == 0) in _nx_crypto_method_hmac_sha1_operation()
308 … (output_length_in_byte > (ULONG)((method -> nx_crypto_ICV_size_in_bits) >> 3) ? in _nx_crypto_method_hmac_sha1_operation()
309 ((method -> nx_crypto_ICV_size_in_bits) >> 3) : output_length_in_byte)); in _nx_crypto_method_hmac_sha1_operation()
Dnx_crypto_hmac_sha2.c232 ULONG output_length_in_byte, in _nx_crypto_method_hmac_sha256_operation() argument
304 if(output_length_in_byte == 0) in _nx_crypto_method_hmac_sha256_operation()
309 … (output_length_in_byte > (ULONG)((method -> nx_crypto_ICV_size_in_bits) >> 3) ? in _nx_crypto_method_hmac_sha256_operation()
310 … ((method -> nx_crypto_ICV_size_in_bits) >> 3) : output_length_in_byte)); in _nx_crypto_method_hmac_sha256_operation()
319 if(output_length_in_byte == 0) in _nx_crypto_method_hmac_sha256_operation()
324 … (output_length_in_byte > (ULONG)((method -> nx_crypto_ICV_size_in_bits) >> 3) ? in _nx_crypto_method_hmac_sha256_operation()
325 ((method -> nx_crypto_ICV_size_in_bits) >> 3) : output_length_in_byte)); in _nx_crypto_method_hmac_sha256_operation()
Dnx_crypto_hmac_sha5.c231 ULONG output_length_in_byte, in _nx_crypto_method_hmac_sha512_operation() argument
244 NX_CRYPTO_PARAMETER_NOT_USED(output_length_in_byte); in _nx_crypto_method_hmac_sha512_operation()
319 … (output_length_in_byte > (ULONG)((method -> nx_crypto_ICV_size_in_bits) >> 3) ? in _nx_crypto_method_hmac_sha512_operation()
320 … ((method -> nx_crypto_ICV_size_in_bits) >> 3) : output_length_in_byte)); in _nx_crypto_method_hmac_sha512_operation()
330 … (output_length_in_byte > (ULONG)((method -> nx_crypto_ICV_size_in_bits) >> 3) ? in _nx_crypto_method_hmac_sha512_operation()
331 ((method -> nx_crypto_ICV_size_in_bits) >> 3) : output_length_in_byte)); in _nx_crypto_method_hmac_sha512_operation()
Dnx_crypto_tls_prf_1.c238 ULONG output_length_in_byte, in _nx_crypto_method_prf_1_operation() argument
303 NX_CRYPTO_MEMSET(output, 0, output_length_in_byte); in _nx_crypto_method_prf_1_operation()
327 status = _nx_crypto_phash(phash, output, output_length_in_byte); in _nx_crypto_method_prf_1_operation()
341 status = _nx_crypto_phash(phash, output, output_length_in_byte); in _nx_crypto_method_prf_1_operation()
Dnx_crypto_sha5.c782 ULONG output_length_in_byte, in _nx_crypto_method_sha512_operation() argument
845 … if(((method -> nx_crypto_algorithm == NX_CRYPTO_HASH_SHA512) && (output_length_in_byte < 64)) || in _nx_crypto_method_sha512_operation()
846 … ((method -> nx_crypto_algorithm == NX_CRYPTO_HASH_SHA384) && (output_length_in_byte < 48)) || in _nx_crypto_method_sha512_operation()
847 … ((method -> nx_crypto_algorithm == NX_CRYPTO_HASH_SHA512_224) && (output_length_in_byte < 28)) || in _nx_crypto_method_sha512_operation()
848 … ((method -> nx_crypto_algorithm == NX_CRYPTO_HASH_SHA512_256) && (output_length_in_byte < 32))) in _nx_crypto_method_sha512_operation()
856 … if(((method -> nx_crypto_algorithm == NX_CRYPTO_HASH_SHA512) && (output_length_in_byte < 64)) || in _nx_crypto_method_sha512_operation()
857 … ((method -> nx_crypto_algorithm == NX_CRYPTO_HASH_SHA384) && (output_length_in_byte < 48)) || in _nx_crypto_method_sha512_operation()
858 … ((method -> nx_crypto_algorithm == NX_CRYPTO_HASH_SHA512_224) && (output_length_in_byte < 28)) || in _nx_crypto_method_sha512_operation()
859 … ((method -> nx_crypto_algorithm == NX_CRYPTO_HASH_SHA512_256) && (output_length_in_byte < 32))) in _nx_crypto_method_sha512_operation()
Dnx_crypto_hmac.c838 ULONG output_length_in_byte, in _nx_crypto_method_hmac_operation() argument
906 if(output_length_in_byte == 0) in _nx_crypto_method_hmac_operation()
911 … (output_length_in_byte > (ULONG)((hmac-> hash_method -> nx_crypto_ICV_size_in_bits) >> 3) ? in _nx_crypto_method_hmac_operation()
912 … ((hmac-> hash_method -> nx_crypto_ICV_size_in_bits) >> 3) : output_length_in_byte)); in _nx_crypto_method_hmac_operation()
922 if(output_length_in_byte == 0) in _nx_crypto_method_hmac_operation()
927 … (output_length_in_byte > (ULONG)((hmac -> hash_method -> nx_crypto_ICV_size_in_bits) >> 3) ? in _nx_crypto_method_hmac_operation()
928 … ((hmac -> hash_method -> nx_crypto_ICV_size_in_bits) >> 3) : output_length_in_byte)); in _nx_crypto_method_hmac_operation()
Dnx_crypto_tls_prf_sha256.c238 ULONG output_length_in_byte, in _nx_crypto_method_prf_sha_256_operation() argument
304 NX_CRYPTO_MEMSET(output, 0, output_length_in_byte); in _nx_crypto_method_prf_sha_256_operation()
307 status = _nx_crypto_phash(phash, output, output_length_in_byte); in _nx_crypto_method_prf_sha_256_operation()
Dnx_crypto_tls_prf_sha384.c238 ULONG output_length_in_byte, in _nx_crypto_method_prf_sha384_operation() argument
304 NX_CRYPTO_MEMSET(output, 0, output_length_in_byte); in _nx_crypto_method_prf_sha384_operation()
307 status = _nx_crypto_phash(phash, output, output_length_in_byte); in _nx_crypto_method_prf_sha384_operation()
Dnx_crypto_tls_prf_sha512.c238 ULONG output_length_in_byte, in _nx_crypto_method_prf_sha512_operation() argument
304 NX_CRYPTO_MEMSET(output, 0, output_length_in_byte); in _nx_crypto_method_prf_sha512_operation()
307 status = _nx_crypto_phash(phash, output, output_length_in_byte); in _nx_crypto_method_prf_sha512_operation()
Dnx_crypto_aes.c1913 ULONG output_length_in_byte, in _nx_crypto_method_aes_operation() argument
1941 output, output_length_in_byte, in _nx_crypto_method_aes_operation()
1952 output, output_length_in_byte, in _nx_crypto_method_aes_operation()
1964 output, output_length_in_byte, in _nx_crypto_method_aes_operation()
1975 output, output_length_in_byte, in _nx_crypto_method_aes_operation()
1983 output, output_length_in_byte, in _nx_crypto_method_aes_operation()
2060 ULONG output_length_in_byte, in _nx_crypto_method_aes_cbc_operation() argument
2073 NX_CRYPTO_PARAMETER_NOT_USED(output_length_in_byte); in _nx_crypto_method_aes_cbc_operation()
2239 ULONG output_length_in_byte, in _nx_crypto_method_aes_ccm_operation() argument
2252 NX_CRYPTO_PARAMETER_NOT_USED(output_length_in_byte); in _nx_crypto_method_aes_ccm_operation()
[all …]
Dnx_crypto_null_cipher.c197 ULONG output_length_in_byte, in _nx_crypto_method_null_operation() argument
212 NX_CRYPTO_PARAMETER_NOT_USED(output_length_in_byte); in _nx_crypto_method_null_operation()
/NetX-Duo-v6.2.1/test/regression/nx_secure_test/
Dnx_secure_hmac_md5_error_checking_test.c43 …, ULONG input_length_in_byte, UCHAR *iv_ptr, UCHAR *output, ULONG output_length_in_byte, VOID *cry… in test_nx_crypto_operation_failed() argument
48 …, ULONG input_length_in_byte, UCHAR *iv_ptr, UCHAR *output, ULONG output_length_in_byte, VOID *cry… in test_nx_crypto_operation_succeed() argument
53 …, ULONG input_length_in_byte, UCHAR *iv_ptr, UCHAR *output, ULONG output_length_in_byte, VOID *cry… in test_nx_crypto_operation_NX_CRYPTO_HASH_INITIALIZE_failed() argument
58 …y, key_size_in_bits, input, input_length_in_byte, iv_ptr, output, output_length_in_byte, crypto_me… in test_nx_crypto_operation_NX_CRYPTO_HASH_INITIALIZE_failed()
61 …, ULONG input_length_in_byte, UCHAR *iv_ptr, UCHAR *output, ULONG output_length_in_byte, VOID *cry… in test_nx_crypto_operation_NX_CRYPTO_HASH_UPDATE_failed() argument
66 …y, key_size_in_bits, input, input_length_in_byte, iv_ptr, output, output_length_in_byte, crypto_me… in test_nx_crypto_operation_NX_CRYPTO_HASH_UPDATE_failed()
69 …, ULONG input_length_in_byte, UCHAR *iv_ptr, UCHAR *output, ULONG output_length_in_byte, VOID *cry… in test_nx_crypto_operation_NX_CRYPTO_HASH_CALCULATE_failed() argument
74 …y, key_size_in_bits, input, input_length_in_byte, iv_ptr, output, output_length_in_byte, crypto_me… in test_nx_crypto_operation_NX_CRYPTO_HASH_CALCULATE_failed()
77 …, ULONG input_length_in_byte, UCHAR *iv_ptr, UCHAR *output, ULONG output_length_in_byte, VOID *cry… in test_nx_crypto_operation_NX_CRYPTO_HASH_CALCULATE_error() argument
82 …y, key_size_in_bits, input, input_length_in_byte, iv_ptr, output, output_length_in_byte, crypto_me… in test_nx_crypto_operation_NX_CRYPTO_HASH_CALCULATE_error()
Dnx_secure_drbg_test.c22 …, ULONG input_length_in_byte, UCHAR *iv_ptr, UCHAR *output, ULONG output_length_in_byte, VOID *cry… in test_nx_crypto_operation_failed() argument
27 …, ULONG input_length_in_byte, UCHAR *iv_ptr, UCHAR *output, ULONG output_length_in_byte, VOID *cry… in test_nx_crypto_operation_failed_NX_CRYPTO_DRBG_INSTANTIATE() argument
35 …, ULONG input_length_in_byte, UCHAR *iv_ptr, UCHAR *output, ULONG output_length_in_byte, VOID *cry… in test_nx_crypto_operation_failed_NX_CRYPTO_DRBG_GENERATE() argument
44 …, ULONG input_length_in_byte, UCHAR *iv_ptr, UCHAR *output, ULONG output_length_in_byte, VOID *cry… in test_nx_crypto_operation_failed_NX_CRYPTO_DRBG_GENERATE_0() argument
56 …, ULONG input_length_in_byte, UCHAR *iv_ptr, UCHAR *output, ULONG output_length_in_byte, VOID *cry… in test_nx_crypto_operation_succeed() argument
Dnx_secure_tls_generate_premaster_secret_coverage_test.c96 UCHAR* output, ULONG output_length_in_byte, in _nx_crypto_method_ecdh_operation_test() argument
106 iv_ptr, output, output_length_in_byte, crypto_metadata, crypto_metadata_size, in _nx_crypto_method_ecdh_operation_test()
263 ULONG output_length_in_byte, in fake_operation() argument
308 ULONG output_length_in_byte, in ecdsa_fake_operation() argument
353 ULONG output_length_in_byte, in x509_sha256_fake_operation() argument
397 ULONG output_length_in_byte, in public_auth_fake_operation() argument
Dnx_secure_x509_crl_verify_test.c265 ULONG output_length_in_byte, in test_crypto_operation() argument
283 ULONG output_length_in_byte, in test_crypto_operation_2() argument
306 ULONG output_length_in_byte, in test_nx_crypto_method_md5_operation() argument
315 input_length_in_byte, iv_ptr, output, output_length_in_byte, crypto_metadata, in test_nx_crypto_method_md5_operation()
320 memset(output, 0, output_length_in_byte); in test_nx_crypto_method_md5_operation()
Dnx_secure_des_error_checking_test.c51 …, ULONG input_length_in_byte, UCHAR *iv_ptr, UCHAR *output, ULONG output_length_in_byte, VOID *cry… in test_nx_crypto_operation_failed() argument
57 …y, key_size_in_bits, input, input_length_in_byte, iv_ptr, output, output_length_in_byte, crypto_me… in test_nx_crypto_operation_failed()
60 …, ULONG input_length_in_byte, UCHAR *iv_ptr, UCHAR *output, ULONG output_length_in_byte, VOID *cry… in test_nx_crypto_operation_succeed() argument
66 …y, key_size_in_bits, input, input_length_in_byte, iv_ptr, output, output_length_in_byte, crypto_me… in test_nx_crypto_operation_succeed()
Dnx_secure_ecdh_error_checking_test.c54 …, ULONG input_length_in_byte, UCHAR *iv_ptr, UCHAR *output, ULONG output_length_in_byte, VOID *cry… in test_nx_crypto_operation_failed() argument
60 …y, key_size_in_bits, input, input_length_in_byte, iv_ptr, output, output_length_in_byte, crypto_me… in test_nx_crypto_operation_failed()
63 …, ULONG input_length_in_byte, UCHAR *iv_ptr, UCHAR *output, ULONG output_length_in_byte, VOID *cry… in test_nx_crypto_operation_succeed() argument
69 …y, key_size_in_bits, input, input_length_in_byte, iv_ptr, output, output_length_in_byte, crypto_me… in test_nx_crypto_operation_succeed()
72 …, ULONG input_length_in_byte, UCHAR *iv_ptr, UCHAR *output, ULONG output_length_in_byte, VOID *cry… in test_nx_crypto_operation_succeed_0() argument
81 …y, key_size_in_bits, input, input_length_in_byte, iv_ptr, output, output_length_in_byte, crypto_me… in test_nx_crypto_operation_succeed_0()
Dnx_secure_tls_process_certificate_verify_test.c60 ULONG output_length_in_byte, in test_crypto_operation_fail() argument
78 ULONG output_length_in_byte, in test_crypto_operation_fail_on_crypto_verify() argument
100 ULONG output_length_in_byte, in test_crypto_operation_success() argument
110 memset(&output[2], 0xff, output_length_in_byte - 2); in test_crypto_operation_success()
Dnx_secure_hmac_sha1_test.c46 …, ULONG input_length_in_byte, UCHAR *iv_ptr, UCHAR *output, ULONG output_length_in_byte, VOID *cry… in test_nx_crypto_operation_failed() argument
52 …y, key_size_in_bits, input, input_length_in_byte, iv_ptr, output, output_length_in_byte, crypto_me… in test_nx_crypto_operation_failed()
55 …, ULONG input_length_in_byte, UCHAR *iv_ptr, UCHAR *output, ULONG output_length_in_byte, VOID *cry… in test_nx_crypto_operation_succeed() argument
61 …y, key_size_in_bits, input, input_length_in_byte, iv_ptr, output, output_length_in_byte, crypto_me… in test_nx_crypto_operation_succeed()
/NetX-Duo-v6.2.1/crypto_libraries/inc/
Dnx_crypto_aes.h174 ULONG output_length_in_byte,
189 ULONG output_length_in_byte,
204 ULONG output_length_in_byte,
219 ULONG output_length_in_byte,
234 ULONG output_length_in_byte,
249 ULONG output_length_in_byte,
Dnx_crypto_drbg.h174 UCHAR *output, UINT output_length_in_byte,
192 UCHAR *output, ULONG output_length_in_byte,
/NetX-Duo-v6.2.1/test/regression/nx_secure_test/hash_clone/
Dnx_crypto_clone_cleanup_test.c203 ULONG output_length_in_byte, in _nx_crypto_method_clone_cleanup_test_operation() argument
272 if(output_length_in_byte < 32) in _nx_crypto_method_clone_cleanup_test_operation()
275 else if(output_length_in_byte < 28) in _nx_crypto_method_clone_cleanup_test_operation()
285 if(output_length_in_byte < 32) in _nx_crypto_method_clone_cleanup_test_operation()
288 else if(output_length_in_byte < 28) in _nx_crypto_method_clone_cleanup_test_operation()
Dnx_crypto_hash_clone_test.h40 UCHAR *output, ULONG output_length_in_byte,
63 UCHAR *output, ULONG output_length_in_byte,
Dnx_crypto_hash_clone_test.c65 ULONG output_length_in_byte, in _nx_crypto_method_hash_clone_test_operation() argument
92 output, output_length_in_byte, in _nx_crypto_method_hash_clone_test_operation()

1234