Lines Matching refs:public_key
570 …uECC_shared_secret(btstack_crypto_ec_p192->public_key, btstack_crypto_ecc_p256_d, btstack_crypto_e… in btstack_crypto_ecc_p256_calculate_dhkey_software()
573 …uECC_shared_secret(btstack_crypto_ec_p192->public_key, btstack_crypto_ecc_p256_d, btstack_crypto_e… in btstack_crypto_ecc_p256_calculate_dhkey_software()
586 mbedtls_mpi_read_binary(&Q.X, &btstack_crypto_ec_p192->public_key[0] , 32); in btstack_crypto_ecc_p256_calculate_dhkey_software()
587 mbedtls_mpi_read_binary(&Q.Y, &btstack_crypto_ec_p192->public_key[32], 32); in btstack_crypto_ecc_p256_calculate_dhkey_software()
941 (void)memcpy(btstack_crypto_ec_p192->public_key, in btstack_crypto_run()
979 …d(&hci_le_generate_dhkey, &btstack_crypto_ec_p192->public_key[0], &btstack_crypto_ec_p192->public_… in btstack_crypto_run()
1244 void btstack_crypto_ecc_p256_generate_key(btstack_crypto_ecc_p256_t * request, uint8_t * public_key… in btstack_crypto_ecc_p256_generate_key() argument
1252 request->public_key = public_key; in btstack_crypto_ecc_p256_generate_key()
1257 …6_calculate_dhkey(btstack_crypto_ecc_p256_t * request, const uint8_t * public_key, uint8_t * dhkey… in btstack_crypto_ecc_p256_calculate_dhkey() argument
1261 request->public_key = (uint8_t *) public_key; in btstack_crypto_ecc_p256_calculate_dhkey()
1267 int btstack_crypto_ecc_p256_validate_public_key(const uint8_t * public_key){ in btstack_crypto_ecc_p256_validate_public_key() argument
1276 err = uECC_valid_public_key(public_key, uECC_secp256r1()) == 0; in btstack_crypto_ecc_p256_validate_public_key()
1279 err = uECC_valid_public_key(public_key) == 0; in btstack_crypto_ecc_p256_validate_public_key()
1288 mbedtls_mpi_read_binary(&Q.X, &public_key[0], 32); in btstack_crypto_ecc_p256_validate_public_key()
1289 mbedtls_mpi_read_binary(&Q.Y, &public_key[32], 32); in btstack_crypto_ecc_p256_validate_public_key()
1394 void btstack_crypto_ecc_p256_set_key(const uint8_t * public_key, const uint8_t * private_key){ in btstack_crypto_ecc_p256_set_key() argument
1397 (void)memcpy(btstack_crypto_ecc_p256_public_key, public_key, 64); in btstack_crypto_ecc_p256_set_key()
1400 UNUSED(public_key); in btstack_crypto_ecc_p256_set_key()