libcoap 4.3.5-develop-19cef11
|
An implementation of the Object Security for Constrained RESTful Environments (RFC 8613). More...
Go to the source code of this file.
Macros | |
#define | COAP_MAX_HEADER_SIZE 70 |
#define | OSCORE_DECRYPTION_ERROR 100 |
#define | PACKET_SERIALIZATION_ERROR 102 |
Functions | |
uint8_t * | oscore_cs_params (int8_t param, int8_t param_type, size_t *len) |
uint8_t * | oscore_cs_key_params (cose_curve_t param, int8_t param_type, size_t *len) |
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) |
int | oscore_decode_option_value (const uint8_t *option_value, size_t option_len, cose_encrypt0_t *cose) |
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_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) |
void | oscore_generate_nonce (cose_encrypt0_t *ptr, oscore_ctx_t *ctx, uint8_t *buffer, uint8_t size) |
uint8_t | oscore_validate_sender_seq (oscore_recipient_ctx_t *ctx, cose_encrypt0_t *cose) |
uint8_t | oscore_increment_sender_seq (oscore_ctx_t *ctx) |
void | oscore_roll_back_seq (oscore_recipient_ctx_t *ctx) |
An implementation of the Object Security for Constrained RESTful Environments (RFC 8613).
Definition in file oscore.h.