Function bearssl::br_rsa_i32_pkcs1_vrfy
[−]
[src]
pub unsafe extern "C" fn br_rsa_i32_pkcs1_vrfy(
x: *const c_uchar,
xlen: usize,
hash_oid: *const c_uchar,
hash_len: usize,
pk: *const br_rsa_public_key,
hash_out: *mut c_uchar
) -> u32
\brief RSA signature verification engine "i32".
\see br_rsa_pkcs1_vrfy
\param x signature buffer.
\param xlen signature length (in bytes).
\param hash_oid encoded hash algorithm OID (or NULL
).
\param hash_len expected hash value length (in bytes).
\param pk RSA public key.
\param hash_out output buffer for the hash value.
\return 1 on success, 0 on error.