|
const char * | cose_get_curve_name (cose_curve_t id, char *buffer, size_t buflen) |
|
cose_curve_t | cose_get_curve_id (const char *name) |
|
const char * | cose_get_alg_name (cose_alg_t id, char *buffer, size_t buflen) |
|
cose_alg_t | cose_get_alg_id (const char *name) |
|
const char * | cose_get_hkdf_alg_name (cose_hkdf_alg_t id, char *buffer, size_t buflen) |
|
int | cose_get_hmac_alg_for_hkdf (cose_hkdf_alg_t hkdf_alg, cose_hmac_alg_t *hmac_alg) |
|
size_t | cose_tag_len (cose_alg_t cose_alg) |
|
size_t | cose_hash_len (cose_alg_t cose_alg) |
|
size_t | cose_nonce_len (cose_alg_t cose_alg) |
|
size_t | cose_key_len (cose_alg_t cose_alg) |
|
size_t | cose_encrypt0_encode (cose_encrypt0_t *ptr, uint8_t *buffer, size_t buf_len) |
|
int | cose_encrypt0_decode (cose_encrypt0_t *ptr, uint8_t *buffer, size_t size) |
|
void | cose_encrypt0_init (cose_encrypt0_t *ptr) |
|
void | cose_encrypt0_set_alg (cose_encrypt0_t *ptr, uint8_t alg) |
|
void | cose_encrypt0_set_ciphertext (cose_encrypt0_t *ptr, uint8_t *buffer, size_t size) |
|
void | cose_encrypt0_set_plaintext (cose_encrypt0_t *ptr, uint8_t *buffer, size_t size) |
|
int | cose_encrypt0_get_plaintext (cose_encrypt0_t *ptr, uint8_t **buffer) |
|
void | cose_encrypt0_set_partial_iv (cose_encrypt0_t *ptr, coap_bin_const_t *partial_iv) |
|
coap_bin_const_t | cose_encrypt0_get_partial_iv (cose_encrypt0_t *ptr) |
|
void | cose_encrypt0_set_key_id (cose_encrypt0_t *ptr, coap_bin_const_t *key_id) |
|
size_t | cose_encrypt0_get_key_id (cose_encrypt0_t *ptr, const uint8_t **buffer) |
|
size_t | cose_encrypt0_get_kid_context (cose_encrypt0_t *ptr, const uint8_t **buffer) |
|
void | cose_encrypt0_set_kid_context (cose_encrypt0_t *ptr, coap_bin_const_t *kid_context) |
|
void | cose_encrypt0_set_external_aad (cose_encrypt0_t *ptr, coap_bin_const_t *external_aad) |
|
void | cose_encrypt0_set_aad (cose_encrypt0_t *ptr, coap_bin_const_t *aad) |
|
int | cose_encrypt0_set_key (cose_encrypt0_t *ptr, coap_bin_const_t *key) |
|
void | cose_encrypt0_set_nonce (cose_encrypt0_t *ptr, coap_bin_const_t *nonce) |
|
int | cose_encrypt0_encrypt (cose_encrypt0_t *ptr, uint8_t *ciphertext_buffer, size_t ciphertext_len) |
|
int | cose_encrypt0_decrypt (cose_encrypt0_t *ptr, uint8_t *plaintext_buffer, size_t plaintext_len) |
|
An implementation of the CBOR Object Signing and Encryption (RFC).
- Author
- Martin Gunnarsson marti.nosp@m.n.gu.nosp@m.nnars.nosp@m.son@.nosp@m.ri.se added sign1 addition for coaplib Peter van der Stok <consu.nosp@m.ltan.nosp@m.cy@va.nosp@m.nder.nosp@m.stok..nosp@m.org > adapted for libcoap integration Jon Shallow supjp.nosp@m.s-li.nosp@m.bcoap.nosp@m.@jps.nosp@m.hallo.nosp@m.w.co.nosp@m.m
Definition in file oscore_cose.c.