Searched refs:cose (Results 1 - 5 of 5) sorted by relevance
/third_party/libcoap/src/oscore/ |
H A D | oscore.c | 120 cose_encrypt0_t *cose, in oscore_prepare_e_aad() 151 cose->key_id.s, in oscore_prepare_e_aad() 152 cose->key_id.length); in oscore_prepare_e_aad() 156 cose->partial_iv.s, in oscore_prepare_e_aad() 157 cose->partial_iv.length); in oscore_prepare_e_aad() 172 cose_encrypt0_t *cose, in oscore_encode_option_value() 179 if (cose->partial_iv.length > 5) { in oscore_encode_option_value() 184 if (cose->partial_iv.length > 0 && cose->partial_iv.length <= 5 && in oscore_encode_option_value() 185 cose in oscore_encode_option_value() 119 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) oscore_prepare_e_aad() argument 170 oscore_encode_option_value(uint8_t *option_buffer, size_t option_buf_len, cose_encrypt0_t *cose, uint8_t group_flag, uint8_t appendix_b_2) oscore_encode_option_value() argument 246 oscore_decode_option_value(const uint8_t *opt_value, size_t option_len, cose_encrypt0_t *cose) oscore_decode_option_value() argument 366 oscore_validate_sender_seq(oscore_recipient_ctx_t *ctx, cose_encrypt0_t *cose) oscore_validate_sender_seq() argument [all...] |
/third_party/libcoap/src/ |
H A D | coap_oscore.c | 240 dump_cose(cose_encrypt0_t *cose, const char *message) { in dump_cose() argument 242 (void)cose; in dump_cose() 250 cose_get_alg_name(cose->alg, buffer, sizeof(buffer))); in dump_cose() 251 oscore_log_hex_value(COAP_LOG_OSCORE, "key", &cose->key); in dump_cose() 252 oscore_log_hex_value(COAP_LOG_OSCORE, "partial_iv", &cose->partial_iv); in dump_cose() 253 oscore_log_hex_value(COAP_LOG_OSCORE, "key_id", &cose->key_id); in dump_cose() 254 oscore_log_hex_value(COAP_LOG_OSCORE, "kid_context", &cose->kid_context); in dump_cose() 257 &cose->oscore_option); in dump_cose() 258 oscore_log_hex_value(COAP_LOG_OSCORE, "nonce", &cose->nonce); in dump_cose() 259 oscore_log_hex_value(COAP_LOG_OSCORE, "external_aad", &cose in dump_cose() 293 cose_encrypt0_t cose[1]; coap_oscore_new_pdu_encrypted() local 779 cose_encrypt0_t cose[1]; coap_oscore_decrypt_pdu() local [all...] |
/third_party/libcoap/tests/ |
H A D | test_oscore.c | 66 cose_encrypt0_t cose[1]; in t_oscore_c_1_1() local 81 cose_encrypt0_init(cose); in t_oscore_c_1_1() 82 cose_encrypt0_set_key_id(cose, ctx->p_osc_ctx->recipient_chain->recipient_id); in t_oscore_c_1_1() 83 cose_encrypt0_set_partial_iv(cose, NULL); in t_oscore_c_1_1() 84 oscore_generate_nonce(cose, ctx->p_osc_ctx, nonce_buffer, 13); in t_oscore_c_1_1() 87 cose_encrypt0_init(cose); in t_oscore_c_1_1() 88 cose_encrypt0_set_key_id(cose, ctx->p_osc_ctx->sender_context->sender_id); in t_oscore_c_1_1() 89 cose_encrypt0_set_partial_iv(cose, NULL); in t_oscore_c_1_1() 90 oscore_generate_nonce(cose, ctx->p_osc_ctx, nonce_buffer, 13); in t_oscore_c_1_1() 130 cose_encrypt0_t cose[ in t_oscore_c_1_2() local 193 cose_encrypt0_t cose[1]; t_oscore_c_2_1() local 256 cose_encrypt0_t cose[1]; t_oscore_c_2_2() local 321 cose_encrypt0_t cose[1]; t_oscore_c_3_1() local 386 cose_encrypt0_t cose[1]; t_oscore_c_3_2() local [all...] |
/third_party/libcoap/include/oscore/ |
H A D | oscore.h | 82 cose_encrypt0_t *cose, 88 * cose structure */ 91 cose_encrypt0_t *cose); 101 cose_encrypt0_t *cose, 116 cose_encrypt0_t *cose);
|
/third_party/libwebsockets/include/ |
H A D | libwebsockets.h | 634 #include <libwebsockets/lws-cose.h>
|
Completed in 5 milliseconds