/openssl/crypto/sm4/asm/ |
H A D | vpsm4-armv8.pl | 760 ld4 {@data[0].4s,@data[1].4s,@data[2].4s,@data[3].4s},[$inp],#64 781 ld4 {@data[0].4s,@data[1].4s,@data[2].4s,@data[3].4s},[$inp],#64 804 ld4 {@data[0].s,@data[1].s,@data[2].s,@data[3].s}[0],[$inp],#16 805 ld4 {@data[0].s,@data[1].s,@data[2].s,@data[3].s}[1],[$inp],#16 819 ld4 {@data[0].s,@data[1].s,@data[2].s,@data[3].s}[2],[$inp],#16 862 ld1 {@data[0].4s,@data[1].4s,@data[2].4s,@data[3].4s},[$inp],#64 920 ld4 {@data[0].4s,@data[1].4s,@data[2].4s,@data[3].4s},[$inp] 963 ld4 {@data[0].4s,@data[1].4s,@data[2].4s,@data[3].4s},[$inp] 1001 ld4 {@data[0].s,@data[1].s,@data[2].s,@data[3].s}[0],[$inp] 1003 ld4 {@data[0].s,@data[1].s,@data[2].s,@data[3].s}[1],[$ptr],#16 [all …]
|
H A D | vpsm4_ex-armv8.pl | 750 ld4 {@data[0].4s,@data[1].4s,@data[2].4s,@data[3].4s},[$inp],#64 771 ld4 {@data[0].4s,@data[1].4s,@data[2].4s,@data[3].4s},[$inp],#64 794 ld4 {@data[0].s,@data[1].s,@data[2].s,@data[3].s}[0],[$inp],#16 795 ld4 {@data[0].s,@data[1].s,@data[2].s,@data[3].s}[1],[$inp],#16 809 ld4 {@data[0].s,@data[1].s,@data[2].s,@data[3].s}[2],[$inp],#16 852 ld1 {@data[0].4s,@data[1].4s,@data[2].4s,@data[3].4s},[$inp],#64 910 ld4 {@data[0].4s,@data[1].4s,@data[2].4s,@data[3].4s},[$inp] 953 ld4 {@data[0].4s,@data[1].4s,@data[2].4s,@data[3].4s},[$inp] 991 ld4 {@data[0].s,@data[1].s,@data[2].s,@data[3].s}[0],[$inp] 993 ld4 {@data[0].s,@data[1].s,@data[2].s,@data[3].s}[1],[$ptr],#16 [all …]
|
/openssl/crypto/ |
H A D | passphrase.c | 18 if (data != NULL) { in ossl_pw_clear_passphrase_data() 23 memset(data, 0, sizeof(*data)); in ossl_pw_clear_passphrase_data() 29 OPENSSL_clear_free(data->cached_passphrase, data->cached_passphrase_len); in ossl_pw_clear_passphrase_cache() 30 data->cached_passphrase = NULL; in ossl_pw_clear_passphrase_cache() 42 data->type = is_expl_passphrase; in ossl_pw_set_passphrase() 60 data->type = is_pem_password; in ossl_pw_set_pem_password_cb() 74 data->type = is_ossl_passphrase; in ossl_pw_set_ossl_passphrase_cb() 88 data->type = is_ui_method; in ossl_pw_set_ui_method() 96 data->flag_cache_passphrase = 1; in ossl_pw_enable_passphrase_caching() 222 } else if (data->flag_cache_passphrase && data->cached_passphrase != NULL) { in ossl_pw_get_passphrase() [all …]
|
H A D | core_algorithm.c | 23 void *data); 27 void *data; member 48 if (!data->reserve_store(no_store, data->data)) in algorithm_do_map() 53 if (data->pre == NULL) { in algorithm_do_map() 56 } else if (!data->pre(provider, cur_operation, no_store, data->data, in algorithm_do_map() 77 data->fn(provider, thismap, no_store, data->data); in algorithm_do_map() 81 if (data->post == NULL) { in algorithm_do_map() 84 } else if (!data->post(provider, cur_operation, no_store, data->data, in algorithm_do_map() 91 data->unreserve_store(data->data); in algorithm_do_map() 110 if (data->operation_id != 0) in algorithm_do_this() [all …]
|
H A D | core_fetch.c | 29 struct construct_data_st *data = cbdata; in is_temporary_method_store() local 31 return no_store && !data->force_store; in is_temporary_method_store() 36 struct construct_data_st *data = cbdata; in ossl_method_construct_reserve_store() local 38 if (is_temporary_method_store(no_store, data) && data->store == NULL) { in ossl_method_construct_reserve_store() 45 if ((data->store = data->mcm->get_tmp_store(data->mcm_data)) == NULL) in ossl_method_construct_reserve_store() 49 return data->mcm->lock_store(data->store, data->mcm_data); in ossl_method_construct_reserve_store() 54 struct construct_data_st *data = cbdata; in ossl_method_construct_unreserve_store() local 56 return data->mcm->unlock_store(data->store, data->mcm_data); in ossl_method_construct_unreserve_store() 109 if ((method = data->mcm->construct(algo, provider, data->mcm_data)) in ossl_method_construct_this() 123 data->mcm->put(data->store, method, provider, algo->algorithm_names, in ossl_method_construct_this() [all …]
|
/openssl/util/perl/TLSProxy/ |
H A D | Record.pm | 291 data => $data, 307 my $data = $self->data; 311 $data = substr($data, 16); 315 $data = substr($data, 0, length($data) - 20); 321 $data = substr($data, 0, length($data) - ($padval + 1)); 334 my $data = $self->data; 353 $data = substr($data, 16); 359 $data = substr($data, 0, length($data) - ($padval + 1)); 363 $data = substr($data, 0, length($data) - $mactaglen); 369 $data = substr($data, 0, length($data) - 1); [all …]
|
H A D | ServerKeyExchange.pm | 23 $data, 35 $data, 61 my $p_len = unpack('n', $self->data); 106 my $data; 108 $data = pack('n', length($self->p)); 109 $data .= $self->p; 110 $data .= pack('n', length($self->g)); 111 $data .= $self->g; 113 $data .= $self->pub_key; 117 $data .= $self->signature; [all …]
|
H A D | ClientHello.pm | 25 $data, 37 $data, 64 my $random = substr($self->data, $ptr, 32); 160 my $data; 163 $data = pack('n', $self->client_version); 164 $data .= $self->random; 166 $data .= $self->session; 170 $data .= $self->legacy_cookie; 193 $data .= pack('n', length($extensions)); 194 $data .= $extensions; [all …]
|
H A D | NewSessionTicket.pm | 23 $data, 34 $data, 46 $data, 57 $data, 71 $data, 83 $data, 99 my $ticket_len = unpack('n', $self->data); 111 my $data; 114 $data .= pack('n', length($self->ticket)); 115 $data .= $self->ticket; [all …]
|
H A D | ServerHello.pm | 30 $data, 42 $data, 96 if (length($self->data) != $ptr) { 152 my $data; 156 $data .= $self->random; 158 $data .= $self->session; 159 $data .= pack('n', $self->ciphersuite); 160 $data .= pack('C', $self->comp_meth); 174 $data .= pack('n', length($extensions)); 175 $data .= $extensions; [all …]
|
H A D | Certificate.pm | 23 $data, 35 $data, 112 my $remdata = substr($self->data, 3); 140 my $data; 151 $data .= $self->context; 160 $data .= pack('Cn', $hi, $certlen); 162 $data .= $extensions; 163 $data .= $self->remaining_certdata(); 164 $self->data($data); 173 $data .= pack('Cn', $hi, $certlen); [all …]
|
/openssl/test/helpers/ |
H A D | noisydgrambio.c | 181 if (!TEST_ptr(data)) in noisy_dgram_sendmmsg() 184 now = data->now_cb != NULL ? data->now_cb(data->now_cb_arg) in noisy_dgram_sendmmsg() 349 now = data->now_cb != NULL ? data->now_cb(data->now_cb_arg) in noisy_dgram_recvmmsg() 371 && data->reinject_dgram == data->this_dgram) { in noisy_dgram_recvmmsg() 427 data->reinject_dgram = data->this_dgram + reinject; in noisy_dgram_recvmmsg() 474 if (data == NULL) in data_free() 477 OPENSSL_free(data->msg.data); in data_free() 480 OPENSSL_free(data); in data_free() 485 struct noisy_dgram_st *data = OPENSSL_zalloc(sizeof(*data)); in noisy_dgram_new() local 491 data->msg.data = OPENSSL_malloc(MSG_DATA_LEN_MAX); in noisy_dgram_new() [all …]
|
/openssl/crypto/stack/ |
H A D | stack.c | 71 ret->data = OPENSSL_malloc(sizeof(*ret->data) * sk->num_alloc); in OPENSSL_sk_dup() 74 memcpy(ret->data, sk->data, sizeof(void *) * sk->num); in OPENSSL_sk_dup() 116 if ((ret->data[i] = copy_func(sk->data[i])) == NULL) { in OPENSSL_sk_deep_copy() 273 st->data[st->num] = data; in OPENSSL_sk_insert() 275 memmove(&st->data[loc + 1], &st->data[loc], in OPENSSL_sk_insert() 277 st->data[loc] = data; in OPENSSL_sk_insert() 289 memmove(&st->data[loc], &st->data[loc + 1], in internal_delete() 332 if (st->data[i] == data) { in internal_find() 347 if (st->comp(&data, st->data + i) == 0) { in internal_find() 427 memset(st->data, 0, sizeof(*st->data) * st->num); in OPENSSL_sk_zero() [all …]
|
/openssl/include/internal/ |
H A D | packet.h | 167 *data = (size_t)i; in PACKET_get_net_2_len() 295 *data = *pkt->curr; in PACKET_peek_1() 333 *data = *pkt->curr; in PACKET_peek_4() 369 *data = pkt->curr; in PACKET_peek_bytes() 454 OPENSSL_free(*data); in PACKET_memdup() 455 *data = NULL; in PACKET_memdup() 464 if (*data == NULL) in PACKET_memdup() 483 OPENSSL_free(*data); in PACKET_strndup() 526 subpkt->curr = data; in PACKET_get_length_prefixed_1() 549 subpkt->curr = data; in PACKET_as_length_prefixed_1() [all …]
|
/openssl/crypto/bio/ |
H A D | bss_conn.c | 56 static int conn_free(BIO *data); 348 BIO_CONNECT *data; in conn_free() local 369 BIO_CONNECT *data; in conn_read() local 407 BIO_CONNECT *data; in conn_write() local 434 if (data->tfo_first) { in conn_write() 439 data->tfo_first = 0; in conn_write() 457 BIO_CONNECT *data; in conn_ctrl() local 735 BIO_CONNECT *data; in conn_callback_ctrl() local 763 BIO_CONNECT *data; in conn_gets() local 820 BIO_CONNECT *data; in conn_sendmmsg() local [all …]
|
H A D | bss_acpt.c | 43 static int acpt_free(BIO *data); 132 BIO_ACCEPT *data; in acpt_free() local 136 data = (BIO_ACCEPT *)a->ptr; in acpt_free() 140 BIO_ACCEPT_free(data); in acpt_free() 366 BIO_ACCEPT *data; in acpt_read() local 369 data = (BIO_ACCEPT *)b->ptr; in acpt_read() 385 BIO_ACCEPT *data; in acpt_write() local 388 data = (BIO_ACCEPT *)b->ptr; in acpt_write() 405 BIO_ACCEPT *data; in acpt_ctrl() local 408 data = (BIO_ACCEPT *)b->ptr; in acpt_ctrl() [all …]
|
/openssl/test/ssl-tests/ |
H A D | 13-fragmentation.cnf | 6 test-1 = 1-one-fragment-app-data 8 test-3 = 3-small-app-data 10 test-5 = 5-medium-app-data 12 test-7 = 7-large-app-data 52 [1-one-fragment-app-data] 98 [3-small-app-data] 101 [3-small-app-data-ssl] 145 [5-medium-app-data] 148 [5-medium-app-data-ssl] 191 [7-large-app-data] [all …]
|
/openssl/crypto/ec/ |
H A D | ec_curve.c | 35 unsigned char data[20 + 24 * 6]; member 67 unsigned char data[20 + 28 * 6]; member 105 unsigned char data[20 + 48 * 6]; member 149 unsigned char data[20 + 66 * 6]; member 2829 const EC_CURVE_DATA *data; member 3162 const EC_CURVE_DATA *data; in ec_group_new_from_data() local 3166 if (curve.data == NULL) in ec_group_new_from_data() 3175 data = curve.data; in ec_group_new_from_data() 3176 seed_len = data->seed_len; in ec_group_new_from_data() 3382 const EC_CURVE_DATA *data; in ossl_ec_curve_nid_from_params() local [all …]
|
/openssl/crypto/encode_decode/ |
H A D | encoder_lib.c | 49 memset(&data, 0, sizeof(data)); in OSSL_ENCODER_to_bio() 50 data.ctx = ctx; in OSSL_ENCODER_to_bio() 51 data.bio = out; in OSSL_ENCODER_to_bio() 67 return encoder_process(&data) > 0; in OSSL_ENCODER_to_bio() 436 new_data.ctx = data->ctx; in encoder_process() 445 data->level, (void *)data->ctx, in encoder_process() 543 data->level, (void *)data->ctx); in encoder_process() 645 data->level, (void *)data->ctx, in encoder_process() 658 data->running_output = NULL; in encoder_process() 668 data->running_output = (unsigned char *)buf->data; in encoder_process() [all …]
|
H A D | encoder_pkey.c | 92 if (data->error_occurred) in collect_encoder() 104 if ((data->keymgmt_prov == prov) == data->flag_find_same_provider) { in collect_encoder() 140 if (data->error_occurred) in collect_name() 184 if (data->obj == NULL) { in encoder_construct_pkey() 197 data->obj = data->constructed_obj; in encoder_construct_pkey() 203 return data->obj; in encoder_construct_pkey() 216 data->constructed_obj = NULL; in encoder_destruct_pkey() 250 if ((data = OPENSSL_zalloc(sizeof(*data))) == NULL) in ossl_encoder_ctx_setup_for_pkey() 325 data->pk = pkey; in ossl_encoder_ctx_setup_for_pkey() 333 if (data != NULL) { in ossl_encoder_ctx_setup_for_pkey() [all …]
|
/openssl/crypto/store/ |
H A D | store_result.c | 161 if (data->object_type == OSSL_OBJECT_NAME) { in try_name() 164 if (data->utf8_data == NULL) in try_name() 167 || (data->desc != NULL in try_name() 197 if (data->data_type == NULL) in try_key_ref() 214 keydata = evp_keymgmt_load(keymgmt, data->ref, data->ref_size); in try_key_ref() 230 data->ref, data->ref_size, in try_key_ref() 267 size_t pdatalen = data->octet_data_size; in try_key_value() 312 long der_len = (long)data->octet_data_size; in try_key_value_legacy() 397 if (data->object_type == OSSL_OBJECT_PKEY && data->ref != NULL) { in try_key() 408 } else if (data->octet_data != NULL) { in try_key() [all …]
|
/openssl/crypto/aes/ |
H A D | aes_ige.c | 30 unsigned long data[N_WORDS]; member 75 outp->data[n] = inp->data[n] ^ ivp->data[n]; in AES_ige_encrypt() 79 outp->data[n] ^= iv2p->data[n]; in AES_ige_encrypt() 99 tmp2.data[n] = tmp.data[n] ^ iv.data[n]; in AES_ige_encrypt() 103 tmp2.data[n] ^= iv2.data[n]; in AES_ige_encrypt() 111 memcpy(ivec, iv.data, AES_BLOCK_SIZE); in AES_ige_encrypt() 128 tmp.data[n] = inp->data[n] ^ iv2p->data[n]; in AES_ige_encrypt() 132 outp->data[n] ^= ivp->data[n]; in AES_ige_encrypt() 153 tmp.data[n] ^= iv2.data[n]; in AES_ige_encrypt() 157 tmp.data[n] ^= iv.data[n]; in AES_ige_encrypt() [all …]
|
/openssl/crypto/x509/ |
H A D | pcy_map.c | 25 X509_POLICY_DATA *data; in ossl_policy_cache_set_mapping() local 45 if (data == NULL && !cache->anyPolicy) in ossl_policy_cache_set_mapping() 49 if (data == NULL) { in ossl_policy_cache_set_mapping() 53 if (data == NULL) in ossl_policy_cache_set_mapping() 55 data->qualifier_set = cache->anyPolicy->qualifier_set; in ossl_policy_cache_set_mapping() 59 data->flags |= POLICY_DATA_FLAG_MAPPED_ANY; in ossl_policy_cache_set_mapping() 60 data->flags |= POLICY_DATA_FLAG_SHARED_QUALIFIERS; in ossl_policy_cache_set_mapping() 61 if (!sk_X509_POLICY_DATA_push(cache->data, data)) { in ossl_policy_cache_set_mapping() 62 ossl_policy_data_free(data); in ossl_policy_cache_set_mapping() 66 data->flags |= POLICY_DATA_FLAG_MAPPED; in ossl_policy_cache_set_mapping() [all …]
|
/openssl/crypto/des/ |
H A D | des_enc.c | 25 r = data[0]; in DES_encrypt1() 26 l = data[1]; in DES_encrypt1() 86 data[0] = l; in DES_encrypt1() 87 data[1] = r; in DES_encrypt1() 96 r = data[0]; in DES_encrypt2() 97 l = data[1]; in DES_encrypt2() 160 l = data[0]; in DES_encrypt3() 161 r = data[1]; in DES_encrypt3() 163 data[0] = l; in DES_encrypt3() 164 data[1] = r; in DES_encrypt3() [all …]
|
/openssl/test/ |
H A D | bio_memleak_test.c | 28 bufmem.data = (char *) str; in test_bio_memleak() 76 char data[16]; in test_bio_new_mem_buf() local 83 if (!TEST_mem_eq(data, 5, "Hello", 5)) in test_bio_new_mem_buf() 91 if (!TEST_mem_eq(data, 7, " World\n", 7)) in test_bio_new_mem_buf() 111 char data[16]; in test_bio_rdonly_mem_buf() local 118 if (!TEST_mem_eq(data, 5, "Hello", 5)) in test_bio_rdonly_mem_buf() 132 if (!TEST_mem_eq(data, 7, " World\n", 7)) in test_bio_rdonly_mem_buf() 138 if (!TEST_mem_eq(data, 7, " World\n", 7)) in test_bio_rdonly_mem_buf() 152 char data[16]; in test_bio_rdwr_rdonly() local 188 char data[16]; in test_bio_nonclear_rst() local [all …]
|