Searched refs:pub_bytes (Results 1 – 3 of 3) sorted by relevance
/Zephyr-Core-3.5.0/tests/crypto/tinycrypt/src/ |
D | test_ecc_utils.c | 186 uint8_t pub_bytes[2 * NUM_ECC_BYTES]; in keygen_vectors() local 189 uECC_make_key_with_d(pub_bytes, prv_bytes, d, uECC_secp256r1()); in keygen_vectors() 192 uECC_vli_bytesToNative(pub, pub_bytes, NUM_ECC_BYTES); in keygen_vectors() 193 uECC_vli_bytesToNative(pub + NUM_ECC_WORDS, pub_bytes + NUM_ECC_BYTES, NUM_ECC_BYTES); in keygen_vectors()
|
D | ecc_dsa.c | 348 uint8_t pub_bytes[2 * NUM_ECC_BYTES]; in vrfy_vectors() local 391 uECC_vli_nativeToBytes(pub_bytes, NUM_ECC_BYTES, pub); in vrfy_vectors() 392 uECC_vli_nativeToBytes(pub_bytes + NUM_ECC_BYTES, NUM_ECC_BYTES, in vrfy_vectors() 396 if (0 != uECC_valid_public_key(pub_bytes, curve)) { in vrfy_vectors() 404 rc = uECC_verify(pub_bytes, digest_bytes, sizeof(digest_bytes), sig_bytes, in vrfy_vectors()
|
D | ecc_dh.c | 92 uint8_t pub_bytes[2 * NUM_ECC_BYTES]; in ecdh_vectors() local 93 uECC_vli_nativeToBytes(pub_bytes, 2 * NUM_ECC_BYTES, pub); in ecdh_vectors() 99 rc = uECC_shared_secret(pub_bytes, private_bytes, z_bytes, curve); in ecdh_vectors()
|