Changeset View
Changeset View
Standalone View
Standalone View
g10/seskey.c
/* seskey.c - make sesssion keys etc. | /* seskey.c - make session keys etc. | ||||
* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, | * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, | ||||
* 2006, 2009, 2010 Free Software Foundation, Inc. | * 2006, 2009, 2010 Free Software Foundation, Inc. | ||||
* | * | ||||
Context not available. | |||||
/* ECDSA 521 is special has it is larger than the largest hash | /* ECDSA 521 is special has it is larger than the largest hash | ||||
we have (SHA-512). Thus we chnage the size for further | we have (SHA-512). Thus we change the size for further | ||||
processing to 512. */ | processing to 512. */ | ||||
if (pk->pubkey_algo == PUBKEY_ALGO_ECDSA && qbits > 512) | if (pk->pubkey_algo == PUBKEY_ALGO_ECDSA && qbits > 512) | ||||
qbits = 512; | qbits = 512; | ||||
Context not available. |