src/sig/ec_key.c
int ec_priv_key_export_to_buf(const ec_priv_key *priv_key, u8 *priv_key_buf,
			      u8 priv_key_buf_len)
{
	nn_export_to_buf(priv_key_buf, priv_key_buf_len, &(priv_key->x));

	return 0;
}
/* Export a private key to a buffer */
Export a private key to a buffer
Export a private key to a buffer
int ec_priv_key_export_to_buf(const ec_priv_key *priv_key, u8 *priv_key_buf,
			      u8 priv_key_buf_len)
{
	nn_export_to_buf(priv_key_buf, priv_key_buf_len, &(priv_key->x));
	return 0;
}
int ec_priv_key_export_to_buf ( const ec_priv_key * priv_key , u8 * priv_key_buf , u8 priv_key_buf_len ) { nn_export_to_buf ( priv_key_buf , priv_key_buf_len , & ( priv_key -> x ) ) ; return 0 ; }
Export a private key to a buffer
Export a private key to a buffer