📄 sizekey.c
字号:
/* ============================================================================ Project Name : jayaCard Module Name : proto/bios/crypto/sizekey.c Version : $Id: sizekey.c,v 1.3 2004/01/11 09:56:30 dgil Exp $ Description: Crypto BIOS / Size of a key The Original Code is jayaCard code. The Initial Developer of the Original Code is Gilles Dumortier. Portions created by the Initial Developer are Copyright (C) 2002-2004 the Initial Developer. All Rights Reserved. Contributor(s): 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 2 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; see http://www.gnu.org/licenses/gpl.html History Rev Description 061203 dgil wrote it from scratch ============================================================================*/#include "precomp.h"/* ========================================================================= sizeofkey ========================================================================= */jbyte code sizeofkey[8] = { 8, 16, 20, 24, 32, 0, 0, 0 };/* ========================================================================= sizeofmac ========================================================================= */jbyte code sizeofmac[6] = { 20, /* hmac-sha1 */ 16, /* hmac-md5 */ 8, /* mac-algo1-des */ 8, /* mac-algo1-desx */ 8, /* mac-algo1-3des2 */ 8 /* mac-algo4-des */ };/* ========================================================================= That's all folks ! ========================================================================= */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -