Home
last modified time | relevance | path

Searched refs:BN_add_word (Results 1 – 25 of 29) sorted by relevance

12

/openssl/doc/man3/
H A DBN_add_word.pod5 BN_add_word, BN_sub_word, BN_mul_word, BN_div_word, BN_mod_word - arithmetic
12 int BN_add_word(BIGNUM *a, BN_ULONG w);
28 BN_add_word() adds B<w> to B<a> (C<a+=w>).
42 BN_add_word(), BN_sub_word() and BN_mul_word() return 1 for success, 0
H A DBN_add.pod134 L<BN_add_word(3)>, L<BN_set_bit(3)>
/openssl/test/
H A Drsa_sp800_56b_test.c450 && TEST_true(BN_add_word(e, 1)) in test_invalid_keypair()
458 && TEST_true(BN_add_word(n, 1)) in test_invalid_keypair()
469 && TEST_true(BN_add_word(p, 2)) in test_invalid_keypair()
475 && TEST_true(BN_add_word(q, 2)) in test_invalid_keypair()
557 && TEST_true(BN_add_word(n, 1)) in test_check_public_key()
565 && TEST_true(BN_add_word(e, 1)) in test_check_public_key()
569 && TEST_true(BN_add_word(n, 2)) in test_check_public_key()
H A Dffc_internal_test.c215 BN_add_word(g1, 1); in ffc_params_validate_g_unverified_test()
475 if (!TEST_true(BN_add_word(pub, 2))) in ffc_public_validate_test()
H A Dectest.c1529 || !TEST_true(BN_add_word(other_order, 1)) in check_named_curve_test()
1531 || !TEST_true(BN_add_word(other_a, 1)) in check_named_curve_test()
1533 || !TEST_true(BN_add_word(other_b, 1)) in check_named_curve_test()
1535 || !TEST_true(BN_add_word(other_cofactor, 1))) in check_named_curve_test()
1866 || !TEST_true(BN_add_word(other_order, 1)) in check_named_curve_from_ecparameters()
1868 || !TEST_true(BN_add_word(other_cofactor, 1))) in check_named_curve_from_ecparameters()
H A Ddhtest.c849 || !TEST_int_eq(BN_add_word(qcpy, 2), 1) in dh_get_nid()
H A Dbntest.c254 && TEST_true(BN_add_word(b, i))) in test_sub()
295 && TEST_true(BN_add_word(a, i)))) in test_div_recip()
1187 if (!TEST_true(BN_add_word(r, 1))) in test_kronecker()
1307 || !TEST_true(BN_add_word(ret, b_word)) in file_sum()
/openssl/crypto/bn/
H A Dbn_x931p.c29 if (!BN_is_odd(pi) && !BN_add_word(pi, 1)) in bn_x931_derive_pi()
40 if (!BN_add_word(pi, 2)) in bn_x931_derive_pi()
H A Dbn_word.c98 int BN_add_word(BIGNUM *a, BN_ULONG w) in BN_add_word() function
154 i = BN_add_word(a, w); in BN_sub_word()
H A Dbn_prime.c400 || !BN_add_word(b, 2)) /* 1 < b < w-1 */ in ossl_bn_miller_rabin_is_prime()
529 if (!BN_add_word(rnd, delta)) in probable_prime()
573 if (!BN_add_word(rnd, safe ? 3u : 1u)) in probable_prime_dh()
609 if (!BN_add_word(rnd, delta)) in probable_prime_dh()
H A Dbn_recp.c152 if (!BN_add_word(d, 1)) in BN_div_recp()
H A Dbn_conv.c246 || !BN_add_word(ret, l)) in BN_dec2bn()
H A Dbn_sqrt.c99 if (!BN_add_word(q, 1)) in BN_mod_sqrt()
H A Dbn_rsa_fips186_4.c156 if (!BN_add_word(p1, 2)) in bn_rsa_fips186_4_find_aux_prob_prime()
/openssl/crypto/ffc/
H A Dffc_key_generate.c49 || !BN_add_word(priv, 1)) in ossl_ffc_generate_private_key()
H A Dffc_params_generate.c115 if (!BN_add_word(hbn, 1) || BN_cmp(hbn, pm1) >= 0) in generate_unverifiable_g()
/openssl/crypto/asn1/
H A Da_object.c110 || !BN_add_word(bl, c - '0')) in a2d_ASN1_OBJECT()
121 if (!BN_add_word(bl, first * 40)) in a2d_ASN1_OBJECT()
/openssl/crypto/
H A Dparams_from_text.c74 && !BN_add_word(*tmpbn, 1)) { in prepare_from_text()
/openssl/apps/lib/
H A Dtlssrp_depr.c41 BN_add_word(r, 1) && BN_cmp(r, N) == 0; in srp_Verify_N_and_g()
/openssl/providers/implementations/kem/
H A Drsa_kem.c266 && BN_add_word(z, 2) in rsasve_gen_rand_bytes()
/openssl/crypto/x509/
H A Dv3_asid.c312 !BN_add_word(bn, 1)) { in ASIdentifierChoice_is_canonical()
433 !BN_add_word(bn, 1)) { in ASIdentifierChoice_canonize()
/openssl/apps/
H A Dca.c942 if (!BN_add_word(serial, 1)) in ca_main()
963 if (!BN_add_word(serial, 1)) in ca_main()
983 if (!BN_add_word(serial, 1)) in ca_main()
1004 if (!BN_add_word(serial, 1)) { in ca_main()
1238 if (!BN_add_word(crlnumber, 1)) in ca_main()
H A Dx509.c969 if (!BN_add_word(bnser, 1) in x509_main()
1159 if (!BN_add_word(serial, 1)) { in x509_load_serial()
/openssl/crypto/objects/
H A Dobj_dat.c530 if (!BN_add_word(bl, c & 0x7f)) in OBJ_obj2txt()
/openssl/include/openssl/
H A Dbn.h299 int BN_add_word(BIGNUM *a, BN_ULONG w);

Completed in 96 milliseconds

12