Home
last modified time | relevance | path

Searched refs:prk_len (Results 1 – 8 of 8) sorted by relevance

/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()
Dciphertext.c94 uint8_t *prk, uint32_t prk_len, uint8_t *th, in key_gen() argument
100 TRY(okm_calc(edhoc_hash, prk, prk_len, th, th_len, in key_gen()
106 TRY(okm_calc(edhoc_hash, prk, prk_len, th, th_len, "K_3", NULL, in key_gen()
109 TRY(okm_calc(edhoc_hash, prk, prk_len, th, th_len, "IV_3", NULL, in key_gen()
115 TRY(edhoc_exporter(edhoc_hash, prk, prk_len, th, th_len, in key_gen()
118 TRY(edhoc_exporter(edhoc_hash, prk, prk_len, th, th_len, in key_gen()
131 uint32_t prk_len, uint8_t *th, in ciphertext_decrypt_split() argument
149 TRY(key_gen(ctxt, suite->edhoc_hash, prk, prk_len, th, th_len, key, in ciphertext_decrypt_split()
200 uint32_t ead_len, uint8_t *prk, uint32_t prk_len, in ciphertext_gen() argument
273 TRY(key_gen(ctxt, suite->edhoc_hash, prk, prk_len, th, th_len, key, in ciphertext_gen()
Dsignature_or_mac_msg.c60 enum err mac(const uint8_t *prk, uint32_t prk_len, const uint8_t *th, in mac() argument
87 TRY(okm_calc(suite->edhoc_hash, prk, prk_len, th, th_len, mac_label, in mac()
131 uint32_t pk_len, const uint8_t *prk, uint32_t prk_len, in signature_or_mac() argument
139 TRY(mac(prk, prk_len, th, th_len, id_cred, id_cred_len, cred, in signature_or_mac()
170 TRY(mac(prk, prk_len, th, th_len, id_cred, id_cred_len, cred, in signature_or_mac()
/uoscore-uedhoc-3.4.0/inc/edhoc/
Dsignature_or_mac_msg.h62 const char *label_iv, const uint8_t *prk, const uint8_t prk_len,
68 enum err mac(const uint8_t *prk, uint32_t prk_len, const uint8_t *th,
77 uint32_t pk_len, const uint8_t *prk, uint32_t prk_len,
Dciphertext.h39 uint32_t ead_len, uint8_t *prk, uint32_t prk_len,
68 uint32_t prk_len, uint8_t *th,
Dokm.h35 enum err okm_calc(enum hash_alg hash_alg, const uint8_t *prk, uint32_t prk_len,
/uoscore-uedhoc-3.4.0/inc/common/
Dcrypto_wrapper.h87 const uint32_t prk_len, const uint8_t *info,
/uoscore-uedhoc-3.4.0/src/common/
Dcrypto_wrapper.c400 hkdf_expand(enum hash_alg alg, const uint8_t *prk, const uint32_t prk_len, in hkdf_expand() argument
419 TRY_EXPECT(tc_hmac_set_key(&h, prk, prk_len), 1); in hkdf_expand()
446 TRY_EXPECT_PSA(psa_import_key(&attr, prk, prk_len, &key_id), in hkdf_expand()