📄 stephi.h
字号:
/******************************************************************************
Copyright (C) 2001 UTStarcom (Hangzhou) Telecom Co., Ltd.
All rights reserved.
Contains confidential proprietary information of UTStarcom, Inc.
Reverse engineering is prohibited.
The copyright notice does not imply publication.
Project Name: Engine
Project No. :
File Name : STEPHI.h
Module :
Description :
************** REVISION HISTORY *******************************************
Date Author Reference
======== ========== ==========================
2002.1.1 Qian Aidong
******************************************************************************/
#ifndef _STEPHI_H_
#define _STEPHI_H_
#ifdef __cplusplus
extern "C" {
#endif
#include "phs_def.h"
typedef struct
{
U2 text[4];
}STE_TEXT;
#define Nround 8 /* Round Number */
extern void ste_setkey( U1 KC, U2 KS0, U2 KS1, U2 SUBK[2*Nround] );
extern void ste_stephi_B( U2 SUBK[2*Nround], U2 x[4], short encdec );
extern void ste_round( U2 x[4], U2 k0, U2 k1 );
extern U1 ste_parity( U2 x0, U2 x1, U2 k0, U2 k1 );
extern void ste_ope( STE_TEXT *key, STE_TEXT *inRaNumOutResult );
extern void Mm_STEPHIenc(U1 *AuthKey, U1 *AuthRnd, U1 *AuthResult); //STEPHI
#ifdef __cplusplus
}
#endif
#endif // _STEPHI_H_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -