61#define COAP_MAX_HEADER_SIZE 70
64#define OSCORE_DECRYPTION_ERROR 100
65#define PACKET_SERIALIZATION_ERROR 102
81 size_t option_buf_len,
84 uint8_t appendix_b_2);
96 size_t external_aad_len,
102 const uint8_t *oscore_option,
103 size_t oscore_option_len,
105 uint8_t *external_aad_ptr,
106 size_t external_aad_size);
Pulls together all the internal only header files.
size_t oscore_prepare_aad(const uint8_t *external_aad_buffer, size_t external_aad_len, uint8_t *aad_buffer, size_t aad_size)
size_t oscore_encode_option_value(uint8_t *option_buffer, size_t option_buf_len, cose_encrypt0_t *cose, uint8_t group, uint8_t appendix_b_2)
uint8_t oscore_validate_sender_seq(oscore_recipient_ctx_t *ctx, cose_encrypt0_t *cose)
int oscore_decode_option_value(const uint8_t *option_value, size_t option_len, cose_encrypt0_t *cose)
uint8_t oscore_increment_sender_seq(oscore_ctx_t *ctx)
void oscore_roll_back_seq(oscore_recipient_ctx_t *ctx)
size_t oscore_prepare_e_aad(oscore_ctx_t *ctx, cose_encrypt0_t *cose, const uint8_t *oscore_option, size_t oscore_option_len, coap_bin_const_t *sender_public_key, uint8_t *external_aad_ptr, size_t external_aad_size)
uint8_t * oscore_cs_key_params(cose_curve_t param, int8_t param_type, size_t *len)
void oscore_generate_nonce(cose_encrypt0_t *ptr, oscore_ctx_t *ctx, uint8_t *buffer, uint8_t size)
uint8_t * oscore_cs_params(int8_t param, int8_t param_type, size_t *len)
An implementation of the Object Security for Constrained RESTful Enviornments (RFC 8613).
An implementation of the CBOR Object Signing and Encryption (RFC).
CoAP binary data definition with const data.