Botan
1.11.15
|
00001 /* 00002 * MGF1 00003 * (C) 1999-2007,2014 Jack Lloyd 00004 * 00005 * Botan is released under the Simplified BSD License (see license.txt) 00006 */ 00007 00008 #ifndef BOTAN_MGF1_H__ 00009 #define BOTAN_MGF1_H__ 00010 00011 #include <botan/kdf.h> 00012 #include <botan/hash.h> 00013 00014 namespace Botan { 00015 00016 /** 00017 * MGF1 from PKCS #1 v2.0 00018 */ 00019 void mgf1_mask(HashFunction& hash, 00020 const byte in[], size_t in_len, 00021 byte out[], size_t out_len); 00022 00023 } 00024 00025 #endif