pub unsafe extern "C" fn Hacl_RSAPSS_rsapss_pkey_verify(
a: Spec_Hash_Definitions_hash_alg,
modBits: u32,
eBits: u32,
nb: *mut u8,
eb: *mut u8,
saltLen: u32,
sgntLen: u32,
sgnt: *mut u8,
msgLen: u32,
msg: *mut u8,
) -> bool
Expand description
Verify the signature sgnt
of a message msg
.
@param a Hash algorithm to use.
@param modBits Count of bits in the modulus (n
).
@param eBits Count of bits in e
value.
@param nb Pointer to ceil(modBits / 8)
bytes where the modulus (n
) is read from.
@param eb Pointer to ceil(modBits / 8)
bytes where the e
value is read from.
@param saltLen Length of salt.
@param sgntLen Length of signature.
@param sgnt Pointer to sgntLen
bytes where the signature is read from.
@param msgLen Length of message.
@param msg Pointer to msgLen
bytes where the message is read from.
@return Returns true if and only if the signature is valid.