Searched refs:th3 (Results 1 – 6 of 6) sorted by relevance
/uoscore-uedhoc-3.5.0/inc/edhoc/ |
D | th.h | 47 uint8_t *th3); 60 enum err th4_calculate(enum hash_alg alg, uint8_t *th3, uint32_t th3_len,
|
D | runtime_context.h | 29 uint8_t th3[HASH_DEFAULT_SIZE]; member
|
/uoscore-uedhoc-3.5.0/src/edhoc/ |
D | th.c | 162 uint8_t *th3) in th3_calculate() argument 165 cred_r, cred_r_len, th3); in th3_calculate() 168 enum err th4_calculate(enum hash_alg alg, uint8_t *th3, uint32_t th3_len, in th4_calculate() argument 173 return th34_calculate(alg, th3, th3_len, plaintext_3, plaintext_3_len, in th4_calculate()
|
D | runtime_context.c | 21 c->th3_len = sizeof(c->th3); in runtime_context_init()
|
D | initiator.c | 245 uint8_t th3[HASH_DEFAULT_SIZE]; in msg3_gen() local 249 plaintext, plaintext_len, cred_r, cred_r_len, th3)); in msg3_gen() 252 TRY(prk_derive(static_dh_i, rc->suite, SALT_4e3m, th3, th3_len, in msg3_gen() 263 rc->prk_4e3m, rc->prk_4e3m_len, th3, th3_len, in msg3_gen() 274 sizeof(PRK_3e2m), th3, th3_len, ciphertext, in msg3_gen() 288 TRY(th4_calculate(rc->suite.edhoc_hash, th3, th3_len, plaintext, in msg3_gen()
|
D | responder.c | 297 plaintext_2_len, c->cred_r.ptr, c->cred_r.len, rc->th3)); in msg2_gen() 328 rc->prk_3e2m_len, rc->th3, rc->th3_len, ciphertext_3, in msg3_process() 353 TRY(prk_derive(rc->static_dh_i, rc->suite, SALT_4e3m, rc->th3, in msg3_process() 359 pk_len, rc->prk_4e3m, rc->prk_4e3m_len, rc->th3, in msg3_process() 366 rc->suite.edhoc_hash, rc->th3, rc->th3_len, plaintext3, in msg3_process()
|