---
name: "Tspi_DAA_VerifyInit"
section: "3"
platform: "linux"
package: "libtspi-dev"
version: "0.3.9-3+wheezy1"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/Tspi_DAA_VerifyInit"
---

# Tspi\_DAA\_VerifyInit(3)

creates a challenge for the TCG platform

TCG Software Stack Developer's Reference

## NAME

Tspi\_DAA\_VerifyInit - creates a challenge for the TCG platform

## SYNOPSIS

```
#include <tss/tss_typedef.h>
#include <tss/tss_structs.h>
#include <tss/tspi.h>

TSPICALL Tspi_DAA_VerifyInit(
    TSS_HDAA                    hDAA,
    UINT32*                     nonceVerifierLength,
    BYTE**                      nonceVerifier,
    UINT32*                     baseNameLength,
    BYTE**                      baseName
);
```

## DESCRIPTION

Tspi\_DAA\_VerifyInit is part of the DAA Verifier component. It's the first function out of 2 in order to verify a DAA Credential of a TCG platform. It creates a challenge for the TCG platform. This is an optional function and does not require a TPM or a TCS.

## PARAMETERS

### hDAA

The *hDAA* parameter is used to specify the handle of the DAA object.

### nonceVerifierLength

The *nonceVerifierLength* parameter is the length of the nonceVerifier.

### nonceVerifier

The *nonceVerifier* parameter is the challenge for the platform.

### baseNameLength

The *baseNameLength* parameter is the length of the baseName.

### baseName

The *baseName* parameter is the base name that was chosen for the DAA Signature.

## RETURN CODES

**Tspi\_DAA\_VerifyInit** returns TSS\_SUCCESS on success, otherwise one of the following values is returned:

- TSS\_E\_BAD\_PARAMETER

  - TSS\_E\_INTERNAL\_ERROR

  An internal SW error has been detected.

- **Tspi\_DAA\_VerifyInit** conforms to the Trusted Computing Group

  ## CONFORMING TO

Software Specification version 1.2

## SEE ALSO

[**Tspi\_DAA\_IssuerKeyVerification**(3)](/Tspi_DAA_IssuerKeyVerification/3.md)
