Home
last modified time | relevance | path

Searched refs:compare (Results 1 – 25 of 34) sorted by relevance

12

/openssl/test/recipes/
H A D15-test_pkey.t43 is(compare($in_key, $decrypted_key), 0,
64 is(compare($in_key, $inout), 0,
78 is(compare($in_pubkey, $pub_out1), 0,
84 is(compare($in_pubkey, $pub_out2), 0,
90 is(compare($in_pubkey, $pub_out3), 0,
111 is(compare($in_key, $pem_out), 0,
H A D80-test_ocsp.t242 ok(!compare($inout1, $backup1), "copied request $inout1 did not change");
248 ok(!compare($inout2, $backup2), "copied response $inout2 did not change");
H A D20-test_pkeyutl.t252 is(compare("secret.bin", "decap_out.bin"), 0, "Secret is correctly decapsulated");
260 is(compare(srctop_file('test', 'encap_secret.bin'), "decap_out_etl.bin"), 0,
H A D15-test_dsaparam.t87 ok(!compare($input, $inout), "converted file $inout did not change");
H A D25-test_pkcs8.t31 is(compare($pc5_key, $inout), 0,
H A D15-test_ecparam.t76 ok(!compare($inout, $backup), "converted file $inout did not change");
H A D20-test_dhparam.t224 ok(!compare($input, $inout), "converted file $inout did not change");
H A D80-test_tsa.t181 is(compare($RESPONSE2, "resp2.tsr"), 0);
/openssl/ssl/
H A Dpriority_queue.c52 int (*compare)(const void *, const void *); member
161 if (pq->compare(h[n].data, h[p].data) >= 0) in pqueue_move_down()
181 if (pq->compare(h[p].data, h[p + 1].data) > 0) in pqueue_move_up()
184 while (pq->htop > p && pq->compare(h[p].data, h[n].data) < 0) { in pqueue_move_up()
191 if (pq->compare(h[p].data, h[p + 1].data) > 0) in pqueue_move_up()
328 OSSL_PQUEUE *ossl_pqueue_new(int (*compare)(const void *, const void *)) in ossl_pqueue_new()
332 if (compare == NULL) in ossl_pqueue_new()
338 pq->compare = compare; in ossl_pqueue_new()
/openssl/include/internal/
H A Dpriority_queue.h22 ossl_pqueue_##type##_new(int (*compare)(const ctype *, const ctype *)) \
25 (int (*)(const void *, const void *))compare); \
77 OSSL_PQUEUE *ossl_pqueue_new(int (*compare)(const void *, const void *));
/openssl/crypto/property/
H A Dproperty_query.c14 static int property_idx_cmp(const void *keyp, const void *compare) in property_idx_cmp() argument
18 (const OSSL_PROPERTY_DEFINITION *)compare; in property_idx_cmp()
/openssl/include/openssl/
H A Dsafestack.h.in80 static ossl_unused ossl_inline STACK_OF(t1) *sk_##t1##_new(sk_##t1##_compfunc compare) \
82 return (STACK_OF(t1) *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare); \
88 …static ossl_unused ossl_inline STACK_OF(t1) *sk_##t1##_new_reserve(sk_##t1##_compfunc compare, int…
90 return (STACK_OF(t1) *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); \
173 …sl_inline sk_##t1##_compfunc sk_##t1##_set_cmp_func(STACK_OF(t1) *sk, sk_##t1##_compfunc compare) \
175 …n (sk_##t1##_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); \
/openssl/ssl/quic/
H A Dquic_cfq.c84 static int compare(const QUIC_CFQ_ITEM_EX *a, const QUIC_CFQ_ITEM_EX *b) in compare() function
256 list_insert_sorted(&cfq->new_list, item, compare); in ossl_quic_cfq_add_frame()
293 list_insert_sorted(&cfq->new_list, ex, compare); in ossl_quic_cfq_mark_lost()
300 list_insert_sorted(&cfq->new_list, ex, compare); in ossl_quic_cfq_mark_lost()
H A Dquic_txpim.c186 static int compare(const void *a, const void *b) in compare() function
212 qsort(ex->chunks, ex->num_chunks, sizeof(QUIC_TXPIM_CHUNK), compare); in ossl_quic_txpim_pkt_get_chunks()
/openssl/doc/internal/man3/
H A DDEFINE_PRIORITY_QUEUE_OF.pod24 PRIORITY_QUEUE_OF(type) *ossl_pqueue_TYPE_new(int (*compare)(const type *,
55 comparison function I<compare>. It is an error for I<compare> to be NULL.
56 The I<compare> function is called to order two elements, it should return
/openssl/doc/man3/
H A DX509_cmp.pod8 - compare X509 certificates and related values
24 This set of functions are used to compare X509 objects, including X509
45 are effectively wrappers of the X509_NAME_cmp() function. These functions compare
H A DDEFINE_STACK_OF.pod41 STACK_OF(TYPE) *sk_TYPE_new(sk_TYPE_compfunc compare);
65 sk_TYPE_compfunc compare));
66 STACK_OF(TYPE) *sk_TYPE_new_reserve(sk_TYPE_compfunc compare, int n);
110 I<compare>. If I<compare> is NULL then no comparison function is used. This
111 function is equivalent to B<sk_I<TYPE>_new_reserve>(I<compare>, 0).
127 B<sk_I<TYPE>_new_reserve>() also sets the comparison function I<compare>
128 to the newly created stack. If I<compare> is NULL then no comparison
132 I<compare>. The previous comparison function is returned or NULL if there
180 compare the values pointed to rather than the pointers themselves and
H A DOPENSSL_LH_COMPFUNC.pod30 LHASH_OF(TYPE) *lh_TYPE_new(OPENSSL_LH_HASHFUNC hash, OPENSSL_LH_COMPFUNC compare);
98 arbitrary data entries, and specifies the 'hash' and 'compare'
103 function returns well mixed low order bits. The I<compare> callback
109 I<compare> callbacks hash/compare these types, then the
115 * Implement the hash and compare functions; "stuff" can be any word.
H A DOPENSSL_strcasecmp.pod5 OPENSSL_strcasecmp, OPENSSL_strncasecmp - compare two strings ignoring case
H A DX509_check_private_key.pod37 They merely compare the public materials (e.g., exponent and modulus of an RSA
H A DERR_GET_LIB.pod35 be sure to also compare the library number.
H A DEVP_PKEY_copy_parameters.pod79 that holds the key, as they will compare what makes sense to them that fits
/openssl/demos/http3/
H A DMakefile7 CFLAGS += -I../../include -g -Wall -Wsign-compare
/openssl/doc/designs/ddd/
H A DMakefile22 CFLAGS = -I../../../include -g -Wall -Wsign-compare
/openssl/.github/workflows/
H A Dos-zoo.yml30 # for the reason why -Wno-sign-compare is needed with clang
33 …EXTRA_CFLAGS: ${{ matrix.cc == 'clang' && '-Wno-sign-compare' || matrix.tag == 'edge' && '-Wno-str…

Completed in 52 milliseconds

12