2 * \brief Header file for the OAEP padding method (see PKCS #1 v2.1: RSA Cryptography Standard)
4 * \author Carsten Weinhold <weinhold@os.inf.tu-dresden.de>
7 * Copyright (C) 2006 Carsten Weinhold <weinhold@os.inf.tu-dresden.de>
8 * Technische Universitaet Dresden, Operating Systems Research Group
10 * This file is part of the STPM package, which is distributed under
11 * the terms of the GNU General Public Licence 2. Please see the
12 * COPYING file for details.
15 #ifndef __CRYPTO_RANDOM_H
16 #define __CRYPTO_RANDOM_H
18 #include "private/misc.h"
23 * Fill the buffer buf with buf_len random bytes. You must provide an
24 * implementation for this function.
26 int crypto_randomize_buf(char *buf, unsigned int buf_len);
30 #endif /* __CRYPTO_RANDOM_H */