function declarations required to work with DER encoded data related to X.509 certificates. More...
Functions | |
ATCA_STATUS | atcacert_der_enc_length (size_t length, uint8_t *der_length, size_t *der_length_size) |
Encode a length in DER format. | |
ATCA_STATUS | atcacert_der_dec_length (const uint8_t *der_length, size_t *der_length_size, size_t *length) |
Decode a DER format length. | |
ATCA_STATUS | atcacert_der_adjust_length (uint8_t *der_length, size_t *der_length_size, int delta_length, size_t *new_length) |
ATCA_STATUS | 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. | |
ATCA_STATUS | 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. | |
ATCA_STATUS | 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. | |
ATCA_STATUS | 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. | |
function declarations required to work with DER encoded data related to X.509 certificates.