std1.0.0-beta-7 SafeC docs

std :: crypto::digest

Function std::mgf1_xor

#include <std/crypto/digest.h> source · definition

void mgf1_xor(int alg, []const unsigned char seed, []unsigned char data)

MGF1 (RFC 8017 §B.2.1) with 'alg': XORs the mask generated from seed[0..seed_len) into data[0..len).