Searched refs:dh_ptr (Results 1 – 2 of 2) sorted by relevance
117 NX_CRYPTO_KEEP UINT _nx_crypto_dh_setup(NX_CRYPTO_DH *dh_ptr, in _nx_crypto_dh_setup() argument137 dh_ptr -> nx_crypto_dh_key_size = NX_CRYPTO_DIFFIE_HELLMAN_GROUP_2_KEY_SIZE; in _nx_crypto_dh_setup()138 dh_ptr -> nx_crypto_dh_modulus = (HN_UBASE *)_nx_dh_group_2_modulus; in _nx_crypto_dh_setup()144 modulus.nx_crypto_huge_number_data = dh_ptr -> nx_crypto_dh_modulus; in _nx_crypto_dh_setup()145 modulus.nx_crypto_huge_number_size = dh_ptr -> nx_crypto_dh_key_size >> HN_SIZE_SHIFT; in _nx_crypto_dh_setup()146 modulus.nx_crypto_huge_buffer_size = dh_ptr -> nx_crypto_dh_key_size; in _nx_crypto_dh_setup()161 …NX_CRYPTO_HUGE_NUMBER_INITIALIZE(&public_key, scratch_buf_ptr, dh_ptr -> nx_crypto_dh_key_size << … in _nx_crypto_dh_setup()164 private_key.nx_crypto_huge_number_data = dh_ptr -> nx_crypto_dh_private_key_buffer; in _nx_crypto_dh_setup()165 private_key.nx_crypto_huge_number_size = dh_ptr -> nx_crypto_dh_key_size >> HN_SIZE_SHIFT; in _nx_crypto_dh_setup()166 private_key.nx_crypto_huge_buffer_size = sizeof(dh_ptr -> nx_crypto_dh_private_key_buffer); in _nx_crypto_dh_setup()[all …]
100 UINT _nx_crypto_dh_setup(NX_CRYPTO_DH *dh_ptr,106 UINT _nx_crypto_dh_compute_secret(NX_CRYPTO_DH *dh_ptr,