Function gnunet_sys::GNUNET_CRYPTO_rsa_blind [−][src]
pub unsafe extern "C" fn GNUNET_CRYPTO_rsa_blind(
hash: *const GNUNET_HashCode,
bks: *const GNUNET_CRYPTO_RsaBlindingKeySecret,
pkey: *mut GNUNET_CRYPTO_RsaPublicKey,
buf: *mut *mut c_void,
buf_size: *mut usize
) -> c_int
Blinds the given message with the given blinding key
@param hash hash of the message to sign @param bkey the blinding key @param pkey the public key of the signer @param[out] buf set to a buffer with the blinded message to be signed @param[out] buf_size number of bytes stored in @a buf @return #GNUNET_YES if successful, #GNUNET_NO if RSA key is malicious