Function ECDSA_do_sign

Source
pub unsafe extern "C" fn ECDSA_do_sign(
    dgst: *const u8,
    dgst_len: i32,
    eckey: *mut ec_key_st,
) -> *mut ECDSA_SIG_st
Expand description

Computes the ECDSA signature of the given hash value using the supplied private key and returns the created signature. \param dgst pointer to the hash value \param dgst_len length of the hash value \param eckey EC_KEY object containing a private EC key \return pointer to a ECDSA_SIG structure or NULL if an error occurred