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_*/ 32