std1.0.0-beta-7 SafeC docs

std :: crypto::rsa

Function std::rsa_verify_pss

#include <std/crypto/rsa.h> source ยท definition

int rsa_verify_pss(
    const &RsaPublicKey key,
    int alg,
    []const unsigned char hash,
    []const unsigned char sig,
    unsigned long salt_len,
)

RSASSA-PSS verification, MGF1 with 'alg', salt length 'salt_len' (TLS and most certificates: the hash length). 1 if valid.