scd: support any curves defined by libgcrypt.