Searched refs:xsize (Results 1 – 3 of 3) sorted by relevance
12 unsigned long xsize, ysize; in ltc_ecc_export_point() local15 if ((xsize = mp_unsigned_bin_size(x)) > size) return CRYPT_BUFFER_OVERFLOW; in ltc_ecc_export_point()27 if ((err = mp_to_unsigned_bin(x, buf + (size - xsize))) != CRYPT_OK) return err; in ltc_ecc_export_point()41 if ((err = mp_to_unsigned_bin(x, buf + (size - xsize))) != CRYPT_OK) return err; in ltc_ecc_export_point()
274 size_t xsize = mbedtls_mpi_size(&p->X); in sm2_point_to_bytes() local279 if (xsize > SM2_INT_SIZE_BYTES || ysize > SM2_INT_SIZE_BYTES || in sm2_point_to_bytes()
309 size_t xsize = mp_unsigned_bin_size(p->x); in sm2_point_to_bytes() local313 if (xsize > SM2_INT_SIZE_BYTES || ysize > SM2_INT_SIZE_BYTES || in sm2_point_to_bytes()
Completed in 6 milliseconds