Searched refs:nx_crypto_ec_point_x (Results 1 – 5 of 5) sorted by relevance
/NetX-Duo-v6.3.0/crypto_libraries/src/ |
D | nx_crypto_ec.c | 748 if (_nx_crypto_huge_number_is_zero(&point -> nx_crypto_ec_point_x) && in _nx_crypto_ec_point_is_infinite() 812 NX_CRYPTO_HUGE_NUMBER_SET_DIGIT(&point -> nx_crypto_ec_point_x, 0); in _nx_crypto_ec_point_set_infinite() 882 status = _nx_crypto_huge_number_setup(&point -> nx_crypto_ec_point_x, byte_stream, len); in _nx_crypto_ec_point_setup() 960 status = _nx_crypto_huge_number_extract_fixed_size(&point -> nx_crypto_ec_point_x, in _nx_crypto_ec_point_extract_uncompressed() 1102 buffer_size = point -> nx_crypto_ec_point_x.nx_crypto_huge_buffer_size; in _nx_crypto_ec_point_fp_projective_to_affine() 1113 NX_CRYPTO_EC_MULTIPLE_REDUCE(curve, &point -> nx_crypto_ec_point_x, in _nx_crypto_ec_point_fp_projective_to_affine() 1115 NX_CRYPTO_HUGE_NUMBER_COPY(&point -> nx_crypto_ec_point_x, &temp2); in _nx_crypto_ec_point_fp_projective_to_affine() 2275 NX_CRYPTO_HUGE_NUMBER_COPY(&projective_point -> nx_crypto_ec_point_x, in _nx_crypto_ec_fp_projective_add() 2276 &affine_point -> nx_crypto_ec_point_x); in _nx_crypto_ec_fp_projective_add() 2288 buffer_size = projective_point -> nx_crypto_ec_point_x.nx_crypto_huge_buffer_size; in _nx_crypto_ec_fp_projective_add() [all …]
|
D | nx_crypto_ecjpake.c | 664 NX_CRYPTO_HUGE_NUMBER_COPY(&ga.nx_crypto_ec_point_x, in _nx_crypto_ecjpake_key_exchange_process() 665 &ecjpake -> nx_crypto_ecjpake_public_x1.nx_crypto_ec_point_x); in _nx_crypto_ecjpake_key_exchange_process() 827 size = g -> nx_crypto_ec_point_x.nx_crypto_huge_buffer_size + in _nx_crypto_ecjpake_schnorr_zkp_hash() 873 size = v -> nx_crypto_ec_point_x.nx_crypto_huge_buffer_size + in _nx_crypto_ecjpake_schnorr_zkp_hash() 919 size = x -> nx_crypto_ec_point_x.nx_crypto_huge_buffer_size + in _nx_crypto_ecjpake_schnorr_zkp_hash() 1227 public_key -> nx_crypto_ec_point_x.nx_crypto_huge_buffer_size); in _nx_crypto_ecjpake_schnorr_zkp_verify() 1230 g -> nx_crypto_ec_point_x.nx_crypto_huge_buffer_size); in _nx_crypto_ecjpake_schnorr_zkp_verify() 1247 if ((_nx_crypto_huge_number_compare(&temp1.nx_crypto_ec_point_x, in _nx_crypto_ecjpake_schnorr_zkp_verify() 1248 … &v -> nx_crypto_ec_point_x) == NX_CRYPTO_HUGE_NUMBER_EQUAL) && in _nx_crypto_ecjpake_schnorr_zkp_verify() 1329 NX_CRYPTO_HUGE_NUMBER_COPY(&g -> nx_crypto_ec_point_x, &x1 -> nx_crypto_ec_point_x); in _nx_crypto_ecjpake_public_key_generate() [all …]
|
D | nx_crypto_ecdh.c | 437 status = _nx_crypto_huge_number_extract_fixed_size(&shared_secret.nx_crypto_ec_point_x, in _nx_crypto_ecdh_compute_secret() 1048 NX_CRYPTO_HUGE_NUMBER_INITIALIZE(&public_key.nx_crypto_ec_point_x, scratch_buf_ptr, key_len); in _nx_crypto_ecdh_setup_x25519_448() 1069 status = _nx_crypto_ec_extract_fixed_size_le(&public_key.nx_crypto_ec_point_x, in _nx_crypto_ecdh_setup_x25519_448() 1168 NX_CRYPTO_HUGE_NUMBER_INITIALIZE(&public_key.nx_crypto_ec_point_x, scratch_buf_ptr, key_size); in _nx_crypto_ecdh_compute_secret_x25519_448() 1169 … NX_CRYPTO_HUGE_NUMBER_INITIALIZE(&shared_secret.nx_crypto_ec_point_x, scratch_buf_ptr, key_size); in _nx_crypto_ecdh_compute_secret_x25519_448() 1172 …NX_CRYPTO_MEMCPY(public_key.nx_crypto_ec_point_x.nx_crypto_huge_number_data, remote_public_key, re… in _nx_crypto_ecdh_compute_secret_x25519_448() 1173 public_key.nx_crypto_ec_point_x.nx_crypto_huge_number_size = key_size >> HN_SIZE_SHIFT; in _nx_crypto_ecdh_compute_secret_x25519_448() 1186 if (_nx_crypto_huge_number_is_zero(&shared_secret.nx_crypto_ec_point_x)) in _nx_crypto_ecdh_compute_secret_x25519_448() 1192 status = _nx_crypto_ec_extract_fixed_size_le(&shared_secret.nx_crypto_ec_point_x, in _nx_crypto_ecdh_compute_secret_x25519_448()
|
D | nx_crypto_ecdsa.c | 163 _nx_crypto_huge_number_modulus(&pt.nx_crypto_ec_point_x, &curve -> nx_crypto_ec_n); in _nx_crypto_ecdsa_sign() 165 } while (_nx_crypto_huge_number_is_zero(&pt.nx_crypto_ec_point_x)); in _nx_crypto_ecdsa_sign() 169 _nx_crypto_huge_number_multiply(&pt.nx_crypto_ec_point_x, &privkey, &temp); in _nx_crypto_ecdsa_sign() 180 …status = _nx_crypto_huge_number_extract(&pt.nx_crypto_ec_point_x, signature_r, (curve_size + 3), &… in _nx_crypto_ecdsa_sign() 469 _nx_crypto_huge_number_modulus(&pt.nx_crypto_ec_point_x, &curve -> nx_crypto_ec_n); in _nx_crypto_ecdsa_verify() 472 …_CRYPTO_HUGE_NUMBER_EQUAL != _nx_crypto_huge_number_compare_unsigned(&pt.nx_crypto_ec_point_x, &r)) in _nx_crypto_ecdsa_verify()
|
/NetX-Duo-v6.3.0/crypto_libraries/inc/ |
D | nx_crypto_ec.h | 84 NX_CRYPTO_HUGE_NUMBER nx_crypto_ec_point_x; member 159 NX_CRYPTO_HUGE_NUMBER_INITIALIZE(&((p) -> nx_crypto_ec_point_x), buff, size); \ 166 _nx_crypto_huge_number_setup(&((p) -> nx_crypto_ec_point_x), x, x_size); \ 172 …_nx_crypto_huge_number_extract(&((p) -> nx_crypto_ec_point_x), x, x_size, x_out_size); …
|