Home
last modified time | relevance | path

Searched refs:pkey (Results 1 – 3 of 3) sorted by relevance

/optee_os/core/drivers/crypto/versal/pki/
H A Decc_pki_kat.c310 struct ecc_public_key pkey = { }; in versal_ecc_verify_kat() local
353 ret = crypto_asym_alloc_ecc_public_key(&pkey, TEE_TYPE_ECDSA_PUBLIC_KEY, in versal_ecc_verify_kat()
357 pkey.curve = curve; in versal_ecc_verify_kat()
359 ret = crypto_bignum_bin2bn(qx, bytes, pkey.x); in versal_ecc_verify_kat()
362 ret = crypto_bignum_bin2bn(qy, bytes, pkey.y); in versal_ecc_verify_kat()
371 ret = versal_ecc_verify(algo, &pkey, hash, bytes, sig, 2 * bytes); in versal_ecc_verify_kat()
374 crypto_bignum_free(&pkey.x); in versal_ecc_verify_kat()
375 crypto_bignum_free(&pkey.y); in versal_ecc_verify_kat()
414 struct ecc_public_key pkey = { }; in versal_ecc_keypair_pwct() local
449 ret = crypto_acipher_alloc_ecc_public_key(&pkey, in versal_ecc_keypair_pwct()
[all …]
/optee_os/scripts/
H A Dsign_encrypt.py775 pkey = self.key.public_key()
777 pkey = self.key
780 pkey.verify(self.sig, self.img_digest, self.__get_padding(),
/optee_os/lib/libmbedtls/mbedtls/
H A DChangeLog3407 programs/pkey/gen_key which previously led to compilation failure
4188 * Fix error message in programs/pkey/gen_key.c. Found and fixed by Chris Xue.
4189 * Fix programs/pkey/dh_server.c so that it actually works with dh_client.c.
4776 * Fix memory corruption in pkey programs (found by yankuncheng) (#210)