Searched refs:xy (Results 1 – 2 of 2) sorted by relevance
/optee_os/core/drivers/crypto/caam/acipher/ |
A D | caam_ecc.c | 37 struct caambuf xy; member 48 caam_free_buf(&key->xy); in do_keypair_free() 81 cache_operation(TEE_CACHECLEAN, outkey->xy.data, outkey->xy.length); in do_keypub_conv() 235 struct caambuf xy = { }; in do_gen_keypair() local 266 xy.data = d.data + key_size / 8; in do_gen_keypair() 267 xy.length = 2 * (key_size / 8); in do_gen_keypair() 295 ret = crypto_bignum_bin2bn(xy.data, xy.length / 2, key->x); in do_gen_keypair() 299 ret = crypto_bignum_bin2bn(xy.data + xy.length / 2, in do_gen_keypair() 300 xy.length / 2, key->y); in do_gen_keypair() 305 ECC_DUMPBUF("X", xy.data, xy.length / 2); in do_gen_keypair() [all …]
|
/optee_os/lib/libmbedtls/core/ |
A D | sm2-kep.c | 255 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()
|
Completed in 5 milliseconds