Home
last modified time | relevance | path

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

/third_party/openssl/test/testutil/
Dformat_output.c270 const BIGNUM *bn1, const BIGNUM *bn2) in test_fail_bignum_common() argument
282 l1 = bn1 == NULL ? 0 : (BN_num_bytes(bn1) + (BN_is_negative(bn1) ? 1 : 0)); in test_fail_bignum_common()
285 if ((bn1 == NULL) == (bn2 == NULL)) { in test_fail_bignum_common()
287 test_bignum_zero_print(bn1, ' '); in test_fail_bignum_common()
291 test_bignum_zero_print(bn1, '-'); in test_fail_bignum_common()
297 if (l1 != l2 || bn1 == NULL || bn2 == NULL || BN_cmp(bn1, bn2) != 0) in test_fail_bignum_common()
309 if (bn1 != NULL) { in test_fail_bignum_common()
311 BN_bn2binpad(bn1, m1, len); in test_fail_bignum_common()
320 n1 = convert_bn_memory(m1, bytes, b1, &lz1, bn1); in test_fail_bignum_common()
338 if (cnt == 0 && bn1 == NULL) in test_fail_bignum_common()
[all …]
Dtu_local.h36 const BIGNUM *bn1, const BIGNUM *bn2);
/third_party/openssl/test/
Dkeymgmt_internal_test.c147 BIGNUM *bn1 = NULL, *bn2 = NULL, *bn3 = NULL; in test_pass_rsa() local
180 if (!TEST_ptr(bn1 = BN_new()) in test_pass_rsa()
181 || !TEST_true(BN_set_word(bn1, expected[N])) in test_pass_rsa()
186 || !TEST_true(RSA_set0_key(rsa, bn1, bn2, bn3))) in test_pass_rsa()
189 if (!TEST_ptr(bn1 = BN_new()) in test_pass_rsa()
190 || !TEST_true(BN_set_word(bn1, expected[P])) in test_pass_rsa()
193 || !TEST_true(RSA_set0_factors(rsa, bn1, bn2))) in test_pass_rsa()
196 if (!TEST_ptr(bn1 = BN_new()) in test_pass_rsa()
197 || !TEST_true(BN_set_word(bn1, expected[DP])) in test_pass_rsa()
202 || !TEST_true(RSA_set0_crt_params(rsa, bn1, bn2, bn3))) in test_pass_rsa()
[all …]
/third_party/ltp/testcases/kernel/controllers/cpuctl_fj/
Drun_cpuctl_test_fj.sh99 top -bn1 -p $1 | sed -n "8p" | awk '{ print $9 }' | awk -F. '{ print $1 }'