/openssl/crypto/lhash/ |
H A D | lhash.c | 239 n1 = &(lh->b[p]); in expand() 246 *n1 = (*n1)->next; in expand() 250 n1 = &((*n1)->next); in expand() 251 np = *n1; in expand() 280 n1 = lh->b[(int)lh->p]; in contract() 281 if (n1 == NULL) in contract() 285 n1 = n1->next; in contract() 286 n1->next = np; in contract() 306 for (n1 = *ret; n1 != NULL; n1 = n1->next) { in getrn() 308 ret = &(n1->next); in getrn() [all …]
|
/openssl/test/testutil/ |
H A D | format_output.c | 49 size_t n1, n2, i; in test_fail_string_common() local 72 n1 = n2 = 0; in test_fail_string_common() 86 const size_t j = n1 < n2 ? n1 : n2; in test_fail_string_common() 102 else if (n1 > 0) in test_fail_string_common() 112 m1 += n1; in test_fail_string_common() 115 l1 -= n1; in test_fail_string_common() 434 size_t n1, n2, i; in test_fail_memory_common() local 457 n1 = n2 = 0; in test_fail_memory_common() 471 const size_t j = n1 < n2 ? n1 : n2; in test_fail_memory_common() 503 m1 += n1; in test_fail_memory_common() [all …]
|
H A D | tests.c | 307 const char *s1, size_t n1, const char *s2, size_t n2) in test_strn_eq() argument 311 if (n1 != n2 || s1 == NULL || s2 == NULL || strncmp(s1, s2, n1) != 0) { in test_strn_eq() 321 const char *s1, size_t n1, const char *s2, size_t n2) in test_strn_ne() argument 325 if (n1 != n2 || s1 == NULL || strncmp(s1, s2, n1) == 0) { in test_strn_ne() 335 const void *s1, size_t n1, const void *s2, size_t n2) in test_mem_eq() argument 339 if (n1 != n2 || s1 == NULL || s2 == NULL || memcmp(s1, s2, n1) != 0) { in test_mem_eq() 341 s1, n1, s2, n2); in test_mem_eq() 348 const void *s1, size_t n1, const void *s2, size_t n2) in test_mem_ne() argument 352 if (n1 != n2) in test_mem_ne() 354 if (s1 == NULL || memcmp(s1, s2, n1) == 0) { in test_mem_ne() [all …]
|
/openssl/ms/ |
H A D | cmp.pl | 20 $n1=sysread(IN0,$b1,4096); 23 last if ($n1 != $n2); 25 last if ($n1 < 0); 26 if ($n1 == 0) 31 $tot+=$n1; 49 $nm=$tot+$n1;
|
/openssl/crypto/idea/ |
H A D | i_skey.c | 93 long n1, n2, q, r, b1, b2, t; in inverse() local 98 n1 = 0x10001; in inverse() 104 r = (n1 % n2); in inverse() 105 q = (n1 - r) / n2; in inverse() 110 n1 = n2; in inverse()
|
/openssl/crypto/bn/ |
H A D | bn_div.c | 174 # define bn_div_words(n0,n1,d0) \ argument 178 : "a"(n1), "d"(n0), "r"(d0) \ 188 # define bn_div_words(n0,n1,d0) \ argument 192 : "a"(n1), "d"(n0), "r"(d0) \ 348 BN_ULONG n0, n1, rem = 0; in bn_div_fixed_top() local 351 n1 = wnumtop[-1]; in bn_div_fixed_top() 360 q = (BN_ULONG)(((((BN_ULLONG) n0) << BN_BITS2) | n1) / d0); in bn_div_fixed_top() 362 q = bn_div_words(n0, n1, d0); in bn_div_fixed_top() 370 rem = (n1 - q * d0) & BN_MASK2; in bn_div_fixed_top() 386 q = bn_div_words(n0, n1, d0); in bn_div_fixed_top() [all …]
|
/openssl/crypto/ec/ |
H A D | ecp_smpl.c | 643 n1 = BN_CTX_get(ctx); in ossl_ec_GFp_simple_add() 660 if (!BN_copy(n1, a->X)) in ossl_ec_GFp_simple_add() 703 if (!BN_mod_sub_quick(n5, n1, n3, p)) in ossl_ec_GFp_simple_add() 727 if (!BN_mod_add_quick(n1, n1, n3, p)) in ossl_ec_GFp_simple_add() 780 if (!BN_mod_sub_quick(n0, n0, n1, p)) in ossl_ec_GFp_simple_add() 806 BIGNUM *n0, *n1, *n2, *n3; in ossl_ec_GFp_simple_dbl() local 827 n1 = BN_CTX_get(ctx); in ossl_ec_GFp_simple_dbl() 861 if (!BN_mod_add_quick(n1, n0, n1, p)) in ossl_ec_GFp_simple_dbl() 876 if (!field_sqr(group, n1, n1, ctx)) in ossl_ec_GFp_simple_dbl() 878 if (!field_mul(group, n1, n1, group->a, ctx)) in ossl_ec_GFp_simple_dbl() [all …]
|
/openssl/test/ |
H A D | cms-examples.pl | 347 $n1 = sysread $fp1, $rd1, 4096; 349 last if ( $n1 != $n2 ); 352 if ( $n1 == 0 ) {
|
H A D | ectest.c | 41 BIGNUM *n1 = NULL, *n2 = NULL, *order = NULL; in group_order_tests() local 47 if (!TEST_ptr(n1 = BN_new()) in group_order_tests() 67 || !TEST_true(BN_one(n1)) in group_order_tests() 70 || !TEST_true(BN_sub(n1, order, n1)) in group_order_tests() 82 if (!TEST_true(BN_set_word(n1, i)) in group_order_tests() 89 || !TEST_true(BN_one(n1)) in group_order_tests() 91 || !TEST_true(BN_sub(n1, n1, order)) in group_order_tests() 125 scalars[0] = n1; in group_order_tests() 129 scalars[2] = n1; in group_order_tests() 133 scalars[4] = n1; in group_order_tests() [all …]
|
/openssl/crypto/objects/ |
H A D | o_names.c | 322 const OBJ_NAME *const *n1 = n1_; in do_all_sorted_cmp() local 325 return strcmp((*n1)->name, (*n2)->name); in do_all_sorted_cmp()
|
/openssl/crypto/bn/asm/ |
H A D | ppc64-mont.pl | 135 $n1="r20"; 319 mr $n1,$n0 324 lwz $n0,0($n1) ; pull n0[0,1] value 325 lwz $n1,4($n1) 346 mullw $t3,$t4,$n1 961 mullw $t3,$t4,$n1
|
/openssl/test/recipes/04-test_pem_reading_data/ |
H A D | dsa-threecolumn.pem | 96 +n1
|
/openssl/ |
H A D | CHANGES.md | 16363 equal (it gave wrong results if `(rem=(n1-q*d0)&BN_MASK2) < d0)`.
|