PSS code question
Simon Josefsson
simon at josefsson.org
Thu Jun 9 11:08:08 CEST 2011
Daiki Ueno <ueno at unixuser.org> writes:
>> I'd also like to see a way to test at least the verification of a PSS
>> message against a known test vector. Are there any real world
>> application of PSS or even test vectors?
>
> I used the test vectors Simon mentioned, manually comparing the step
> results with pss-int.txt. Maybe good to have selftests using the test
> vector, though I guess it is not that easy since both PSS and OAEP use
> random bits during the computation.
Would it be possible to specify the random bits to use to gcry_pk_sign
in the sexp somehow? Is it a fixed size random buffer? It would be
useful for self testing.
/Simon
More information about the Gcrypt-devel
mailing list