Searched refs:scratch_ptr (Results 1 – 3 of 3) sorted by relevance
| /NetX-Duo-v6.2.1/test/regression/nx_secure_test/ |
| D | nx_secure_ec_additional_test.c | 39 UCHAR *scratch_ptr, buffer[256]; in thread_0_entry() local 46 scratch_ptr = scratch_buffer; in thread_0_entry() 47 NX_CRYPTO_HUGE_NUMBER_INITIALIZE(&(point.nx_crypto_ec_point_x), scratch_ptr, 64); in thread_0_entry() 48 NX_CRYPTO_HUGE_NUMBER_INITIALIZE(&(point.nx_crypto_ec_point_y), scratch_ptr, 64); in thread_0_entry() 49 NX_CRYPTO_HUGE_NUMBER_INITIALIZE(&(point1.nx_crypto_ec_point_x), scratch_ptr, 64); in thread_0_entry() 50 NX_CRYPTO_HUGE_NUMBER_INITIALIZE(&(point1.nx_crypto_ec_point_y), scratch_ptr, 64); in thread_0_entry() 103 NX_CRYPTO_HUGE_NUMBER_INITIALIZE(&value, scratch_ptr, 64); in thread_0_entry() 121 _nx_crypto_ec_fp_affine_add(&test_ec, &point, &point, (HN_UBASE *)scratch_ptr); in thread_0_entry() 125 _nx_crypto_ec_fp_affine_add(&test_ec, &point, &point1, (HN_UBASE *)scratch_ptr); in thread_0_entry()
|
| /NetX-Duo-v6.2.1/crypto_libraries/src/ |
| D | nx_crypto_ecjpake.c | 78 HN_UBASE *scratch_ptr = *scratch_pptr; in _nx_crypto_ecjpake_init() local 86 ecjpake -> nx_crypto_ecjpake_hash_metadata = scratch_ptr; in _nx_crypto_ecjpake_init() 87 scratch_ptr += hash_metadata_size >> HN_SIZE_SHIFT; in _nx_crypto_ecjpake_init() 95 NX_CRYPTO_EC_POINT_AFFINE, scratch_ptr, buffer_size); in _nx_crypto_ecjpake_init() 97 NX_CRYPTO_EC_POINT_AFFINE, scratch_ptr, buffer_size); in _nx_crypto_ecjpake_init() 99 NX_CRYPTO_EC_POINT_AFFINE, scratch_ptr, buffer_size); in _nx_crypto_ecjpake_init() 101 NX_CRYPTO_EC_POINT_AFFINE, scratch_ptr, buffer_size); in _nx_crypto_ecjpake_init() 103 …NX_CRYPTO_HUGE_NUMBER_INITIALIZE(&ecjpake -> nx_crypto_ecjpake_private_x2, scratch_ptr, buffer_siz… in _nx_crypto_ecjpake_init() 105 *scratch_pptr = scratch_ptr; in _nx_crypto_ecjpake_init()
|
| D | nx_crypto_ec.c | 3359 HN_UBASE *scratch_ptr; in _nx_crypto_ec_precomputation() local 3377 scratch_ptr = *scratch_pptr; in _nx_crypto_ec_precomputation() 3378 fixed_points = (NX_CRYPTO_EC_FIXED_POINTS *)scratch_ptr; in _nx_crypto_ec_precomputation() 3379 scratch_ptr += sizeof(NX_CRYPTO_EC_FIXED_POINTS) >> HN_SIZE_SHIFT; in _nx_crypto_ec_precomputation() 3387 fixed_points -> nx_crypto_ec_fixed_points_array = (NX_CRYPTO_EC_POINT *)scratch_ptr; in _nx_crypto_ec_precomputation() 3388 scratch_ptr += (sizeof(NX_CRYPTO_EC_POINT) * (UINT)((1 << window_width) - 2)) >> HN_SIZE_SHIFT; in _nx_crypto_ec_precomputation() 3389 fixed_points -> nx_crypto_ec_fixed_points_array_2e = (NX_CRYPTO_EC_POINT *)scratch_ptr; in _nx_crypto_ec_precomputation() 3390 scratch_ptr += (sizeof(NX_CRYPTO_EC_POINT) * (UINT)((1 << window_width) - 1)) >> HN_SIZE_SHIFT; in _nx_crypto_ec_precomputation() 3396 NX_CRYPTO_EC_POINT_AFFINE, scratch_ptr, in _nx_crypto_ec_precomputation() 3402 NX_CRYPTO_EC_POINT_AFFINE, scratch_ptr, in _nx_crypto_ec_precomputation() [all …]
|