File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / strongswan / src / libstrongswan / crypto / signers / signer.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 3 09:46:44 2020 UTC (4 years, 3 months ago) by misho
Branches: strongswan, MAIN
CVS tags: v5_9_2p0, v5_8_4p7, HEAD
Strongswan

    1: /*
    2:  * Copyright (C) 2005-2006 Martin Willi
    3:  * Copyright (C) 2005 Jan Hutter
    4:  * HSR Hochschule fuer Technik Rapperswil
    5:  *
    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>.
   10:  *
   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
   14:  * for more details.
   15:  */
   16: 
   17: #include "signer.h"
   18: 
   19: ENUM_BEGIN(integrity_algorithm_names, AUTH_UNDEFINED, AUTH_CAMELLIA_XCBC_96,
   20: 	"UNDEFINED",
   21: 	"HMAC_SHA1_128",
   22: 	"HMAC_SHA2_256_96",
   23: 	"HMAC_SHA2_256_256",
   24: 	"HMAC_SHA2_384_384",
   25: 	"HMAC_SHA2_512_512",
   26: 	"CAMELLIA_XCBC_96");
   27: ENUM_NEXT(integrity_algorithm_names, AUTH_HMAC_MD5_96, AUTH_HMAC_SHA2_512_256, AUTH_CAMELLIA_XCBC_96,
   28: 	"HMAC_MD5_96",
   29: 	"HMAC_SHA1_96",
   30: 	"DES_MAC",
   31: 	"KPDK_MD5",
   32: 	"AES_XCBC_96",
   33: 	"HMAC_MD5_128",
   34: 	"HMAC_SHA1_160",
   35: 	"AES_CMAC_96",
   36: 	"AES_128_GMAC",
   37: 	"AES_192_GMAC",
   38: 	"AES_256_GMAC",
   39: 	"HMAC_SHA2_256_128",
   40: 	"HMAC_SHA2_384_192",
   41: 	"HMAC_SHA2_512_256");
   42: ENUM_END(integrity_algorithm_names, AUTH_HMAC_SHA2_512_256);
   43: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>