Function gnunet_sys::GNUNET_CRYPTO_rsa_sign_fdh[][src]

pub unsafe extern "C" fn GNUNET_CRYPTO_rsa_sign_fdh(
    key: *const GNUNET_CRYPTO_RsaPrivateKey,
    hash: *const GNUNET_HashCode
) -> *mut GNUNET_CRYPTO_RsaSignature

Create and sign a full domain hash of a message.

@param key private key to use for the signing @param hash the hash of the message to sign @return NULL on error, including a malicious RSA key, signature on success