Changeset View
Changeset View
Standalone View
Standalone View
b/cipher/primegen.c
Context not available. | |||||
/* Step 1: Check the requested prime lengths. */ | /* Step 1: Check the requested prime lengths. */ | ||||
/* Note that due to the size of our buffers QBITS is limited to 256. */ | /* Note that due to the size of our buffers QBITS is limited to 256. */ | ||||
if (pbits == 1024 && qbits == 160) | if (pbits == 2048 && qbits == 224) | ||||
hashalgo = GCRY_MD_SHA1; | |||||
else if (pbits == 2048 && qbits == 224) | |||||
hashalgo = GCRY_MD_SHA224; | hashalgo = GCRY_MD_SHA224; | ||||
else if (pbits == 2048 && qbits == 256) | else if (pbits == 2048 && qbits == 256) | ||||
hashalgo = GCRY_MD_SHA256; | hashalgo = GCRY_MD_SHA256; | ||||
Context not available. |