aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pk_pad/mgf1/mgf1.h
blob: bceaf0857ba527cb9a4236584ab290adf5d0d34c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
* MGF1
* (C) 1999-2007,2014 Jack Lloyd
*
* Distributed under the terms of the Botan license
*/

#ifndef BOTAN_MGF1_H__
#define BOTAN_MGF1_H__

#include <botan/kdf.h>
#include <botan/hash.h>

namespace Botan {

/**
* MGF1 from PKCS #1 v2.0
*/
void mgf1_mask(HashFunction& hash,
               const byte in[], size_t in_len,
               byte out[], size_t out_len);

}

#endif