Home
last modified time | relevance | path

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

/optee_os/core/drivers/crypto/caam/acipher/
H A Dcaam_ecc.c41 struct caambuf xy; member
52 caam_free_buf(&key->xy); in do_keypair_free()
74 retstatus = caam_calloc_buf(&outkey->xy, 2 * size_sec); in do_keypub_conv()
80 crypto_bignum_bn2bin(inkey->x, outkey->xy.data + size_sec - x_size); in do_keypub_conv()
83 crypto_bignum_bn2bin(inkey->y, outkey->xy.data + 2 * size_sec - y_size); in do_keypub_conv()
85 cache_operation(TEE_CACHECLEAN, outkey->xy.data, outkey->xy.length); in do_keypub_conv()
260 struct caambuf xy = { }; in do_gen_keypair() local
298 retstatus = caam_alloc_align_buf(&xy, (key_size / 8) * 2); in do_gen_keypair()
309 caam_desc_add_ptr(desc, xy.paddr); in do_gen_keypair()
333 cache_operation(TEE_CACHEFLUSH, xy.data, xy.length); in do_gen_keypair()
[all …]
/optee_os/lib/libmbedtls/core/
H A Dsm2-kep.c255 static void extract_xy_from_keypair(struct key_xy *xy, in extract_xy_from_keypair() argument
258 xy->x = (mbedtls_mpi *)pair->x; in extract_xy_from_keypair()
259 xy->y = (mbedtls_mpi *)pair->y; in extract_xy_from_keypair()
263 static void extract_xy_from_public_key(struct key_xy *xy, in extract_xy_from_public_key() argument
266 xy->x = (mbedtls_mpi *)from->x; in extract_xy_from_public_key()
267 xy->y = (mbedtls_mpi *)from->y; in extract_xy_from_public_key()