MOON
Server: Apache
System: Linux vps.thepromohut.com 2.6.18-398.el5 #1 SMP Tue Sep 16 20:51:48 EDT 2014 i686
User: caretrak (507)
PHP: 5.2.10
Disabled: NONE
Upload Files
File: //proc/self/root/usr/include/beecrypt/pkcs1.h
/*!\file pkcs1.h
 * \brief PKCS#1 utility routines
 * \ingroup PKCS1_m
 */

#ifndef _PKCS1_H
#define _PKCS1_H

#include "beecrypt/beecrypt.h"

#ifdef __cplusplus
extern "C" {
#endif

/*!\brief This function computes the digest, and encodes it it according to PKCS#1 for signing
 * \param ctxt The hash function context
 * \param emdata
 * \param emsize
 */
BEECRYPTAPI
int pkcs1_emsa_encode_digest(hashFunctionContext* ctxt, byte* emdata, size_t emsize);

#ifdef __cplusplus
}
#endif

#endif