Lines Matching refs:ecdh

649 NX_CRYPTO_ECDH *ecdh;  in _nx_crypto_method_ecdh_operation()  local
673 ecdh = (NX_CRYPTO_ECDH *)crypto_metadata; in _nx_crypto_method_ecdh_operation()
684 … (UCHAR *)&ecdh -> nx_crypto_ecdh_curve, in _nx_crypto_method_ecdh_operation()
692 if (ecdh -> nx_crypto_ecdh_curve == NX_CRYPTO_NULL) in _nx_crypto_method_ecdh_operation()
698 status = _nx_crypto_ec_key_pair_stream_generate(ecdh -> nx_crypto_ecdh_curve, in _nx_crypto_method_ecdh_operation()
702 ecdh -> nx_crypto_ecdh_scratch_buffer); in _nx_crypto_method_ecdh_operation()
709 if (ecdh -> nx_crypto_ecdh_curve -> nx_crypto_ec_id == NX_CRYPTO_EC_X25519 || in _nx_crypto_method_ecdh_operation()
710 ecdh -> nx_crypto_ecdh_curve -> nx_crypto_ec_id == NX_CRYPTO_EC_X448) in _nx_crypto_method_ecdh_operation()
712 status = _nx_crypto_ecdh_setup_x25519_448(ecdh, in _nx_crypto_method_ecdh_operation()
716 ecdh -> nx_crypto_ecdh_curve, in _nx_crypto_method_ecdh_operation()
717 ecdh -> nx_crypto_ecdh_scratch_buffer); in _nx_crypto_method_ecdh_operation()
722 status = _nx_crypto_ecdh_setup(ecdh, in _nx_crypto_method_ecdh_operation()
726 ecdh -> nx_crypto_ecdh_curve, in _nx_crypto_method_ecdh_operation()
727 ecdh -> nx_crypto_ecdh_scratch_buffer); in _nx_crypto_method_ecdh_operation()
738 if (ecdh -> nx_crypto_ecdh_curve -> nx_crypto_ec_id == NX_CRYPTO_EC_X25519 || in _nx_crypto_method_ecdh_operation()
739 ecdh -> nx_crypto_ecdh_curve -> nx_crypto_ec_id == NX_CRYPTO_EC_X448) in _nx_crypto_method_ecdh_operation()
743 status = _nx_crypto_ecdh_key_pair_import_x25519_448(ecdh, ecdh -> nx_crypto_ecdh_curve, in _nx_crypto_method_ecdh_operation()
752 status = _nx_crypto_ecdh_key_pair_import(ecdh, ecdh -> nx_crypto_ecdh_curve, in _nx_crypto_method_ecdh_operation()
763 if (ecdh -> nx_crypto_ecdh_curve -> nx_crypto_ec_id == NX_CRYPTO_EC_X25519 || in _nx_crypto_method_ecdh_operation()
764 ecdh -> nx_crypto_ecdh_curve -> nx_crypto_ec_id == NX_CRYPTO_EC_X448) in _nx_crypto_method_ecdh_operation()
766 status = _nx_crypto_ecdh_private_key_export_x25519_448(ecdh, in _nx_crypto_method_ecdh_operation()
775 status = _nx_crypto_ecdh_private_key_export(ecdh, in _nx_crypto_method_ecdh_operation()
787 if (ecdh -> nx_crypto_ecdh_curve -> nx_crypto_ec_id == NX_CRYPTO_EC_X25519 || in _nx_crypto_method_ecdh_operation()
788 ecdh -> nx_crypto_ecdh_curve -> nx_crypto_ec_id == NX_CRYPTO_EC_X448) in _nx_crypto_method_ecdh_operation()
791 status = _nx_crypto_ecdh_compute_secret_x25519_448(ecdh, in _nx_crypto_method_ecdh_operation()
797ecdh -> nx_crypto_ecdh_scratch_buffer); in _nx_crypto_method_ecdh_operation()
803 status = _nx_crypto_ecdh_compute_secret(ecdh, in _nx_crypto_method_ecdh_operation()
809 ecdh -> nx_crypto_ecdh_scratch_buffer); in _nx_crypto_method_ecdh_operation()