2 * Copyright (C) 2005-2008 Martin Willi
3 * Copyright (C) 2005 Jan Hutter
4 * Hochschule fuer Technik Rapperswil
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your
9 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19 #include "diffie_hellman.h"
21 ENUM_BEGIN(diffie_hellman_group_names
, MODP_NONE
, MODP_1024_BIT
,
25 ENUM_NEXT(diffie_hellman_group_names
, MODP_1536_BIT
, MODP_1536_BIT
, MODP_1024_BIT
,
27 ENUM_NEXT(diffie_hellman_group_names
, MODP_2048_BIT
, ECP_521_BIT
, MODP_1536_BIT
,
36 ENUM_NEXT(diffie_hellman_group_names
, ECP_192_BIT
, ECP_224_BIT
, ECP_521_BIT
,
39 ENUM_END(diffie_hellman_group_names
, ECP_224_BIT
);