~ubuntu-branches/ubuntu/utopic/trousers/utopic-proposed

« back to all changes in this revision

Viewing changes to src/include/daa/key_correct.h

  • Committer: Package Import Robot
  • Author(s): Pierre Chifflier
  • Date: 2013-08-20 18:01:47 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20130820180147-ucz33jh8z2qx47ya
Tags: 0.3.11.2-1
* Imported Upstream version 0.3.11.2
* Upstream license changed to BSD
* Example tools are not shipped anymore
* Remove 05-gcc47.patch, not needed anymore
* Updated symbols file

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
/*
3
 
 * Licensed Materials - Property of IBM
4
 
 *
5
 
 * trousers - An open source TCG Software Stack
6
 
 *
7
 
 * (C) Copyright International Business Machines Corp. 2006
8
 
 *
9
 
 */
10
 
 
11
 
#ifndef KEY_CORRECT_H_
12
 
#define KEY_CORRECT_H_
13
 
 
14
 
#include "daa/daa_structs.h"
15
 
#include "daa/daa_parameter.h"
16
 
#include "tsplog.h"
17
 
 
18
 
   /**
19
 
   * Verifies if the parameters Z,R0,R1,RReceiver and RIssuer of the public key
20
 
   * were correctly computed.
21
 
   *
22
 
   * @param pk
23
 
   *          the public key, which one wants to verfy.
24
 
   */
25
 
TSS_RESULT
26
 
is_pk_correct( TSS_DAA_PK_internal *public_key,
27
 
                TSS_DAA_PK_PROOF_internal *proof,
28
 
                int *isCorrect
29
 
);
30
 
 
31
 
#endif /*KEY_CORRECTNESS_PROOF_H_*/