/third_party/libcoap/src/oscore/ |
D | oscore_crypto.c | 73 oscore_hkdf_extract(cose_hkdf_alg_t hkdf_alg, in oscore_hkdf_extract() argument 80 if (!cose_get_hmac_alg_for_hkdf(hkdf_alg, &hmac_alg)) in oscore_hkdf_extract() 101 oscore_hkdf_expand(cose_hkdf_alg_t hkdf_alg, in oscore_hkdf_expand() argument 116 if (!cose_get_hmac_alg_for_hkdf(hkdf_alg, &hmac_alg)) in oscore_hkdf_expand() 158 oscore_hkdf(cose_hkdf_alg_t hkdf_alg, in oscore_hkdf() argument 167 if (!oscore_hkdf_extract(hkdf_alg, salt, ikm, &hkdf_extract)) in oscore_hkdf() 170 oscore_hkdf_expand(hkdf_alg, hkdf_extract, info, info_len, okm, okm_len); in oscore_hkdf()
|
D | oscore_cose.c | 167 cose_hkdf_alg_t hkdf_alg; member 179 cose_get_hmac_alg_for_hkdf(cose_hkdf_alg_t hkdf_alg, cose_hmac_alg_t *hmac_alg) { in cose_get_hmac_alg_for_hkdf() argument 184 if (hkdf_hmacs[idx].hkdf_alg == hkdf_alg) { in cose_get_hmac_alg_for_hkdf() 190 hkdf_alg); in cose_get_hmac_alg_for_hkdf()
|
D | oscore_context.c | 329 if (!oscore_hkdf(osc_ctx->hkdf_alg, in oscore_build_key() 356 cose_get_hkdf_alg_name(osc_ctx->hkdf_alg, buffer, in oscore_log_context() 457 osc_ctx->hkdf_alg = o_osc_ctx->hkdf_alg; in oscore_duplicate_ctx() 532 osc_ctx->hkdf_alg = oscore_conf->hkdf_alg; in oscore_derive_ctx()
|
/third_party/libcoap/include/oscore/ |
D | oscore_crypto.h | 94 int oscore_hkdf_extract(cose_hkdf_alg_t hkdf_alg, 112 int oscore_hkdf_expand(cose_hkdf_alg_t hkdf_alg, 133 int oscore_hkdf(cose_hkdf_alg_t hkdf_alg,
|
D | oscore_cose.h | 179 int cose_get_hmac_alg_for_hkdf(cose_hkdf_alg_t hkdf_alg,
|
D | oscore_context.h | 94 cose_hkdf_alg_t hkdf_alg; member
|
/third_party/mbedtls/include/psa/ |
D | crypto_values.h | 1820 #define PSA_ALG_HKDF_GET_HASH(hkdf_alg) \ argument 1821 (PSA_ALG_CATEGORY_HASH | ((hkdf_alg) & PSA_ALG_HASH_MASK)) 1969 #define PSA_ALG_TLS12_PRF_GET_HASH(hkdf_alg) \ argument 1970 (PSA_ALG_CATEGORY_HASH | ((hkdf_alg) & PSA_ALG_HASH_MASK)) 2039 #define PSA_ALG_TLS12_PSK_TO_MS_GET_HASH(hkdf_alg) \ argument 2040 (PSA_ALG_CATEGORY_HASH | ((hkdf_alg) & PSA_ALG_HASH_MASK))
|
/third_party/libcoap/examples/interop/ |
D | b_server.conf | 7 hkdf_alg,integer,-10
|
D | e_client.conf | 7 hkdf_alg,integer,-10
|
D | a_client.conf | 7 hkdf_alg,integer,-10
|
D | f_client.conf | 7 hkdf_alg,integer,-10
|
D | g_client.conf | 7 hkdf_alg,integer,-10
|
D | c_client.conf | 8 hkdf_alg,integer,-10
|
D | d_server.conf | 8 hkdf_alg,integer,-10
|
/third_party/libcoap/src/ |
D | coap_notls.c | 343 coap_crypto_check_hkdf_alg(cose_hkdf_alg_t hkdf_alg) { in coap_crypto_check_hkdf_alg() argument 344 (void)hkdf_alg; in coap_crypto_check_hkdf_alg()
|
D | coap_oscore.c | 1809 CONFIG_ENTRY(hkdf_alg, COAP_ENC_INTEGER | COAP_ENC_TEXT, text_hkdf_alg), 1853 oscore_conf->hkdf_alg = COSE_HKDF_ALG_HKDF_SHA_256; in coap_parse_oscore_conf_mem() 1980 if (!coap_crypto_check_hkdf_alg(oscore_conf->hkdf_alg)) { in coap_oscore_init() 1982 oscore_conf->hkdf_alg); in coap_oscore_init()
|
D | coap_tinydtls.c | 1561 coap_crypto_check_hkdf_alg(cose_hkdf_alg_t hkdf_alg) { in coap_crypto_check_hkdf_alg() argument 1564 if (!cose_get_hmac_alg_for_hkdf(hkdf_alg, &hmac_alg)) in coap_crypto_check_hkdf_alg()
|
D | coap_mbedtls.c | 2773 coap_crypto_check_hkdf_alg(cose_hkdf_alg_t hkdf_alg) { argument 2776 if (!cose_get_hmac_alg_for_hkdf(hkdf_alg, &hmac_alg))
|
D | coap_gnutls.c | 3062 coap_crypto_check_hkdf_alg(cose_hkdf_alg_t hkdf_alg) { in coap_crypto_check_hkdf_alg() argument 3065 if (!cose_get_hmac_alg_for_hkdf(hkdf_alg, &hmac_alg)) in coap_crypto_check_hkdf_alg()
|
D | coap_openssl.c | 3763 coap_crypto_check_hkdf_alg(cose_hkdf_alg_t hkdf_alg) { in coap_crypto_check_hkdf_alg() argument 3766 if (!cose_get_hmac_alg_for_hkdf(hkdf_alg, &hmac_alg)) in coap_crypto_check_hkdf_alg()
|
/third_party/libcoap/include/coap3/ |
D | coap_crypto_internal.h | 85 int coap_crypto_check_hkdf_alg(cose_hkdf_alg_t hkdf_alg);
|
D | coap_oscore_internal.h | 48 cose_hkdf_alg_t hkdf_alg; /**< Set to one of COSE_HKDF_ALG_* */ member
|
/third_party/libcoap/man/ |
D | coap-oscore-conf.txt.in | 117 *hkdf_alg* :: 178 hkdf_alg,integer,-10 207 hkdf_alg,integer,-10
|
D | coap_oscore.txt.in | 225 "hkdf_alg,integer,-10\n" 313 "hkdf_alg,integer,-10\n"
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_psa_crypto_metadata.function | 263 psa_algorithm_t hkdf_alg = PSA_ALG_HKDF(alg); 286 TEST_EQUAL(PSA_ALG_HKDF_GET_HASH(hkdf_alg), alg);
|