Searched refs:bn1 (Results 1 - 4 of 4) sorted by relevance

/freebsd-current/crypto/openssl/test/
H A Dkeymgmt_internal_test.c147 BIGNUM *bn1 = NULL, *bn2 = NULL, *bn3 = NULL; local
180 if (!TEST_ptr(bn1 = BN_new())
181 || !TEST_true(BN_set_word(bn1, expected[N]))
186 || !TEST_true(RSA_set0_key(rsa, bn1, bn2, bn3)))
189 if (!TEST_ptr(bn1 = BN_new())
190 || !TEST_true(BN_set_word(bn1, expected[P]))
193 || !TEST_true(RSA_set0_factors(rsa, bn1, bn2)))
196 if (!TEST_ptr(bn1 = BN_new())
197 || !TEST_true(BN_set_word(bn1, expected[DP]))
202 || !TEST_true(RSA_set0_crt_params(rsa, bn1, bn
[all...]
/freebsd-current/crypto/openssl/test/testutil/
H A Dformat_output.c270 const BIGNUM *bn1, const BIGNUM *bn2)
282 l1 = bn1 == NULL ? 0 : (BN_num_bytes(bn1) + (BN_is_negative(bn1) ? 1 : 0));
285 if ((bn1 == NULL) == (bn2 == NULL)) {
287 test_bignum_zero_print(bn1, ' ');
291 test_bignum_zero_print(bn1, '-');
297 if (l1 != l2 || bn1 == NULL || bn2 == NULL || BN_cmp(bn1, bn2) != 0)
309 if (bn1 !
266 test_fail_bignum_common(const char *prefix, const char *file, int line, const char *type, const char *left, const char *right, const char *op, const BIGNUM *bn1, const BIGNUM *bn2) argument
367 test_fail_bignum_message(const char *prefix, const char *file, int line, const char *type, const char *left, const char *right, const char *op, const BIGNUM *bn1, const BIGNUM *bn2) argument
[all...]
H A Dtu_local.h36 const BIGNUM *bn1, const BIGNUM *bn2);
/freebsd-current/crypto/openssh/regress/unittests/sshbuf/
H A Dtest_sshbuf_getput_basic.c39 u_char bn1[] = { 0x00, 0x00, 0x00 }; local
442 ASSERT_INT_EQ(sshbuf_put_bignum2_bytes(p1, bn1, sizeof(bn1)), 0);

Completed in 76 milliseconds