The key size can be larger than the maximum digest size supported by the sign and verify APIs. Calculate a reasonable digest size for the key size and bound it on the maximum digest size.
The key size can be larger than the maximum digest size supported by the sign and verify APIs. Calculate a reasonable digest size for the key size and bound it on the maximum digest size.