Searched refs:xy (Results 1 – 2 of 2) sorted by relevance
/optee_os-3.20.0/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 269 xy.data = d.data + key_size / 8; in do_gen_keypair() 270 xy.length = 2 * (key_size / 8); in do_gen_keypair() 298 ret = crypto_bignum_bin2bn(xy.data, xy.length / 2, key->x); in do_gen_keypair() 302 ret = crypto_bignum_bin2bn(xy.data + xy.length / 2, in do_gen_keypair() 303 xy.length / 2, key->y); in do_gen_keypair() 308 ECC_DUMPBUF("X", xy.data, xy.length / 2); in do_gen_keypair() [all …]
|
/optee_os-3.20.0/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 4 milliseconds