Home
last modified time | relevance | path

Searched refs:hash_alg (Results 1 – 11 of 11) sorted by relevance

/uoscore-uedhoc-3.4.0/inc/edhoc/
Dsuites.h32 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);
Dth.h29 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,
Dokm.h35 enum err okm_calc(enum hash_alg hash_alg, const uint8_t *prk, uint32_t prk_len,
/uoscore-uedhoc-3.4.0/src/edhoc/
Dokm.c22 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()
Dedhoc_exporter.c23 enum err edhoc_exporter(enum hash_alg app_hash_alg, in edhoc_exporter()
Dth.c151 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()
Dsuites.c66 uint32_t get_hash_len(enum hash_alg alg) in get_hash_len()
Dciphertext.c93 static enum err key_gen(enum ciphertext ctxt, enum hash_alg edhoc_hash, in key_gen()
/uoscore-uedhoc-3.4.0/inc/common/
Dcrypto_wrapper.h72 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/
Dedhoc.h258 enum err edhoc_exporter(enum hash_alg app_hash_alg, const uint8_t *prk_4x3m,
/uoscore-uedhoc-3.4.0/src/common/
Dcrypto_wrapper.c344 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()