/openssl/crypto/ec/ |
H A D | ec_curve.c | 34 EC_CURVE_DATA h; member 66 EC_CURVE_DATA h; member 104 EC_CURVE_DATA h; member 148 EC_CURVE_DATA h; member 206 EC_CURVE_DATA h; member 238 EC_CURVE_DATA h; member 270 EC_CURVE_DATA h; member 308 EC_CURVE_DATA h; member 346 EC_CURVE_DATA h; member 385 EC_CURVE_DATA h; member [all …]
|
H A D | curve25519.c | 81 h[0] = 0; in fe64_0() 82 h[1] = 0; in fe64_0() 83 h[2] = 0; in fe64_0() 84 h[3] = 0; in fe64_0() 89 h[0] = 1; in fe64_1() 90 h[1] = 0; in fe64_1() 91 h[2] = 0; in fe64_1() 92 h[3] = 0; in fe64_1() 1895 fe_mul(h->X, h->X, sqrtm1); in ge_frombytes_vartime() 1899 fe_neg(h->X, h->X); in ge_frombytes_vartime() [all …]
|
/openssl/test/ |
H A D | quic_txp_test.c | 97 h->cc_method->free(h->cc_data); in helper_cleanup() 127 memset(h, 0, sizeof(*h)); in helper_init() 133 h->qtx_args.bio = h->bio1; in helper_init() 136 if (!TEST_ptr(h->args.qtx = ossl_qtx_new(&h->qtx_args))) in helper_init() 202 h->args.qsm = &h->qsm; in helper_init() 203 h->args.conn_txfc = &h->conn_txfc; in helper_init() 204 h->args.conn_rxfc = &h->conn_rxfc; in helper_init() 207 h->args.cc_method = h->cc_method; in helper_init() 208 h->args.cc_data = h->cc_data; in helper_init() 220 h->qrx_args.demux = h->demux; in helper_init() [all …]
|
H A D | quic_multistream_test.c | 543 h->s = h->s_priv; in s_lock() 633 h->s_priv = h->s = NULL; in helper_cleanup() 685 memset(h, 0, sizeof(*h)); in helper_init() 731 if (!TEST_ptr(h->s_net_bio = h->s_net_bio_own = BIO_new_dgram(h->s_fd, 0))) in helper_init() 760 h->s = h->s_priv; in helper_init() 767 BIO_set_data(h->s_qtf_wbio, h->qtf); in helper_init() 780 if (!TEST_ptr(h->c_net_bio = h->c_net_bio_own = BIO_new_dgram(h->c_fd, 0))) in helper_init() 802 SSL_set0_rbio(h->c_conn, h->c_net_bio); in helper_init() 808 SSL_set0_wbio(h->c_conn, h->c_net_bio); in helper_init() 850 hl->h = h; in helper_local_init() [all …]
|
H A D | quic_ackm_test.c | 62 h->ackm = NULL; in helper_destroy() 67 h->ccdata = NULL; in helper_destroy() 70 if (h->have_statm) { in helper_destroy() 82 h->pkts = NULL; in helper_destroy() 90 memset(h, 0, sizeof(*h)); in helper_init() 98 h->have_statm = 1; in helper_init() 106 h->ackm = ossl_ackm_new(fake_now, NULL, &h->statm, in helper_init() 118 h->pkts = NULL; in helper_init() 339 struct helper h; in test_tx_ack_case_actual() local 519 struct helper h; in test_tx_ack_time_script() local [all …]
|
H A D | json_test.c | 25 if (h->init) in helper_ensure() 31 if (!ossl_json_init(&h->j, h->mem_bio, h->flags)) { in helper_ensure() 33 h->mem_bio = NULL; in helper_ensure() 37 h->init = 1; in helper_ensure() 44 h->mem_bio = NULL; in helper_cleanup() 46 if (h->init) { in helper_cleanup() 48 h->init = 0; in helper_cleanup() 54 helper_cleanup(h); in helper_set_flags() 55 h->flags = flags; in helper_set_flags() 575 f(&h.j); in run_script() [all …]
|
H A D | lhash_test.c | 101 if (!TEST_ptr(h)) in test_int_lhash() 142 lh_int_doall(h, &int_doall); in test_int_lhash() 177 if (!TEST_int_eq(lh_int_error(h), 0)) in test_int_lhash() 182 lh_int_free(h); in test_int_lhash() 351 if (!TEST_ptr(h)) in test_stress() 364 lh_int_insert(h, p); in test_stress() 393 lh_int_free(h); in test_stress() 415 HT *h; in test_hashtable_stress() local 423 h = ossl_ht_new(&hash_conf); in test_hashtable_stress() 426 if (!TEST_ptr(h)) in test_hashtable_stress() [all …]
|
/openssl/util/ |
H A D | fix-includes.sed | 1 s|internal/([a-z0-9_]+)_int\.h|crypto/\1.h|g ; 2 …h|asn1_dsa.h|async.h|bn_conf.h|bn_conf.h|bn_dh.h|bn_srp.h|chacha.h|(aes|des|cmll)_platform.h|ctype… 4 s/_lo?cl\.h/_local.h/g ; 5 s/_int\.h/_local.h/g ; 6 s|openssl/ossl_typ\.h|openssl/types.h|g ;
|
/openssl/ |
H A D | build.info | 53 GENERATE[include/openssl/asn1.h]=include/openssl/asn1.h.in 55 GENERATE[include/openssl/bio.h]=include/openssl/bio.h.in 56 GENERATE[include/openssl/cmp.h]=include/openssl/cmp.h.in 57 GENERATE[include/openssl/cms.h]=include/openssl/cms.h.in 58 GENERATE[include/openssl/conf.h]=include/openssl/conf.h.in 66 GENERATE[include/openssl/ct.h]=include/openssl/ct.h.in 67 GENERATE[include/openssl/err.h]=include/openssl/err.h.in 68 GENERATE[include/openssl/ess.h]=include/openssl/ess.h.in 76 GENERATE[include/openssl/srp.h]=include/openssl/srp.h.in 77 GENERATE[include/openssl/ssl.h]=include/openssl/ssl.h.in [all …]
|
H A D | .gitignore | 31 /crypto/buildinf.h 33 /include/openssl/asn1.h 35 /include/openssl/bio.h 36 /include/openssl/cmp.h 37 /include/openssl/cms.h 38 /include/openssl/comp.h 43 /include/openssl/ct.h 44 /include/openssl/err.h 45 /include/openssl/ess.h 55 /include/openssl/ui.h [all …]
|
/openssl/crypto/err/ |
H A D | openssl.ec | 7 L BN include/openssl/bnerr.h crypto/bn/bn_err.c include/cry… 8 L RSA include/openssl/rsaerr.h crypto/rsa/rsa_err.c include/cry… 9 L DH include/openssl/dherr.h crypto/dh/dh_err.c include/cry… 10 L EVP include/openssl/evperr.h crypto/evp/evp_err.c include/cry… 11 …BUF include/openssl/buffererr.h crypto/buffer/buf_err.c include/cryp… 13 L PEM include/openssl/pemerr.h crypto/pem/pem_err.c include/cry… 14 L DSA include/openssl/dsaerr.h crypto/dsa/dsa_err.c include/cry… 15 L X509 include/openssl/x509err.h crypto/x509/x509_err.c include/cry… 16 L ASN1 include/openssl/asn1err.h crypto/asn1/asn1_err.c include/cry… 19 L EC include/openssl/ecerr.h crypto/ec/ec_err.c include/cry… [all …]
|
/openssl/crypto/sha/ |
H A D | sha256.c | 30 c->h[0] = 0xc1059ed8UL; in SHA224_Init() 222 a = ctx->h[0]; in sha256_block_data_order() 223 b = ctx->h[1]; in sha256_block_data_order() 224 c = ctx->h[2]; in sha256_block_data_order() 225 d = ctx->h[3]; in sha256_block_data_order() 229 h = ctx->h[7]; in sha256_block_data_order() 236 h = g; in sha256_block_data_order() 255 h = g; in sha256_block_data_order() 272 ctx->h[7] += h; in sha256_block_data_order() 312 h = ctx->h[7]; in sha256_block_data_order_c() [all …]
|
H A D | sha512.c | 612 A = ctx->h[0]; in sha512_block_data_order() 616 E = ctx->h[4]; in sha512_block_data_order() 673 a = ctx->h[0]; in sha512_block_data_order() 674 b = ctx->h[1]; in sha512_block_data_order() 675 c = ctx->h[2]; in sha512_block_data_order() 680 h = ctx->h[7]; in sha512_block_data_order() 690 h = g; in sha512_block_data_order() 709 h = g; in sha512_block_data_order() 726 ctx->h[7] += h; in sha512_block_data_order() 765 h = ctx->h[7]; in sha512_block_data_order_c() [all …]
|
/openssl/providers/ |
H A D | fips.module.sources | 4 crypto/aes/aes_local.h 97 crypto/bn/bn_local.h 104 crypto/bn/bn_prime.h 113 crypto/bn/rsaz_exp.h 128 crypto/des/des_local.h 133 crypto/des/spr.h 141 crypto/dh/dh_local.h 187 crypto/ec/ec_local.h 390 include/crypto/bn.h 399 include/crypto/dh.h [all …]
|
H A D | fips-sources.checksums | 4 c1e674d08683a25bc053f6233f73a0d0b3a90aafe591ff57b702c7da1582e4a5 crypto/aes/aes_local.h 97 d5beb9fbac2ff5dc3ccbdfa4d1aabca7225c778cff4e3b05b6d6c63e182637f5 crypto/bn/bn_local.h 104 c56ad3073108a0de21c5820a48beae2bccdbf5aa8075ec21738878222eb9adc3 crypto/bn/bn_prime.h 113 c4d64da1cdc732ea918fccd6a7bb2746b03365dd26f7ba1e74e08c307ca4c58e crypto/bn/rsaz_exp.h 128 3c5e1c156ebc771701f0adbcfcd099d700796255991c1bf79bd2ca78fc009c87 crypto/des/des_local.h 133 8344811b14d151f6cd40a7bc45c8f4a1106252b119c1d5e6a589a023f39b107d crypto/des/spr.h 141 8300775d88db0a1aa26a77eb49d6c4f7252e7fee69e1440de4c40edadc9da044 crypto/dh/dh_local.h 187 9f86576ca885dd5523879dfdf928c5781bd13d2dbe626a90a785d04184c7a8bc crypto/ec/ec_local.h 390 27915b72146dba69906c5727eab174e01c2edc3c74526a57b45d4ddf49b5adb7 include/crypto/bn.h 399 daf508bb7ed5783f1c8c622f0c230e179244dd3f584e1223a19ab95930fbcb4f include/crypto/dh.h [all …]
|
/openssl/crypto/hashtable/ |
H A D | hashtable.c | 321 h->wpd.need_sync = 1; in ossl_ht_flush_internal() 325 int ossl_ht_flush(HT *h) in ossl_ht_flush() argument 330 void ossl_ht_free(HT *h) in ossl_ht_free() argument 332 if (h == NULL) in ossl_ht_free() 342 OPENSSL_free(h->md); in ossl_ht_free() 343 OPENSSL_free(h); in ossl_ht_free() 499 h->wpd.need_sync = 1; in grow_hashtable() 523 OPENSSL_free(h); in free_old_ht_value() 599 h->wpd.value_count++; in ossl_ht_insert_locked() 620 tmp->ht = h; in alloc_new_value() [all …]
|
/openssl/ssl/quic/ |
H A D | quic_txp.c | 224 h->txp = NULL; in tx_helper_cleanup() 250 struct txp_el *el = &h->txp->el[h->enc_level]; in tx_helper_append_iovec() 264 ++h->num_iovec; in tx_helper_append_iovec() 275 - (h->reserve_allowed ? 0 : h->reserve) - h->bytes_appended; in tx_helper_get_space_left() 289 struct txp_el *el = &h->txp->el[h->enc_level]; in tx_helper_begin() 350 if (!tx_helper_append_iovec(h, h->txn.data, l)) { in tx_helper_commit() 1828 struct tx_helper *h = &pkt->h; in txp_generate_pre_token() local 2042 struct tx_helper *h = &pkt->h; in txp_generate_crypto_frames() local 2198 struct tx_helper *h = &pkt->h; in txp_generate_stream_frames() local 2408 struct tx_helper *h = &pkt->h; in txp_generate_stream_related() local [all …]
|
H A D | quic_ackm.c | 81 h->watermark = 0; in tx_pkt_history_init() 82 h->highest_sent = 0; in tx_pkt_history_init() 85 if (h->map == NULL) in tx_pkt_history_init() 95 h->map = NULL; in tx_pkt_history_destroy() 136 h->highest_sent = pkt->pkt_num; in tx_pkt_history_add() 404 ossl_uint_set_init(&h->set); in rx_pkt_history_init() 405 h->watermark = 0; in rx_pkt_history_init() 448 if (pn < h->watermark) in rx_pkt_history_add_pn() 472 h->watermark = watermark; in rx_pkt_history_bump_watermark() 674 struct tx_pkt_history_st *h; in ackm_detect_and_remove_newly_acked_pkts() local [all …]
|
/openssl/crypto/poly1305/ |
H A D | poly1305.c | 103 u64 h[3]; member 138 st->h[0] = 0; in poly1305_init() 139 st->h[1] = 0; in poly1305_init() 140 st->h[2] = 0; in poly1305_init() 161 h0 = st->h[0]; in poly1305_blocks() 258 u32 h[5]; member 276 st->h[0] = 0; in poly1305_init() 277 st->h[1] = 0; in poly1305_init() 278 st->h[2] = 0; in poly1305_init() 279 st->h[3] = 0; in poly1305_init() [all …]
|
H A D | poly1305_base2_44.c | 24 u64 h[3]; member 63 st->h[0] = 0; in poly1305_init() 64 st->h[1] = 0; in poly1305_init() 65 st->h[2] = 0; in poly1305_init() 98 h0 = st->h[0]; in poly1305_blocks() 99 h1 = st->h[1]; in poly1305_blocks() 100 h2 = st->h[2]; in poly1305_blocks() 130 st->h[0] = h0; in poly1305_blocks() 131 st->h[1] = h1; in poly1305_blocks() 132 st->h[2] = h2; in poly1305_blocks() [all …]
|
/openssl/ssl/ |
H A D | priority_queue.c | 113 t_h = h[i]; in pqueue_swap_elem() 114 h[i] = h[j]; in pqueue_swap_elem() 115 h[j] = t_h; in pqueue_swap_elem() 128 h[to] = h[from]; in pqueue_move_elem() 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() 298 struct pq_heap_st *h; in ossl_pqueue_reserve() local 314 if (h == NULL) in ossl_pqueue_reserve() [all …]
|
/openssl/crypto/bn/ |
H A D | bn_local.h | 579 ht=h; \ 589 (h)=ht; \ 596 h=(in); \ 597 l=LBITS(h); \ 598 h=HBITS(h); \ 601 h*=h; \ 606 (ho)=h; \ 612 h= (a); \ 614 h=HBITS(h); \ 628 h= (a); \ [all …]
|
/openssl/providers/common/der/ |
H A D | build.info | 4 $DER_DIGESTS_H=$INCDIR/der_digests.h 15 $DER_RSA_H=$INCDIR/der_rsa.h 26 GENERATE[$DER_RSA_H]=$INCDIR/der_rsa.h.in 31 $DER_DSA_H=$INCDIR/der_dsa.h 40 GENERATE[$DER_DSA_H]=$INCDIR/der_dsa.h.in 46 $DER_EC_H=$INCDIR/der_ec.h 55 GENERATE[$DER_EC_H]=$INCDIR/der_ec.h.in 61 $DER_ECX_H=$INCDIR/der_ecx.h 70 GENERATE[$DER_ECX_H]=$INCDIR/der_ecx.h.in 75 $DER_WRAP_H=$INCDIR/der_wrap.h [all …]
|
/openssl/providers/implementations/ciphers/ |
H A D | cipher_aes_cbc_hmac_sha256_hw.c | 192 mctx->A[i] = sctx->md.h[0]; in tls1_multi_block_encrypt() 193 mctx->B[i] = sctx->md.h[1]; in tls1_multi_block_encrypt() 194 mctx->C[i] = sctx->md.h[2]; in tls1_multi_block_encrypt() 195 mctx->D[i] = sctx->md.h[3]; in tls1_multi_block_encrypt() 196 mctx->E[i] = sctx->md.h[4]; in tls1_multi_block_encrypt() 197 mctx->F[i] = sctx->md.h[5]; in tls1_multi_block_encrypt() 198 mctx->G[i] = sctx->md.h[6]; in tls1_multi_block_encrypt() 199 mctx->H[i] = sctx->md.h[7]; in tls1_multi_block_encrypt() 300 mctx->A[i] = sctx->tail.h[0]; in tls1_multi_block_encrypt() 302 mctx->B[i] = sctx->tail.h[1]; in tls1_multi_block_encrypt() [all …]
|
/openssl/crypto/evp/ |
H A D | e_aes_cbc_hmac_sha256.c | 220 ctx->A[i] = key->md.h[0]; in tls1_1_multi_block_encrypt() 221 ctx->B[i] = key->md.h[1]; in tls1_1_multi_block_encrypt() 222 ctx->C[i] = key->md.h[2]; in tls1_1_multi_block_encrypt() 223 ctx->D[i] = key->md.h[3]; in tls1_1_multi_block_encrypt() 224 ctx->E[i] = key->md.h[4]; in tls1_1_multi_block_encrypt() 225 ctx->F[i] = key->md.h[5]; in tls1_1_multi_block_encrypt() 226 ctx->G[i] = key->md.h[6]; in tls1_1_multi_block_encrypt() 227 ctx->H[i] = key->md.h[7]; in tls1_1_multi_block_encrypt() 328 ctx->A[i] = key->tail.h[0]; in tls1_1_multi_block_encrypt() 330 ctx->B[i] = key->tail.h[1]; in tls1_1_multi_block_encrypt() [all …]
|