Home
last modified time | relevance | path

Searched refs:bi_shift_left (Results 1 – 10 of 10) sorted by relevance

/netbsd/crypto/external/cpl/trousers/dist/src/tspi/daa/big_integer/test/
H A Dtest.c206 bi_shift_left(n, n, 10); in main()
209 …printf("(1 << 10) >> 5 = %s\n", bi_2_dec_char( bi_shift_right(bi_tmp, bi_shift_left(bi_tmp1, n, 10… in main()
211 … = (2^10) / (2^5) -> %s\n", bi_2_dec_char( bi_shift_right( bi_tmp, ( bi_shift_left( bi_tmp1, n, 1… in main()
214 printf(" (1<<5) = %s\n", bi_2_dec_char( bi_shift_left( bi_tmp, bi_set_as_si( bi_tmp1, 1), 5))); in main()
221 …> 5 = (2^10) / (1<<5) -> %d\n", bi_equals( bi_shift_right( bi_tmp, ( bi_shift_left( bi_tmp1, bi_1… in main()
271 …printf("result-> 1<<20:%s\n", bi_2_dec_char( bi_shift_left( result->array[0], result->array[0], 20… in main()
/netbsd/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_issuer/
H A Dprime_gen.c185 bi_shift_left(_2_power_t, bi_1, t); in is_miller_rabin_witness()
229 bi_shift_left(result, result, 1); // result := result << 1 in compute_trivial_safe_prime()
297 bi_shift_left(p, p_dash, 1); in compute_safe_prime()
H A Dkey_correctness_proof.c253 if( bi_cmp( n, bi_shift_left( tmp1, bi_1, DAA_PARAM_SIZE_RSA_MODULUS)) in is_pk_correct()
261 if( bi_cmp( n, bi_shift_left( tmp1, bi_1, DAA_PARAM_SIZE_RSA_MODULUS - 1 )) in is_pk_correct()
H A Dissue_credential.c487 bi_shift_left( exp, sf1, DAA_PARAM_SIZE_F_I); in Tspi_DAA_IssueCredential_internal()
619 bi_shift_left( tmp1, bi_1, DAA_PARAM_SIZE_RND_VALUE_CERTIFICATE - 1); in Tspi_DAA_IssueCredential_internal()
/netbsd/crypto/external/cpl/trousers/dist/src/include/daa/
H A Dbi.h258 bi_ptr bi_shift_left( bi_ptr result, const bi_ptr i, const int n);
H A Dbi_gmp.h226 INLINE_DECL bi_ptr bi_shift_left( bi_ptr result, const bi_ptr i, const int n) { in bi_shift_left() function
H A Dbi_openssl.h281 INLINE_DECL bi_ptr bi_shift_left( bi_ptr result, const bi_ptr i, const int n) { in bi_shift_left() function
/netbsd/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_verifier/
H A Dverifier_transaction.c539 bi_shift_left( tmp1, c, DAA_PARAM_SIZE_EXPONENT_CERTIFICATE - 1); in Tspi_DAA_VerifySignature_internal()
660 bi_shift_left( tmp1, signature->sF1, DAA_PARAM_SIZE_F_I); in Tspi_DAA_VerifySignature_internal()
/netbsd/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_platform/
H A Dplatform.c1354 bi_shift_left( sv_prime, sv_prime2, DAA_PARAM_SIZE_SPLIT_EXPONENT); in Tspi_TPM_DAA_JoinCreateDaaPubKey_internal()
1742 bi_shift_left( tmp1, bi_1, DAA_PARAM_SIZE_SPLIT_EXPONENT); in Tspi_TPM_DAA_JoinStoreCredential_internal()
1910 bi_shift_left( result, bi_1, DAA_PARAM_SIZE_SPLIT_EXPONENT); in add_splitet()
2461 bi_shift_left( tmp1, bi_1, DAA_PARAM_SIZE_EXPONENT_CERTIFICATE - 1); in Tspi_TPM_DAA_Sign_internal()
/netbsd/crypto/external/cpl/trousers/dist/src/tspi/daa/
H A Ddaa_structs.c432 bi_shift_left( bi_tmp, bi_1, DAA_PARAM_SIZE_SPLIT_EXPONENT); in compute_capitalSprime()