Home
last modified time | relevance | path

Searched refs:pub_key_buf (Results 1 – 2 of 2) sorted by relevance

/openthread-latest/third_party/mbedtls/repo/library/
Dpk_wrap.c963 uint8_t pub_key_buf[MBEDTLS_PSA_MAX_EC_PUBKEY_LENGTH]; in eckey_check_pair_psa() local
1005 &pub_key_len, pub_key_buf, in eckey_check_pair_psa()
1006 sizeof(pub_key_buf)); in eckey_check_pair_psa()
1011 if (memcmp(prv_key_buf, pub_key_buf, curve_bytes) != 0) { in eckey_check_pair_psa()
/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_pk.function538 unsigned char pub_key_buf[PSA_EXPORT_PUBLIC_KEY_MAX_SIZE];
550 PSA_ASSERT(psa_export_public_key(priv_id, pub_key_buf, sizeof(pub_key_buf), &pub_key_len));
563 PSA_ASSERT(psa_import_key(&attributes, pub_key_buf, pub_key_len, &pub_key));