Home
last modified time | relevance | path

Searched refs:delta (Results 1 – 22 of 22) sorted by relevance

/openssl/crypto/
H A Dpunycode.c44 static int adapt(unsigned int delta, unsigned int numpoints, in adapt() argument
49 delta = (firsttime) ? delta / damp : delta / 2; in adapt()
50 delta = delta + delta / numpoints; in adapt()
52 while (delta > ((base - tmin) * tmax) / 2) { in adapt()
53 delta = delta / (base - tmin); in adapt()
57 return k + (((base - tmin + 1) * delta) / (delta + skew)); in adapt()
271 size_t delta = tmpptr != NULL ? (size_t)(tmpptr - inptr) : strlen(inptr); in ossl_a2ulabel() local
274 if (!WPACKET_memcpy(&pkt, inptr, delta)) in ossl_a2ulabel()
279 if (ossl_punycode_decode(inptr + 4, delta - 4, buf, &bufsize) <= 0) { in ossl_a2ulabel()
/openssl/crypto/bn/
H A Dbn_prime.c491 BN_ULONG delta; in probable_prime() local
508 delta = 0; in probable_prime()
518 if (bits <= 31 && delta <= 0x7fffffff in probable_prime()
523 delta += safe ? 4 : 2; in probable_prime()
524 if (delta > maxdelta) in probable_prime()
529 if (!BN_add_word(rnd, delta)) in probable_prime()
551 BN_ULONG delta; in probable_prime_dh() local
593 delta = 0; in probable_prime_dh()
603 delta += BN_get_word(add); in probable_prime_dh()
604 if (delta > maxdelta) in probable_prime_dh()
[all …]
H A Dbn_gcd.c585 int i, j, top, rlen, glen, m, delta = 1, cond = 0, pow2_shifts, ret = 0; in BN_gcd() local
657 cond = ((unsigned int)-delta >> (8 * sizeof(delta) - 1)) & g->d[0] & 1 in BN_gcd()
660 delta = (-cond & -delta) | ((cond - 1) & delta); in BN_gcd()
666 delta++; in BN_gcd()
/openssl/test/
H A Dlhash_test.c348 struct timeval start, end, delta; in test_stress() local
390 timeval_subtract(&delta, &end, &start); in test_stress()
391 TEST_info("lhash stress runs in %ld.%ld seconds", delta.tv_sec, delta.tv_usec); in test_stress()
419 struct timeval start, end, delta; in test_hashtable_stress() local
480 timeval_subtract(&delta, &end, &start); in test_hashtable_stress()
481 TEST_info("hashtable stress runs in %ld.%ld seconds", delta.tv_sec, delta.tv_usec); in test_hashtable_stress()
650 struct timeval start, end, delta; in test_hashtable_multithread() local
699 timeval_subtract(&delta, &end, &start); in test_hashtable_multithread()
700 TEST_info("multithread stress runs 40000 ops in %ld.%ld seconds", delta.tv_sec, delta.tv_usec); in test_hashtable_multithread()
H A Dbio_enc_test.c104 int delta; in do_bio_cipher() local
118 for (len = 0; (delta = BIO_read(b, out + len, i)); ) { in do_bio_cipher()
119 len += delta; in do_bio_cipher()
182 int delta; in do_bio_cipher() local
196 for (len = 0; (delta = BIO_read(b, out + len, i)); ) { in do_bio_cipher()
197 len += delta; in do_bio_cipher()
H A Dbntest.c2371 const double delta = counts[i] - expected; in test_rand_range_single() local
2372 sum += delta * delta; in test_rand_range_single()
/openssl/ssl/quic/
H A Dquic_fc.c201 uint64_t delta; in ossl_quic_rxfc_on_rx_stream_frame() local
216 delta = end - rxfc->hwm; in ossl_quic_rxfc_on_rx_stream_frame()
219 on_rx_controlled_bytes(rxfc, delta); /* result ignored */ in ossl_quic_rxfc_on_rx_stream_frame()
221 on_rx_controlled_bytes(rxfc->parent, delta); /* result ignored */ in ossl_quic_rxfc_on_rx_stream_frame()
H A Dqlog.c385 OSSL_TIME delta = ossl_time_subtract(qlog->event_time, in qlog_event_epilogue() local
388 ossl_json_u64(&qlog->json, ossl_time2ms(delta)); in qlog_event_epilogue()
/openssl/apps/
H A Dcrl.c259 X509_CRL *newcrl, *delta; in crl_main() local
272 delta = X509_CRL_diff(x, newcrl, pkey, digest, 0); in crl_main()
275 if (delta) { in crl_main()
277 x = delta; in crl_main()
/openssl/crypto/thread/arch/
H A Dthread_win.c147 OSSL_TIME now, delta; in determine_timeout() local
156 delta = ossl_time_subtract(deadline, now); in determine_timeout()
158 if (ossl_time_is_zero(delta)) in determine_timeout()
161 ms = ossl_time2ms(delta); in determine_timeout()
/openssl/crypto/x509/
H A Dx509_vfy.c1241 static int check_delta_base(X509_CRL *delta, X509_CRL *base) in check_delta_base() argument
1244 if (delta->base_crl_number == NULL) in check_delta_base()
1251 X509_CRL_get_issuer(delta)) != 0) in check_delta_base()
1259 if (ASN1_INTEGER_cmp(delta->base_crl_number, base->crl_number) > 0) in check_delta_base()
1262 return ASN1_INTEGER_cmp(delta->crl_number, base->crl_number) > 0; in check_delta_base()
1272 X509_CRL *delta; in get_delta_sk() local
1280 delta = sk_X509_CRL_value(crls, i); in get_delta_sk()
1281 if (check_delta_base(delta, base)) { in get_delta_sk()
1282 if (check_crl_time(ctx, delta, 0)) in get_delta_sk()
1284 X509_CRL_up_ref(delta); in get_delta_sk()
[all …]
/openssl/crypto/ec/
H A Decp_nistp224.c822 felem delta, gamma, beta, alpha, ftmp, ftmp2; in point_double() local
829 felem_reduce(delta, tmp); in point_double()
840 felem_diff(ftmp, delta); in point_double()
842 felem_sum(ftmp2, delta); in point_double()
861 felem_sum(delta, gamma); in point_double()
868 felem_diff_128_64(tmp, delta); in point_double()
H A Decp_nistp384.c1006 felem delta, gamma, beta, alpha, ftmp, ftmp2; in point_double() local
1012 felem_square_reduce(delta, z_in); /* delta[i] < 2^56 */ in point_double()
1021 felem_diff64(ftmp, delta); /* ftmp[i] < 2^60 + 2^58 + 2^44 */ in point_double()
1022 felem_sum64(ftmp2, delta); /* ftmp2[i] < 2^59 */ in point_double()
1034 felem_sum64(delta, gamma); /* delta[i] < 2^57 */ in point_double()
1038 felem_diff_128_64(tmp, delta); /* tmp[i] < 2^115 + 2^64 + 2^48 */ in point_double()
H A Decp_nistp521.c1091 felem delta, gamma, beta, alpha, ftmp, ftmp2; in point_double() local
1098 felem_reduce(delta, tmp); /* delta[i] < 2^59 + 2^14 */ in point_double()
1109 felem_diff64(ftmp, delta); in point_double()
1111 felem_sum64(ftmp2, delta); in point_double()
1138 felem_sum64(delta, gamma); in point_double()
1147 felem_diff_128_64(tmp, delta); in point_double()
H A Decp_nistp256.c1110 felem delta, gamma, beta, alpha, ftmp, ftmp2; in point_double() local
1120 felem_reduce(delta, tmp); in point_double()
1135 felem_diff(ftmp, delta); in point_double()
1137 felem_sum(ftmp2, delta); in point_double()
1156 felem_sum(delta, gamma); in point_double()
1163 felem_diff(z_out, delta); in point_double()
/openssl/crypto/ec/curve448/
H A Dcurve448.c587 int32_t delta = odd & mask; in recode_wnaf() local
591 delta -= (1 << (table_bits + 1)); in recode_wnaf()
599 current -= delta * (1 << pos); in recode_wnaf()
601 control[position].addend = delta; in recode_wnaf()
/openssl/doc/man3/
H A DX509_VERIFY_PARAM_set_flags.pod285 If B<X509_V_FLAG_USE_DELTAS> is set delta CRLs (if present) are used to
365 Delta CRL checking is currently primitive. Only a single delta can be used and
/openssl/doc/man1/
H A Dopenssl-ca.pod.in424 in delta CRLs which are not currently implemented.
766 V2 CRL features like delta CRLs are not currently supported.
H A Dopenssl-verification-options.pod348 Enable support for delta CRLs.
/openssl/crypto/err/
H A Dopenssl.txt1829 X509_R_CRL_ALREADY_DELTA:127:crl already delta
/openssl/crypto/objects/
H A Dobjects.txt863 !Cname delta-crl
/openssl/
H A DCHANGES.md7627 * New function X509_CRL_diff to generate a delta CRL from the difference
10349 and search any appropriate delta CRLs available.

Completed in 121 milliseconds