Searched refs:lh (Results 1 – 11 of 11) sorted by relevance
/openssl/crypto/lhash/ |
H A D | lhash.c | 60 return lh; in OPENSSL_LH_set_thunks() 124 if ((lh->up_load <= (lh->num_items * LH_LOAD_MULT / lh->num_nodes)) && !expand(lh)) in OPENSSL_LH_insert() 167 (lh->down_load >= (lh->num_items * LH_LOAD_MULT / lh->num_nodes))) in OPENSSL_LH_delete() 291 np = lh->b[lh->p + lh->pmax - 1]; in contract() 292 lh->b[lh->p + lh->pmax - 1] = NULL; /* 24/07-92 - eay - weird but :-( */ in contract() 304 lh->p = lh->pmax - 1; in contract() 310 n1 = lh->b[(int)lh->p]; in contract() 312 lh->b[(int)lh->p] = np; in contract() 327 hash = lh->hashw(data, lh->hash); in getrn() 345 if (lh->compw(n1->data, data, lh->comp) == 0) in getrn() [all …]
|
H A D | lh_stats.c | 27 void OPENSSL_LH_stats(const OPENSSL_LHASH *lh, FILE *fp) in OPENSSL_LH_stats() argument 35 OPENSSL_LH_stats_bio(lh, bp); in OPENSSL_LH_stats() 39 void OPENSSL_LH_node_stats(const OPENSSL_LHASH *lh, FILE *fp) in OPENSSL_LH_node_stats() argument 47 OPENSSL_LH_node_stats_bio(lh, bp); in OPENSSL_LH_node_stats() 59 OPENSSL_LH_node_usage_stats_bio(lh, bp); in OPENSSL_LH_node_usage_stats() 71 void OPENSSL_LH_stats_bio(const OPENSSL_LHASH *lh, BIO *out) in OPENSSL_LH_stats_bio() argument 96 for (i = 0; i < lh->num_nodes; i++) { in OPENSSL_LH_node_stats_bio() 97 for (n = lh->b[i], num = 0; n != NULL; n = n->next) in OPENSSL_LH_node_stats_bio() 110 for (i = 0; i < lh->num_nodes; i++) { in OPENSSL_LH_node_usage_stats_bio() 123 (int)(total / lh->num_nodes), in OPENSSL_LH_node_usage_stats_bio() [all …]
|
/openssl/include/openssl/ |
H A D | lhash.h.in | 89 int OPENSSL_LH_error(OPENSSL_LHASH *lh); 96 void OPENSSL_LH_free(OPENSSL_LHASH *lh); 97 void OPENSSL_LH_flush(OPENSSL_LHASH *lh); 102 void OPENSSL_LH_doall_arg(OPENSSL_LHASH *lh, 194 return (const OPENSSL_LHASH *)lh; \ 199 return (OPENSSL_LHASH *)lh; \ 255 lh_##type##_free(LHASH_OF(type) *lh) \ 257 OPENSSL_LH_free((OPENSSL_LHASH *)lh); \ 260 lh_##type##_flush(LHASH_OF(type) *lh) \ 280 lh_##type##_error(LHASH_OF(type) *lh) \ [all …]
|
/openssl/util/perl/OpenSSL/ |
H A D | ParseC.pm | 306 static ossl_inline void lh_$1_free(LHASH_OF($1) *lh); 307 static ossl_inline $1 *lh_$1_insert(LHASH_OF($1) *lh, $1 *d); 308 static ossl_inline $1 *lh_$1_delete(LHASH_OF($1) *lh, const $1 *d); 309 static ossl_inline $1 *lh_$1_retrieve(LHASH_OF($1) *lh, const $1 *d); 310 static ossl_inline int lh_$1_error(LHASH_OF($1) *lh); 311 static ossl_inline unsigned long lh_$1_num_items(LHASH_OF($1) *lh); 312 static ossl_inline void lh_$1_node_stats_bio(const LHASH_OF($1) *lh, BIO *out); 313 static ossl_inline void lh_$1_node_usage_stats_bio(const LHASH_OF($1) *lh, 315 static ossl_inline void lh_$1_stats_bio(const LHASH_OF($1) *lh, BIO *out); 316 static ossl_inline unsigned long lh_$1_get_down_load(LHASH_OF($1) *lh); [all …]
|
/openssl/crypto/ec/ |
H A D | ec2_smpl.c | 512 BIGNUM *lh, *y2; in ossl_ec_GF2m_simple_is_on_curve() local 540 lh = BN_CTX_get(ctx); in ossl_ec_GF2m_simple_is_on_curve() 541 if (lh == NULL) in ossl_ec_GF2m_simple_is_on_curve() 550 if (!BN_GF2m_add(lh, point->X, group->a)) in ossl_ec_GF2m_simple_is_on_curve() 552 if (!field_mul(group, lh, lh, point->X, ctx)) in ossl_ec_GF2m_simple_is_on_curve() 554 if (!BN_GF2m_add(lh, lh, point->Y)) in ossl_ec_GF2m_simple_is_on_curve() 556 if (!field_mul(group, lh, lh, point->X, ctx)) in ossl_ec_GF2m_simple_is_on_curve() 558 if (!BN_GF2m_add(lh, lh, group->b)) in ossl_ec_GF2m_simple_is_on_curve() 562 if (!BN_GF2m_add(lh, lh, y2)) in ossl_ec_GF2m_simple_is_on_curve() 564 ret = BN_is_zero(lh); in ossl_ec_GF2m_simple_is_on_curve()
|
/openssl/doc/man3/ |
H A D | OPENSSL_LH_COMPFUNC.pod | 33 OPENSSL_LHASH *OPENSSL_LH_set_thunks(OPENSSL_LHASH *lh, 46 void OPENSSL_LH_doall_arg_thunk(OPENSSL_LHASH *lh, 50 unsigned long lh_TYPE_num_items(OPENSSL_LHASH *lh); 51 unsigned long lh_TYPE_get_down_load(OPENSSL_LHASH *lh); 62 void OPENSSL_LH_free(OPENSSL_LHASH *lh); 63 void OPENSSL_LH_flush(OPENSSL_LHASH *lh); 65 void *OPENSSL_LH_insert(OPENSSL_LHASH *lh, void *data); 66 void *OPENSSL_LH_delete(OPENSSL_LHASH *lh, const void *data); 72 unsigned long OPENSSL_LH_num_items(OPENSSL_LHASH *lh); 73 unsigned long OPENSSL_LH_get_down_load(OPENSSL_LHASH *lh); [all …]
|
/openssl/crypto/txt_db/ |
H A D | txt_db.c | 131 LHASH_OF(OPENSSL_STRING) *lh; in TXT_DB_get_by_index() 137 lh = db->index[idx]; in TXT_DB_get_by_index() 138 if (lh == NULL) { in TXT_DB_get_by_index() 142 ret = lh_OPENSSL_STRING_retrieve(lh, value); in TXT_DB_get_by_index()
|
/openssl/crypto/engine/ |
H A D | eng_table.c | 67 LHASH_OF(ENGINE_PILE) *lh; in int_table_check() 73 if ((lh = lh_ENGINE_PILE_new(engine_pile_hash, engine_pile_cmp)) == NULL) in int_table_check() 75 *t = (ENGINE_TABLE *)lh; in int_table_check()
|
/openssl/test/certs/ |
H A D | ee-codesign-crlsign.pem | 16 tGsQgkOAhOTKbldM9N66z+IqZJ3zXmmkrSVw45qDB50QpmaCJza1expIMderN/lh
|
/openssl/ssl/quic/ |
H A D | quic_srtm.c | 100 static int srtm_check_lh(QUIC_SRTM *srtm, LHASH_OF(SRTM_ITEM) *lh) in srtm_check_lh() argument 102 if (lh_SRTM_ITEM_error(lh)) { in srtm_check_lh()
|
/openssl/test/ |
H A D | quic_multistream_test.c | 470 static void helper_cleanup_streams(LHASH_OF(STREAM_INFO) **lh) in helper_cleanup_streams() argument 472 if (*lh == NULL) in helper_cleanup_streams() 475 lh_STREAM_INFO_doall(*lh, cleanup_stream); in helper_cleanup_streams() 476 lh_STREAM_INFO_free(*lh); in helper_cleanup_streams() 477 *lh = NULL; in helper_cleanup_streams() 877 static STREAM_INFO *get_stream_info(LHASH_OF(STREAM_INFO) *lh, in get_stream_info() argument 889 info = lh_STREAM_INFO_retrieve(lh, &key); in get_stream_info() 897 lh_STREAM_INFO_insert(lh, info); in get_stream_info()
|
Completed in 110 milliseconds