Searched refs:hash_alg (Results 1 – 11 of 11) sorted by relevance
/uoscore-uedhoc-3.4.0/inc/edhoc/ |
D | suites.h | 32 enum hash_alg { SHA_256 = -16 }; enum 52 enum hash_alg edhoc_hash; 57 enum hash_alg app_hash; 71 uint32_t get_hash_len(enum hash_alg alg);
|
D | th.h | 29 enum err th2_calculate(enum hash_alg alg, uint8_t *msg1, uint32_t msg1_len, 42 enum err th3_calculate(enum hash_alg alg, uint8_t *th2, uint32_t th2_len, 55 enum err th4_calculate(enum hash_alg alg, uint8_t *th3, uint32_t th3_len,
|
D | okm.h | 35 enum err okm_calc(enum hash_alg hash_alg, const uint8_t *prk, uint32_t prk_len,
|
/uoscore-uedhoc-3.4.0/src/edhoc/ |
D | okm.c | 22 enum err okm_calc(enum hash_alg hash_alg, const uint8_t *prk, uint32_t prk_len, in okm_calc() argument 33 TRY(hkdf_expand(hash_alg, prk, prk_len, (uint8_t *)&info, info_len, okm, in okm_calc()
|
D | edhoc_exporter.c | 23 enum err edhoc_exporter(enum hash_alg app_hash_alg, in edhoc_exporter()
|
D | th.c | 151 enum err th2_calculate(enum hash_alg alg, uint8_t *msg1, uint32_t msg1_len, in th2_calculate() 168 enum err th3_calculate(enum hash_alg alg, uint8_t *th2, uint32_t th2_len, in th3_calculate() 183 enum err th4_calculate(enum hash_alg alg, uint8_t *th3, uint32_t th3_len, in th4_calculate()
|
D | suites.c | 66 uint32_t get_hash_len(enum hash_alg alg) in get_hash_len()
|
D | ciphertext.c | 93 static enum err key_gen(enum ciphertext ctxt, enum hash_alg edhoc_hash, in key_gen()
|
/uoscore-uedhoc-3.4.0/inc/common/ |
D | crypto_wrapper.h | 72 enum err hkdf_extract(enum hash_alg alg, const uint8_t *salt, uint32_t salt_len, 86 enum err hkdf_expand(enum hash_alg alg, const uint8_t *prk, 98 enum err hash(enum hash_alg alg, const uint8_t *in, const uint32_t in_len,
|
/uoscore-uedhoc-3.4.0/inc/ |
D | edhoc.h | 258 enum err edhoc_exporter(enum hash_alg app_hash_alg, const uint8_t *prk_4x3m,
|
/uoscore-uedhoc-3.4.0/src/common/ |
D | crypto_wrapper.c | 344 hkdf_extract(enum hash_alg alg, const uint8_t *salt, uint32_t salt_len, in hkdf_extract() 400 hkdf_expand(enum hash_alg alg, const uint8_t *prk, const uint32_t prk_len, in hkdf_expand() 658 hash(enum hash_alg alg, const uint8_t *in, const uint32_t in_len, uint8_t *out) in hash()
|