Lines Matching refs:signature
1101 e_2_i_TSS_DAA_SIGNATURE(TSS_DAA_SIGNATURE* signature)
1107 signature_intern->zeta = bi_set_as_nbin( signature->zetaLength, signature->zeta);
1108 signature_intern->capitalT = bi_set_as_nbin( signature->capitalTLength,
1109 signature->capitalT);
1110 signature_intern->challenge_length = signature->challengeLength;
1111 signature_intern->challenge = (BYTE *)malloc( signature->challengeLength);
1113 signature->challenge,
1114 signature->challengeLength);
1115 signature_intern->nonce_tpm_length = signature->nonceTpmLength;
1116 signature_intern->nonce_tpm = (BYTE *)malloc( signature->nonceTpmLength);
1117 memcpy( signature_intern->nonce_tpm, signature->nonceTpm, signature->nonceTpmLength);
1118 signature_intern->sV = bi_set_as_nbin( signature->sVLength, signature->sV);
1119 signature_intern->sF0 = bi_set_as_nbin( signature->sF0Length, signature->sF0);
1120 signature_intern->sF1 = bi_set_as_nbin( signature->sF1Length, signature->sF1);
1121 signature_intern->sE = bi_set_as_nbin( signature->sELength, signature->sE);
1123 bi_new_array2( signature_intern->sA, signature->sALength);
1125 for (i = 0; i < (int)signature->sALength; i++) {
1126 signature_intern->sA->array[i] = bi_set_as_nbin( length, signature->sA[i]);
1133 free_TSS_DAA_SIGNATURE_internal(TSS_DAA_SIGNATURE_internal *signature)
1135 bi_free_array( signature->sA);
1136 bi_free_ptr( signature->sE);
1137 bi_free_ptr( signature->sF1);
1138 bi_free_ptr( signature->sF0);
1139 bi_free_ptr( signature->sV);
1140 free( signature->nonce_tpm);
1141 free( signature->challenge);
1142 bi_free_ptr( signature->capitalT);
1143 bi_free_ptr( signature->zeta);
1144 free( signature);