test02b.c

来自「一个免费的SMART CARD OS系统。」· C语言 代码 · 共 61 行

C
61
字号
/* ============================================================================   Project Name : jayaCard TCK   Module Name  : proto/tck/bios/test02b/test02b.c   Version : $Id: test02b.c,v 1.5 2004/01/11 09:56:34 dgil Exp $	Description: BIOS TEST02 - CIPHER STUFF (IV==00)    The Original Code is jayaCard TCK 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):	Permission is granted to any individual to use, copy, or redistribute	this software so long as all of the original files are included	unmodified, that it is not sold for profit, and that this copyright	notice is retained.    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.   History Rev	Description   042903 dgil	wrote it from scratch   ============================================================================*/#include "precomp.h"/* ============================================================================	globals   ========================================================================= *//* ============================================================================	main()   ========================================================================= */int main(void){	printf("Start of bios::test02b\n");	LOG_DISABLE("HAL");	LOG_DISABLE("BIOS");	LOG_DISABLE("EEPROM");	LOG_ENABLE("CRYPTO");	BIOS_INIT();	BIOS_SETPADDING(REFDATA_PAD_NOPAD);	BIOS_CIPHER_INIT();	BIOS_CRYPTO_CLEANUP();	printf("End of bios::test02b\n");	return 0;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?