tss_sha1.3

来自「IBM开发的TPM的驱动, 有少量的例子可以供参考」· 3 代码 · 共 35 行

3
35
字号
.\" Copyright 2004 IBM (Jeff Kravitz).\".\" Written Jan 29 2004, Jeff Kravitz.\".TH "TSS_sha1" 3  2004-02-11 "IBM" "TPM Library".SH NAMETSS_sha1.SH SYNOPSIS.nf.B #include <tpmfunc.h>.sp.BR "void TSS_sha1" "(unsigned char *input,"                     int len,                      unsigned char *output).fi.SH DESCRIPTIONThe \fBTSS_sha1\fP function computes a SHA-1 cryptographic hashover the data specified as its input..SH ARGUMENTSThe arguments include....TP 10.B inputA pointer to the input data to be hashed..TP 10.B lenThe length of the input data..TP 10.B outputA pointer to an area to receive the hash output..SH NOTESThe output area must be at least 20 bytes in length.  Thehash output will be 20 bytes..SH AUTHORJeff Kravitz, IBM T.J. Watson Research Center

⌨️ 快捷键说明

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