Leancrypto 1.7.2
Post-Quantum Cryptographic Library
Functions
lc_pkcs8_parser.h File Reference
#include "ext_headers.h"
#include "lc_hash.h"
#include "lc_pkcs8_common.h"
#include "lc_x509_parser.h"
+ Include dependency graph for lc_pkcs8_parser.h:

Go to the source code of this file.

Functions

int lc_pkcs8_decode (struct lc_pkcs8_message *pkcs8, const uint8_t *data, size_t datalen)
 Decode a PKCS#8 message. More...
 
int lc_pkcs8_set_privkey (struct lc_pkcs8_message *pkcs8, struct lc_x509_key_data *privkey)
 Set the private key for the PKCS8 message. More...
 
void lc_pkcs8_message_clear (struct lc_pkcs8_message *pkcs8)
 Clear the resources used by the PKCS#8 message parsing state. More...
 
int lc_pkcs8_signature_gen (uint8_t *sig_data, size_t *siglen, const struct lc_pkcs8_message *pkcs8, const uint8_t *m, size_t mlen, const struct lc_hash *prehash_algo)
 Generate signature over user-supplied data. More...