Searched refs:cose_encrypt0_t (Results 1 – 7 of 7) sorted by relevance
/third_party/libcoap/include/oscore/ |
D | oscore_cose.h | 197 typedef struct cose_encrypt0_t { struct 211 } cose_encrypt0_t; typedef 214 size_t cose_encrypt0_encode(cose_encrypt0_t *ptr, uint8_t *buffer, size_t size); 217 int cose_encrypt0_decode(cose_encrypt0_t *ptr, uint8_t *buffer, size_t size); 220 void cose_encrypt0_init(cose_encrypt0_t *ptr); 222 void cose_encrypt0_set_alg(cose_encrypt0_t *ptr, uint8_t alg); 224 void cose_encrypt0_set_plaintext(cose_encrypt0_t *ptr, uint8_t *buffer, size_t size); 226 void cose_encrypt0_set_ciphertext(cose_encrypt0_t *ptr, 231 int cose_encrypt0_get_plaintext(cose_encrypt0_t *ptr, uint8_t **buffer); 233 void cose_encrypt0_set_partial_iv(cose_encrypt0_t *ptr, [all …]
|
D | oscore.h | 82 cose_encrypt0_t *cose, 91 cose_encrypt0_t *cose); 101 cose_encrypt0_t *cose, 109 void oscore_generate_nonce(cose_encrypt0_t *ptr, 116 cose_encrypt0_t *cose);
|
D | oscore_context.h | 269 cose_encrypt0_t *code,
|
/third_party/libcoap/src/oscore/ |
D | oscore_cose.c | 278 cose_encrypt0_encode(cose_encrypt0_t *ptr, uint8_t *buffer, size_t buf_len) { in cose_encrypt0_encode() 293 int cose_encrypt0_decode(cose_encrypt0_t *ptr, uint8_t *buffer, size_t size); 297 cose_encrypt0_init(cose_encrypt0_t *ptr) { in cose_encrypt0_init() 298 memset(ptr, 0, sizeof(cose_encrypt0_t)); in cose_encrypt0_init() 302 cose_encrypt0_set_alg(cose_encrypt0_t *ptr, uint8_t alg) { in cose_encrypt0_set_alg() 307 cose_encrypt0_set_ciphertext(cose_encrypt0_t *ptr, in cose_encrypt0_set_ciphertext() 315 cose_encrypt0_set_plaintext(cose_encrypt0_t *ptr, in cose_encrypt0_set_plaintext() 322 int cose_encrypt0_get_plaintext(cose_encrypt0_t *ptr, uint8_t **buffer); 325 cose_encrypt0_set_partial_iv(cose_encrypt0_t *ptr, in cose_encrypt0_set_partial_iv() 341 cose_encrypt0_get_partial_iv(cose_encrypt0_t *ptr) { in cose_encrypt0_get_partial_iv() [all …]
|
D | oscore.c | 120 cose_encrypt0_t *cose, in oscore_prepare_e_aad() 172 cose_encrypt0_t *cose, in oscore_encode_option_value() 248 cose_encrypt0_t *cose) { in oscore_decode_option_value() 343 oscore_generate_nonce(cose_encrypt0_t *ptr, in oscore_generate_nonce() 366 oscore_validate_sender_seq(oscore_recipient_ctx_t *ctx, cose_encrypt0_t *cose) { in oscore_validate_sender_seq()
|
/third_party/libcoap/tests/ |
D | test_oscore.c | 66 cose_encrypt0_t cose[1]; in t_oscore_c_1_1() 130 cose_encrypt0_t cose[1]; in t_oscore_c_1_2() 193 cose_encrypt0_t cose[1]; in t_oscore_c_2_1() 256 cose_encrypt0_t cose[1]; in t_oscore_c_2_2() 321 cose_encrypt0_t cose[1]; in t_oscore_c_3_1() 386 cose_encrypt0_t cose[1]; in t_oscore_c_3_2()
|
/third_party/libcoap/src/ |
D | coap_oscore.c | 240 dump_cose(cose_encrypt0_t *cose, const char *message) { in dump_cose() 293 cose_encrypt0_t cose[1]; in coap_oscore_new_pdu_encrypted() 779 cose_encrypt0_t cose[1]; in coap_oscore_decrypt_pdu()
|