Use order not degree to calculate a buffer size in ecdsatest