MOON
Server: Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 PHP/5.4.10
System: Linux vps.presagepowered.net 2.6.18-398.el5 #1 SMP Tue Sep 16 20:51:48 EDT 2014 i686
User: mckernan (512)
PHP: 5.4.10
Disabled: NONE
Upload Files
File: //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