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 D | test.c | 206 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 D | prime_gen.c | 185 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 D | key_correctness_proof.c | 253 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 D | issue_credential.c | 487 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 D | bi.h | 258 bi_ptr bi_shift_left( bi_ptr result, const bi_ptr i, const int n);
|
H A D | bi_gmp.h | 226 INLINE_DECL bi_ptr bi_shift_left( bi_ptr result, const bi_ptr i, const int n) { in bi_shift_left() function
|
H A D | bi_openssl.h | 281 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 D | verifier_transaction.c | 539 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 D | platform.c | 1354 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 D | daa_structs.c | 432 bi_shift_left( bi_tmp, bi_1, DAA_PARAM_SIZE_SPLIT_EXPONENT); in compute_capitalSprime()
|