There is copy&paste error in libgcrypt ecc-curves.c _gcry_ecc_get_mpi at line 1209:
ecc->Q->y should be tested instead of ecc->G->y
There is copy&paste error in libgcrypt ecc-curves.c _gcry_ecc_get_mpi at line 1209:
ecc->Q->y should be tested instead of ecc->G->y