Home
last modified time | relevance | path

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

12

/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); \
H A Dlhash.h.in66 /* Second: "compare" functions */
H A Dui.h.in87 functions takes another buffer to compare the result against.
/openssl/test/recipes/
H A D20-test_pkeyutl.t221 is(compare("secret.bin", "decap_out.bin"), 0, "Secret is correctly decapsulated");
229 is(compare(srctop_file('test', 'encap_secret.bin'), "decap_out_etl.bin"), 0,
H A D80-test_tsa.t181 is(compare($RESPONSE2, "resp2.tsr"), 0);
/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
H A DUI_STRING.pod71 UI_get0_test_string() is used to retrieve the string to compare the
H A DOSSL_STORE_SEARCH.pod121 loader has to decide on a default digest and compare fingerprints
H A DASN1_TIME_set.pod133 The ASN1_TIME_cmp_time_t() and ASN1_UTCTIME_cmp_time_t() functions compare
/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 EXTRA_CFLAGS: ${{ matrix.cc == 'clang' && '-Wno-sign-compare' || '' }}
/openssl/crypto/
H A Dsparccpuid.S216 .word 0xd7e2100a !cas [%o0],%o2,%o3, compare [%o0] with %o2 and swap %o3

Completed in 49 milliseconds

12