CryptoAuthLib
Microchip CryptoAuthentication Library
|
function declarations required to work with DER encoded data related to X.509 certificates. More...
Go to the source code of this file.
Functions | |
int | atcacert_der_enc_length (uint32_t length, uint8_t *der_length, size_t *der_length_size) |
Encode a length in DER format. More... | |
int | atcacert_der_dec_length (const uint8_t *der_length, size_t *der_length_size, uint32_t *length) |
Decode a DER format length. More... | |
int | atcacert_der_adjust_length (uint8_t *der_length, size_t *der_length_size, int delta_length, uint32_t *new_length) |
int | atcacert_der_enc_integer (const uint8_t *int_data, size_t int_data_size, uint8_t is_unsigned, uint8_t *der_int, size_t *der_int_size) |
Encode an ASN.1 integer in DER format, including tag and length fields. More... | |
int | atcacert_der_dec_integer (const uint8_t *der_int, size_t *der_int_size, uint8_t *int_data, size_t *int_data_size) |
Decode an ASN.1 DER encoded integer. More... | |
int | atcacert_der_enc_ecdsa_sig_value (const uint8_t raw_sig[64], uint8_t *der_sig, size_t *der_sig_size) |
Formats a raw ECDSA P256 signature in the DER encoding found in X.509 certificates. More... | |
int | atcacert_der_dec_ecdsa_sig_value (const uint8_t *der_sig, size_t *der_sig_size, uint8_t raw_sig[64]) |
Parses an ECDSA P256 signature in the DER encoding as found in X.509 certificates. More... | |
function declarations required to work with DER encoded data related to X.509 certificates.