From d240ed3e88dbb164d36a8007939b4ab7913f8435 Mon Sep 17 00:00:00 2001 From: Anton Date: Sat, 28 Jul 2018 19:56:52 +0400 Subject: add header file PICA_security.h to group important security parameters in one place --- PICA_security.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 PICA_security.h (limited to 'PICA_security.h') diff --git a/PICA_security.h b/PICA_security.h new file mode 100644 index 0000000..0ea3306 --- /dev/null +++ b/PICA_security.h @@ -0,0 +1,30 @@ +/* + (c) Copyright 2012 - 2018 Anton Sviridenko + https://picapica.im + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + +#ifndef PICA_SECURITY_H +#define PICA_SECURITY_H + +/* Important security parameters grouped together */ + +#define PICA_RSA_KEYSIZE 4096 +#define PICA_TLS_CIPHERLIST "DHE-RSA-AES256-GCM-SHA384:DHE-RSA-CAMELLIA256-SHA" +#define PICA_OPENSSL_SECURUTY_LEVEL 3 +#define PICA_CERTDIGESTALGO "-sha256" +#define PICA_PRIVKEYENCALGO "-aes256" + +#endif -- cgit v1.2.1