/netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/daa/ |
H A D | daa_debug.c | 106 fprintf(file, "%s\n", dump_byte_array( proof->length_challenge, in save_DAA_PK_PROOF_internal() 184 fprintf(file, "%s\n", dump_byte_array( credential->capitalALength, in save_TSS_DAA_CRED_ISSUER() 187 fprintf(file, "%s\n", dump_byte_array( credential->eLength, in save_TSS_DAA_CRED_ISSUER() 190 fprintf(file, "%s\n", dump_byte_array( credential->vPrimePrimeLength, in save_TSS_DAA_CRED_ISSUER() 194 fprintf(file, "%s\n", dump_byte_array( DAA_PARAM_SIZE_F_I / 8, in save_TSS_DAA_CRED_ISSUER() 199 fprintf(file, "%s\n", dump_byte_array( credential->cPrimeLength, in save_TSS_DAA_CRED_ISSUER() 202 fprintf(file, "%s\n", dump_byte_array( credential->sELength, in save_TSS_DAA_CRED_ISSUER() 269 fprintf(file, "%s\n", dump_byte_array( credential->capitalALength, in save_TSS_DAA_CREDENTIAL() 272 fprintf(file, "%s\n", dump_byte_array( credential->exponentLength, in save_TSS_DAA_CREDENTIAL() 275 fprintf(file, "%s\n", dump_byte_array( credential->vBar0Length, in save_TSS_DAA_CREDENTIAL() [all …]
|
H A D | daa_structs.c | 950 fprintf(file, "%s\n", dump_byte_array( proof->length_challenge, 1193 fprintf(file, "%s\n", dump_byte_array( credential->capitalALength, 1196 fprintf(file, "%s\n", dump_byte_array( credential->eLength, 1199 fprintf(file, "%s\n", dump_byte_array( credential->vPrimePrimeLength, 1203 fprintf(file, "%s\n", dump_byte_array( DAA_PARAM_SIZE_F_I / 8, 1208 fprintf(file, "%s\n", dump_byte_array( credential->cPrimeLength, 1211 fprintf(file, "%s\n", dump_byte_array( credential->sELength, 1283 fprintf(file, "%s\n", dump_byte_array( credential->capitalALength, 1286 fprintf(file, "%s\n", dump_byte_array( credential->exponentLength, 1289 fprintf(file, "%s\n", dump_byte_array( credential->vBar0Length, [all …]
|
H A D | test_sign.c | 152 dump_byte_array( nonceVerifierLength, nonceVerifier)); in main() 195 dump_byte_array( nonceVerifierLength, nonceVerifier)); in main()
|
/netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_issuer/ |
H A D | issue_credential.c | 125 LogDebug("PK(0).n=%s", dump_byte_array( TPM_DAA_SIZE_issuerModulus, modulus_N0_bytes)); in verify_authentificity() 126 LogDebug("digestN0h=%s", dump_byte_array( digest_n0Length, digest_n0)); in verify_authentificity() 127 LogDebug("UPrime=%s", dump_byte_array( TPM_DAA_SIZE_issuerModulus, capitalUPrime_bytes)); in verify_authentificity() 130 …LogDebug("contextHash[%d]=%s", contextHashLength, dump_byte_array( contextHashLength, contextHash)… in verify_authentificity() 146 dump_byte_array( credentialRequest->authenticationProofLength, in verify_authentificity() 150 dump_byte_array( hashLength, hash)); in verify_authentificity() 155 dump_byte_array( hashLength, hash)); in verify_authentificity() 188 LogDebug( "issuerPk: %s", dump_byte_array( encoded_pkLength, encoded_pk)); in compute_join_challenge_issuer() 192 dump_byte_array( DAA_PARAM_SIZE_RND_VALUE_CERTIFICATE / 8, byte_array)); in compute_join_challenge_issuer() 202 LogDebug( "capitalA: %s", dump_byte_array( DAA_PARAM_SIZE_RSA_MODULUS / 8, byte_array)); in compute_join_challenge_issuer() [all …]
|
H A D | issuer_init.c | 90 dump_byte_array( *nonceIssuerLength , *nonceIssuer)); in Tspi_DAA_IssueInit_internal() 127 dump_byte_array( *authenticationChallengeLength , *authenticationChallenge)); in Tspi_DAA_IssueInit_internal()
|
H A D | key_correctness_proof.c | 74 dump_byte_array( length, result), in toByteArray() 378 dump_byte_array( length_challenge, verifiable_challenge)); in is_pk_correct() 380 dump_byte_array( proof->length_challenge, proof->challenge)); in is_pk_correct()
|
/netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_platform/ |
H A D | platform.c | 248 inputSize0, dump_byte_array(inputSize0, inputData0), in Tcsip_TPM_DAA_Join_encapsulate() 249 inputSize1,dump_byte_array(inputSize1, inputData1), in Tcsip_TPM_DAA_Join_encapsulate() 264 (int)stage, *outputSize, dump_byte_array( *outputSize, *outputData), (int)ownerAuth, result); in Tcsip_TPM_DAA_Join_encapsulate() 446 LogDebug("outputData=%s", dump_byte_array( outputSize, outputData)); 720 LogDebug("outputData=%s", dump_byte_array( outputSize, outputData)); in Tspi_TPM_DAA_JoinInit_internal() 759 LogDebug("keyinfo:%s", dump_byte_array( uiAttrSize, pAttr)); in get_public_EK() 769 dump_byte_array( *endorsementKeyLength, *endorsementKey)); in get_public_EK() 809 dump_byte_array( encoded_pkLength, encoded_pk)); in compute_join_challenge_host() 817 dump_byte_array( length, buffer)); in compute_join_challenge_host() 824 dump_byte_array( length, buffer)); in compute_join_challenge_host() [all …]
|
H A D | test_join.c | 137 LogDebug("modulus=%s\n", dump_byte_array(256, modulus)); in init_key_chain() 138 LogDebug("signature=%s\n", dump_byte_array(256, signature)); in init_key_chain() 162 LogDebug("message=%s\n", dump_byte_array(256, message)); in init_key_chain() 163 LogDebug("signature=%s\n",dump_byte_array(256, signature)); in init_key_chain() 262 dump_byte_array(EVP_MD_size( EVP_sha1()), in initIssuer()
|
/netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_verifier/ |
H A D | verifier_transaction.c | 217 LogDebug("[update] %s:%s", name, dump_byte_array( length, buffer)); in update() 251 dump_byte_array( issuer_pk->issuerBaseNameLength, in compute_sign_challenge_host() 255 dump_byte_array( nonce_verifierLength, nonce_verifier)); in compute_sign_challenge_host() 279 LogDebug("encoded issuer_pk[%d]:%s", length, dump_byte_array( length, buffer)); in compute_sign_challenge_host() 364 dump_byte_array( *result_length, buffer)); in compute_sign_challenge_host() 747 LogDebug("calculation of c: ch[%d]%s", length_ch, dump_byte_array( length_ch, ch)); in Tspi_DAA_VerifySignature_internal() 750 dump_byte_array( signature->nonce_tpm_length, signature->nonce_tpm)); in Tspi_DAA_VerifySignature_internal() 754 dump_byte_array( sign_data.payloadLength, sign_data.payload)); in Tspi_DAA_VerifySignature_internal() 786 dump_byte_array( signature->challenge_length, signature->challenge)); in Tspi_DAA_VerifySignature_internal() 789 dump_byte_array( len_hash, hash)); in Tspi_DAA_VerifySignature_internal()
|
/netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/daa/big_integer/test/ |
H A D | test.c | 143 printf("test dump_byte_array(\"12345\")=%s\n", dump_byte_array( len, byte_array)); in main() 147 printf("test dump_byte_array(\"12345678\")=%s\n", dump_byte_array( len, byte_array)); in main()
|
/netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/daa/big_integer/ |
H A D | bi.c | 46 char *dump_byte_array(int len, unsigned char *array) { in dump_byte_array() function
|
/netbsd-src/crypto/external/cpl/trousers/dist/src/include/daa/ |
H A D | bi.h | 112 char *dump_byte_array(int len, unsigned char *array);
|
/netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/ |
H A D | tspi_daa.c | 365 LogDebug( "challenge=[%s]", dump_byte_array( proof_internal->length_challenge, in Tspi_DAA_IssuerKeyVerification()
|