BeeCrypt 4.2.1
pkcs1.h File Reference

PKCS#1 utility routines. More...

Include dependency graph for pkcs1.h:

Go to the source code of this file.

Functions

int pkcs1_emsa_encode_digest (hashFunctionContext *ctxt, byte *emdata, size_t emsize)
 This function computes the digest, and encodes it it according to PKCS#1 for signing.

Detailed Description

PKCS#1 utility routines.

Author
Bob Deblier bob.d.nosp@m.ebli.nosp@m.er@te.nosp@m.lene.nosp@m.t.be

Function Documentation

◆ pkcs1_emsa_encode_digest()

int pkcs1_emsa_encode_digest ( hashFunctionContext * ctxt,
byte * emdata,
size_t emsize )

This function computes the digest, and encodes it it according to PKCS#1 for signing.

Parameters
ctxtThe hash function context
emdata
emsize