/netbsd/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_issuer/ |
H A D | key_correctness_proof.c | 212 bi_2_hex_char( public_key->rho)); in is_pk_correct() 221 bi_2_hex_char( tmp1)); in is_pk_correct() 230 bi_2_hex_char( tmp1)); in is_pk_correct() 241 bi_2_hex_char( tmp1)); in is_pk_correct() 287 bi_2_hex_char( public_key->capitalS), in is_pk_correct() 288 bi_2_hex_char( n)); in is_pk_correct() 294 bi_2_hex_char( public_key->capitalZ), in is_pk_correct() 295 bi_2_hex_char( n)); in is_pk_correct() 302 bi_2_hex_char( n)); in is_pk_correct() 309 bi_2_hex_char( n)); in is_pk_correct() [all …]
|
H A D | keypair_generator.c | 165 LogError("!! pPrime not a prime number: %s", bi_2_hex_char(pPrime)); in generate_key_pair() 170 LogError("!! qPrime not a prime number: %s", bi_2_hex_char(qPrime)); in generate_key_pair() 174 LogDebug("p=%s", bi_2_hex_char(p)); in generate_key_pair() 175 LogDebug("q=%s", bi_2_hex_char(q)); in generate_key_pair() 176 LogDebug("n=%s", bi_2_hex_char(n)); in generate_key_pair() 182 LogDebug("capital_s=%s", bi_2_hex_char(capital_s)); in generate_key_pair() 191 LogDebug("product_PQprime=%s [%ld]", bi_2_hex_char(product_PQprime), in generate_key_pair() 275 bi_2_hex_char(bi_tmp), bi_2_hex_char(bi_tmp1)); in generate_key_pair() 282 LogDebug("capital_gamma=%s\n", bi_2_hex_char(capital_gamma)); in generate_key_pair()
|
H A D | issue_credential.c | 499 LogDebug("calculation Uhat: sv_tilde_prime:%s\n", bi_2_hex_char( sv_tilde_prime)); in Tspi_DAA_IssueCredential_internal() 500 LogDebug("calculation Uhat: n:%s\n", bi_2_hex_char( n)); in Tspi_DAA_IssueCredential_internal() 501 LogDebug("calculation Uhat: product_attributes:%s\n", bi_2_hex_char( product_attr_receiver)); in Tspi_DAA_IssueCredential_internal() 502 LogDebug("calculation NhatI: zeta:%s\n", bi_2_hex_char( zeta)); in Tspi_DAA_IssueCredential_internal() 503 LogDebug("calculation NhatI: exp:%s\n", bi_2_hex_char( exp)); in Tspi_DAA_IssueCredential_internal() 685 LogDebug("fraction_A[%ld]=%s", bi_nbin_size( fraction_A), bi_2_hex_char( fraction_A)); in Tspi_DAA_IssueCredential_internal() 686 LogDebug("eInverse[%ld]=%s", bi_nbin_size( eInverse), bi_2_hex_char( eInverse)); in Tspi_DAA_IssueCredential_internal() 687 LogDebug("productPQprime[%ld]=%s", bi_nbin_size( tmp2), bi_2_hex_char( tmp2)); in Tspi_DAA_IssueCredential_internal() 688 LogDebug("eInverse[%ld]=%s", bi_nbin_size( eInverse), bi_2_hex_char( eInverse)); in Tspi_DAA_IssueCredential_internal() 689 LogDebug("e[%ld]=%s", bi_nbin_size( e), bi_2_hex_char( e)); in Tspi_DAA_IssueCredential_internal() [all …]
|
H A D | prime_gen.c | 324 LogDebug("found Safe Prime: %s bits", bi_2_hex_char(p)); in compute_safe_prime()
|
/netbsd/crypto/external/cpl/trousers/dist/src/tspi/daa/big_integer/test/ |
H A D | test.c | 175 printf("value 2 convert=%s length=%ld\n", bi_2_hex_char( n), bi_nbin_size( n)); in main() 184 printf("\n!!! bi_set_as_nbin %s = %x\n", bi_2_hex_char( nn), 254+(1 << 16)); in main() 241 printf("bi=%s\n", bi_2_hex_char( bi_tmp)); in main() 254 printf("r:%s n:%s\n", bi_2_hex_char( r), bi_2_hex_char( n)); in main() 256 printf("prime:%s\nIs probable prime:%d\n", bi_2_hex_char( r), bi_is_probable_prime( r)); in main() 258 printf("Invert mod return:%d\nInvert(r):%s\n", error, bi_2_hex_char( r)); in main() 260 printf("negate(r):%s\n", bi_2_hex_char( r)); in main() 264 printf("safe prime(r):%s probable_prime:%d\n", bi_2_hex_char( r), bi_is_probable_prime( r)); in main() 265 printf("safe prime( (r-1)/2):%s probable_prime:%d\n", bi_2_hex_char( n), bi_is_probable_prime( n)); in main()
|
/netbsd/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_verifier/ |
H A D | verifier_transaction.c | 113 bi_nbin_size( rho), bi_2_hex_char( rho)); in project_into_group_gamma() 115 bi_nbin_size( base), bi_2_hex_char( base)); in project_into_group_gamma() 117 bi_nbin_size( exponent), bi_2_hex_char( exponent)); in project_into_group_gamma() 120 bi_2_hex_char( capital_gamma)); in project_into_group_gamma() 122 LogDebug("project_into_group_gamma: result:%s", bi_2_hex_char( zeta)); in project_into_group_gamma() 140 LogDebug("base: %ld [%s]", bi_nbin_size( base), bi_2_hex_char( base)); in compute_zeta() 145 LogDebug("return zeta:%s\n", bi_2_hex_char( result)); in compute_zeta() 258 LogDebug("zeta[%ld]:%s", bi_nbin_size( zeta), bi_2_hex_char( zeta)); in compute_sign_challenge_host() 259 LogDebug("capital_t[%ld]:%s", bi_nbin_size( capital_t), bi_2_hex_char( capital_t)); in compute_sign_challenge_host() 262 bi_2_hex_char( capital_tilde)); in compute_sign_challenge_host() [all …]
|
/netbsd/crypto/external/cpl/trousers/dist/src/tspi/daa/big_integer/ |
H A D | bi.c | 153 printf("%s->array[%d] = %s\n", field, i, bi_2_hex_char(array->array[i])); in dump_bi_array() 206 fprintf( file, "%s # %s [%ld]\n", bi_2_hex_char( bi), name, bi_nbin_size( bi)); in bi_save()
|
/netbsd/crypto/external/cpl/trousers/dist/src/include/daa/ |
H A D | bi.h | 94 fprintf(stderr, "%s=%s [%ld]\n", #field, bi_2_hex_char( field), bi_nbin_size(field));\ 203 char *bi_2_hex_char(const bi_ptr i);
|
H A D | bi_gmp.h | 61 INLINE_DECL char *bi_2_hex_char(const bi_ptr i) { in bi_2_hex_char() function 111 char *value = bi_2_hex_char( i); in bi_2_BIGNUM()
|
H A D | bi_openssl.h | 170 INLINE_DECL char *bi_2_hex_char(const bi_ptr i) { in bi_2_hex_char() function
|
/netbsd/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_platform/ |
H A D | platform.c | 1088 LogDebug("zeta[%ld] = %s", bi_nbin_size( zeta), bi_2_hex_char( zeta)); in Tspi_TPM_DAA_JoinCreateDaaPubKey_internal() 1151 LogDebug("ra[i]=%s size=%d", bi_2_hex_char( ra->array[i]), size_bits); in Tspi_TPM_DAA_JoinCreateDaaPubKey_internal() 1174 LogDebug("calculation UTilde: rv_tilde_prime:%s\n", bi_2_hex_char( rv_tilde_prime)); in Tspi_TPM_DAA_JoinCreateDaaPubKey_internal() 1175 LogDebug("calculation UTilde: n:%s\n", bi_2_hex_char( n)); in Tspi_TPM_DAA_JoinCreateDaaPubKey_internal() 1176 LogDebug("calculation UTilde: product_attributes:%s\n", bi_2_hex_char( product_attributes)); in Tspi_TPM_DAA_JoinCreateDaaPubKey_internal() 1375 LogDebug("sF0 [%ld]:%s", bi_length( s_f0), bi_2_hex_char( s_f0)); in Tspi_TPM_DAA_JoinCreateDaaPubKey_internal() 1376 LogDebug("sF1 [%ld]:%s", bi_length( s_f1), bi_2_hex_char( s_f1)); in Tspi_TPM_DAA_JoinCreateDaaPubKey_internal() 1377 LogDebug("sv_prime [%ld]:%s", bi_length( sv_prime), bi_2_hex_char( sv_prime)); in Tspi_TPM_DAA_JoinCreateDaaPubKey_internal() 1378 LogDebug("sv_tilde_prime [%ld]:%s", bi_length( sv_tilde_prime), bi_2_hex_char( sv_tilde_prime)); in Tspi_TPM_DAA_JoinCreateDaaPubKey_internal() 1734 LogError("\tcapitalZ=%s", bi_2_hex_char( pk_intern->capitalZ)); in Tspi_TPM_DAA_JoinStoreCredential_internal() [all …]
|
H A D | test_join.c | 142 LogDebug("bi=%s", bi_2_hex_char( bi)); in init_key_chain()
|