/uoscore-uedhoc-3.4.0/inc/edhoc/ |
D | messages.h | 19 struct byte_array suites_i; 20 struct byte_array g_x; 21 struct byte_array c_i; 22 struct byte_array ead_1; 26 struct byte_array c_i; 27 struct byte_array g_y; 28 struct byte_array c_r; 29 struct byte_array ciphertext; 33 struct byte_array c_x; 34 struct byte_array diag_msg; [all …]
|
D | c_x.h | 21 struct byte_array c_x_bstr;
|
/uoscore-uedhoc-3.4.0/inc/oscore/ |
D | oscore_cose.h | 27 enum err oscore_cose_decrypt(struct byte_array *in_ciphertext, 28 struct byte_array *out_plaintext, 29 struct byte_array *nonce, struct byte_array *aad, 30 struct byte_array *recipient_key); 41 enum err oscore_cose_encrypt(struct byte_array *in_plaintext, uint8_t *out_ciphertext, 42 uint32_t out_ciphertext_len, struct byte_array *nonce, 43 struct byte_array *sender_aad, struct byte_array *key);
|
D | security_context.h | 40 struct byte_array master_secret; 41 struct byte_array master_salt; /*optional*/ 42 struct byte_array id_context; /*optional*/ 43 struct byte_array common_iv; 49 struct byte_array sender_id; 51 struct byte_array sender_key; 58 struct byte_array recipient_id; 59 struct byte_array recipient_key; 68 struct byte_array nonce; 71 struct byte_array aad; [all …]
|
D | nonce.h | 25 enum err create_nonce(struct byte_array *id_piv, struct byte_array *piv, 26 struct byte_array *common_iv, struct byte_array *nonce);
|
D | oscore_coap.h | 102 struct byte_array piv; /*same as sender sequence number*/ 103 struct byte_array kid_context; 104 struct byte_array kid; 108 struct byte_array partial_iv; 109 struct byte_array kid; 110 struct byte_array kid_context; 119 enum err buf2coap(struct byte_array *in, struct o_coap_packet *out); 141 struct byte_array *out_byte_string);
|
D | oscore_hkdf_info.h | 32 enum err oscore_create_hkdf_info(struct byte_array *id, 33 struct byte_array *id_context, 36 struct byte_array *out);
|
D | aad.h | 35 enum AEAD_algorithm aead_alg, struct byte_array *kid, 36 struct byte_array *piv, struct byte_array *out);
|
D | option.h | 81 enum err decode_options(struct byte_array options, struct o_coap_option *out,
|
/uoscore-uedhoc-3.4.0/inc/ |
D | edhoc.h | 123 struct byte_array id_cred; /*ID_CRED_x of the other party*/ 124 struct byte_array cred; /*CBOR encoded credentials*/ 125 struct byte_array pk; /*authentication pub key of the party */ 126 struct byte_array g; /*authentication static DH pub key of other party */ 127 struct byte_array ca; /*use only when authentication with certificates*/ 128 struct byte_array 135 struct byte_array suites_r; 136 struct byte_array g_y; /*ephemeral dh public key*/ 137 struct byte_array y; /*ephemeral dh secret key*/ 139 struct byte_array g_r; /* static DH pk -> use only with method 1 or 3*/ [all …]
|
D | oscore.h | 42 const struct byte_array master_secret; 44 const struct byte_array sender_id; 46 const struct byte_array recipient_id; 50 struct byte_array id_context; 52 const struct byte_array master_salt;
|
/uoscore-uedhoc-3.4.0/inc/common/ |
D | byte_array.h | 20 struct byte_array { struct 26 extern struct byte_array EMPTY_ARRAY; argument 29 extern struct byte_array NULL_ARRAY; 39 struct byte_array *byte_array); 49 bool array_equals(const struct byte_array *left, 50 const struct byte_array *right);
|
D | crypto_wrapper.h | 140 enum err hkdf_sha_256(struct byte_array *master_secret, 141 struct byte_array *master_salt, struct byte_array *info, 142 struct byte_array *out);
|
/uoscore-uedhoc-3.4.0/src/common/ |
D | byte_array.c | 15 struct byte_array EMPTY_ARRAY = { 20 struct byte_array NULL_ARRAY = { 26 struct byte_array *byte_array) in byte_array_init() argument 28 byte_array->len = buf_len; in byte_array_init() 29 byte_array->ptr = buf; in byte_array_init() 32 bool array_equals(const struct byte_array *left, const struct byte_array *right) in array_equals()
|
D | crypto_wrapper.c | 483 hkdf_sha_256(struct byte_array *master_secret, struct byte_array *master_salt, in hkdf_sha_256() 484 struct byte_array *info, struct byte_array *out) in hkdf_sha_256()
|
/uoscore-uedhoc-3.4.0/src/oscore/ |
D | oscore_cose.c | 34 static enum err create_enc_structure(struct byte_array *external_aad, in create_enc_structure() 35 struct byte_array *out) in create_enc_structure() 60 enum err oscore_cose_decrypt(struct byte_array *in_ciphertext, in oscore_cose_decrypt() 61 struct byte_array *out_plaintext, in oscore_cose_decrypt() 62 struct byte_array *nonce, in oscore_cose_decrypt() 63 struct byte_array *recipient_aad, struct byte_array *key) in oscore_cose_decrypt() 69 struct byte_array aad = { in oscore_cose_decrypt() 76 struct byte_array tag = { in oscore_cose_decrypt() 91 enum err oscore_cose_encrypt(struct byte_array *in_plaintext, uint8_t *out_ciphertext, in oscore_cose_encrypt() 92 uint32_t out_ciphertext_len, struct byte_array *nonce, in oscore_cose_encrypt() [all …]
|
D | nonce.c | 21 enum err create_nonce(struct byte_array *id_piv, struct byte_array *piv, in create_nonce() 22 struct byte_array *common_iv, struct byte_array *nonce) in create_nonce()
|
D | aad.c | 24 enum AEAD_algorithm aead_alg, struct byte_array *kid, in create_aad() 25 struct byte_array *piv, struct byte_array *out) in create_aad() 43 struct byte_array opts_i = { in create_aad()
|
D | oscore_hkdf_info.c | 40 inline enum err oscore_create_hkdf_info(struct byte_array *id, in oscore_create_hkdf_info() 41 struct byte_array *id_context, in oscore_create_hkdf_info() 44 struct byte_array *out) in oscore_create_hkdf_info()
|
D | coap2oscore.c | 139 struct byte_array *plaintext) in plaintext_setup() 156 struct byte_array E_option_byte_string = { in plaintext_setup() 197 struct byte_array *in_plaintext, in plaintext_encrypt() 213 static inline uint8_t get_oscore_opt_val_len(struct byte_array *piv, in get_oscore_opt_val_len() 214 struct byte_array *kid, in get_oscore_opt_val_len() 215 struct byte_array *kid_context) in get_oscore_opt_val_len() 244 oscore_option_generate(struct byte_array *piv, struct byte_array *kid, in oscore_option_generate() 245 struct byte_array *kid_context, in oscore_option_generate() 412 struct byte_array buf; in coap2oscore() 457 struct byte_array plaintext = { in coap2oscore()
|
D | security_context.c | 38 static enum err derive(struct common_context *cc, struct byte_array *id, in derive() 39 enum derive_type type, struct byte_array *out) in derive() 42 struct byte_array info = { in derive() 107 uint16_t opt_num, struct byte_array *new_piv, in context_update() 108 struct byte_array *new_kid_context, struct context *c) in context_update() 242 enum err sender_seq_num2piv(uint64_t ssn, struct byte_array *piv) in sender_seq_num2piv()
|
D | oscore2coap.c | 145 struct byte_array *out_plaintext, in payload_decrypt() 148 struct byte_array oscore_ciphertext = { in payload_decrypt() 384 struct byte_array *in_payload, uint8_t *out_code, in oscore_decrypted_payload_parser() 386 struct byte_array *out_o_coap_payload) in oscore_decrypted_payload_parser() 442 o_coap_pkg_generate(struct byte_array *decrypted_payload, in o_coap_pkg_generate() 447 struct byte_array unprotected_o_coap_payload = { in o_coap_pkg_generate() 569 struct byte_array buf; in oscore2coap() 619 struct byte_array plaintext = { in oscore2coap()
|
D | oscore_coap.c | 27 struct byte_array *out_byte_string) in options_into_byte_string() 222 enum err buf2coap(struct byte_array *in, struct o_coap_packet *out) in buf2coap() 342 struct byte_array option_byte_string = { in coap2buf()
|
/uoscore-uedhoc-3.4.0/src/edhoc/ |
D | responder.c | 124 struct byte_array *suites_r) in selected_suite_is_supported()
|