1
.\" Copyright (C) 2006 International Business Machines Corporation
2
.\" Written by Anthony Bussani based on the Trusted Computing Group Software Stack Specification Version 1.2
12
.de Sp \" Vertical space (when we can't use .PP)
18
.ie \\n(.$>=3 .ne \\$3
22
.TH "Tspi_DAA_VerifySignature" 3 "2006-09-04" "TSS 1.2"
24
TCG Software Stack Developer's Reference
26
Tspi_DAA_VerifySignature \- creates a challenge for the TCG platform
31
.B #include <tss/tss_typedef.h>
32
.B #include <tss/tss_structs.h>
33
.B #include <tss/tspi.h>
35
.BI "TSPICALL Tspi_DAA_VerifySignature("
36
.BI " TSS_HDAA " hDAA ","
37
.BI " TSS_DAA_SIGNATURE " daaSignature ","
38
.BI " TSS_HKEY " hPubKeyIssuer ","
39
.BI " TSS_DAA_SIGN_DATA " signData ","
40
.BI " UINT32 " attributesLength ","
41
.BI " BYTE** " attributes ","
42
.BI " UINT32 " nonceVerifierLength ","
43
.BI " BYTE* " nonceVerifier ","
44
.BI " UINT32 " baseNameLength ","
45
.BI " BYTE* " baseName ","
46
.BI " TSS_BOOL* " isCorrect
55
\Tspi_DAA_VerifySignature\fR
56
is part of the DAA Verifier component. It's the last function out of 2 in order to verify a
57
DAA Credential of a TCG platform. It verifies the DAA Credential and detects public rogue TPMs.
58
This is an optional function and does not require a TPM or a TCS.
63
The \fIhDAA\fR parameter is used to specify the handle of the DAA object.
65
The \fIdaaSignature\fR parameter is the DAA signature contains proof of
66
ownership of the DAA Credential, as well as a signature on either an AIK or a message.
68
The \fIhPubKeyIssuer\fR parameter is the handle of the DAA public key of the DAA Issuer
71
The \fIsignData\fR parameter defines what data is signed (AIK or message).
73
The \fIattributesLength\fR parameter is the Length of attributes array that is determined by
74
the DAA Issuer public key (lh+li). The length of a single attribute is lf/8.
76
The \fIattributes\fR parameter is the array of attributes which the DAA Credential owner reveals.
77
.SS nonceVerifierLength
78
The \fInonceVerifierLength\fR parameter is the length of nonceVerifier (20 bytes).
80
The \fInonceVerifier\fR parameter is the nonce that was computed in the previous function (Tspi_VerifyInit).
82
The \fIbaseNameLength\fR parameter the length of the baseName.
84
The \fIbaseName\fR parameter is the base name that was chosen for the DAA Signature.
86
The \fIisCorrect\fR parameter denotes if the verification of the DAA Signature was successful.
90
\fBTspi_DAA_VerifySignature\fR returns TSS_SUCCESS on success, otherwise one of the
91
following values is returned:
93
.SM TSS_E_BAD_PARAMETER
95
.SM TSS_E_INTERNAL_ERROR
96
An internal SW error has been detected.
100
\fBTspi_DAA_VerifySignature\fR conforms to the Trusted Computing Group
101
Software Specification version 1.2
106
\fBTspi_DAA_IssuerKeyVerification\fR(3)