fips140-2: enhanced check of generated parameters
That is, replaced all assert() calls with if statements to allow gracefull fallback and added explicit check for the bounds of the generated 'd'.
Signed-off-by: Nikos Mavrogiannopoulos nmav@redhat.com