/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 | ciphertext.c | 94 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()
|
D | signature_or_mac_msg.c | 60 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/ |
D | signature_or_mac_msg.h | 62 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,
|
D | ciphertext.h | 39 uint32_t ead_len, uint8_t *prk, uint32_t prk_len, 68 uint32_t prk_len, uint8_t *th,
|
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/inc/common/ |
D | crypto_wrapper.h | 87 const uint32_t prk_len, const uint8_t *info,
|
/uoscore-uedhoc-3.4.0/src/common/ |
D | crypto_wrapper.c | 400 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()
|