Home
last modified time | relevance | path

Searched refs:ref (Results 1 – 25 of 72) sorted by relevance

123

/openssl/util/perl/OpenSSL/
H A DUtil.pm263 my $ref = shift;
288 if (ref($ref) eq "ARRAY") {
289 if (scalar @$ref == 0) {
298 @items = @$ref;
300 } elsif (ref($ref) eq "HASH") {
301 if (scalar keys %$ref == 0) {
305 quotify1($_) . " => " . dump_data($ref->{$_}, %subopts);
310 @items = sort keys %$ref;
312 } elsif (ref($ref) eq "SCALAR") {
313 $product = defined $$ref ? quotify1 $$ref : "undef";
[all …]
/openssl/test/
H A Dchacha_internal_test.c29 static const unsigned char ref[] = { variable
162 unsigned char buf[sizeof(ref)]; in test_cha_cha_internal()
166 memcpy(buf + i, ref + i, sizeof(ref) - i); in test_cha_cha_internal()
174 for (j = 0; j < sizeof(ref); j++) in test_cha_cha_internal()
175 if (!TEST_uchar_eq(buf[j], ref[j])) { in test_cha_cha_internal()
188 ADD_ALL_TESTS(test_cha_cha_internal, sizeof(ref)); in setup_tests()
H A Dbio_enc_test.c43 unsigned char out[BUF_SIZE], ref[BUF_SIZE]; in do_bio_cipher() local
62 lref = BIO_read(b, ref, sizeof(ref)); in do_bio_cipher()
79 out[i] = ~ref[i]; in do_bio_cipher()
85 if (!TEST_uchar_eq(out[i], (unsigned char)~ref[i])) { in do_bio_cipher()
96 if (!TEST_mem_eq(out, len, ref, lref)) { in do_bio_cipher()
123 if (!TEST_mem_eq(out, len, ref, lref)) { in do_bio_cipher()
138 mem = BIO_new_mem_buf(ref, lref); in do_bio_cipher()
159 mem = BIO_new_mem_buf(ref, lref); in do_bio_cipher()
164 out[i] = ~ref[i]; in do_bio_cipher()
167 if (!TEST_uchar_eq(out[i], (unsigned char)~ref[i])) { in do_bio_cipher()
[all …]
H A Dparams_conversion_test.c31 void *ref, *datum; member
139 pc->ref = &ref_i32; in param_conversion_load_stanza()
148 pc->ref = &ref_i64; in param_conversion_load_stanza()
157 pc->ref = &ref_u32; in param_conversion_load_stanza()
166 pc->ref = &ref_u64; in param_conversion_load_stanza()
175 pc->ref = &ref_d; in param_conversion_load_stanza()
206 || !TEST_mem_eq(pc->datum, pc->size, pc->ref, pc->size)) { in param_conversion_test()
227 || !TEST_mem_eq(pc->datum, pc->size, pc->ref, pc->size)) { in param_conversion_test()
248 || !TEST_mem_eq(pc->datum, pc->size, pc->ref, pc->size)) { in param_conversion_test()
269 || !TEST_mem_eq(pc->datum, pc->size, pc->ref, pc->size)) { in param_conversion_test()
[all …]
H A Dpriority_queue_test.c55 static size_t values[MAX_SAMPLES], sorted[MAX_SAMPLES], ref[MAX_SAMPLES]; in test_size_t_priority_queue_int() local
70 memset(ref, 0, sizeof(ref)); in test_size_t_priority_queue_int()
90 if (!TEST_true(ossl_pqueue_size_t_push(pq, values + i, ref + i))) in test_size_t_priority_queue_int()
101 if (!TEST_ptr_eq(ossl_pqueue_size_t_remove(pq, ref[i]), in test_size_t_priority_queue_int()
H A Dcmp_hdr_test.c447 unsigned char ref[CMP_TEST_REFVALUE_LENGTH]; in test_HDR_init_with_ref() local
452 if (!TEST_int_eq(1, RAND_bytes(ref, sizeof(ref))) in test_HDR_init_with_ref()
454 ref, sizeof(ref)))) { in test_HDR_init_with_ref()
/openssl/crypto/x509/
H A Dv3_usernotice.c27 NOTICEREF *ref; in ASN1_ITEM_TEMPLATE() local
28 ref = notice->noticeref; in ASN1_ITEM_TEMPLATE()
30 ref->organization->length, in ASN1_ITEM_TEMPLATE()
31 ref->organization->data) <= 0) in ASN1_ITEM_TEMPLATE()
34 sk_ASN1_INTEGER_num(ref->noticenos) > 1 ? "s" : "") <= 0) in ASN1_ITEM_TEMPLATE()
36 for (i = 0; i < sk_ASN1_INTEGER_num(ref->noticenos); i++) { in ASN1_ITEM_TEMPLATE()
37 num = sk_ASN1_INTEGER_value(ref->noticenos, i); in ASN1_ITEM_TEMPLATE()
H A Dv3_cpols.c468 NOTICEREF *ref; in print_notice() local
469 ref = notice->noticeref; in print_notice()
471 ref->organization->length, in print_notice()
472 ref->organization->data); in print_notice()
474 sk_ASN1_INTEGER_num(ref->noticenos) > 1 ? "s" : ""); in print_notice()
475 for (i = 0; i < sk_ASN1_INTEGER_num(ref->noticenos); i++) { in print_notice()
478 num = sk_ASN1_INTEGER_value(ref->noticenos, i); in print_notice()
/openssl/crypto/perlasm/
H A Dsparcv9_modes.pl1428 $ref;
1430 return $ref;
1455 $ref;
1490 $ref;
1517 $ref;
1543 $ref;
1570 $ref;
1601 $ref;
1631 $ref;
1644 $ref;
[all …]
/openssl/providers/implementations/keymgmt/
H A Dkdf_legacy_kmgmt.c51 int ref = 0; in ossl_kdf_data_free() local
56 CRYPTO_DOWN_REF(&kdfdata->refcnt, &ref); in ossl_kdf_data_free()
57 if (ref > 0) in ossl_kdf_data_free()
66 int ref = 0; in ossl_kdf_data_up_ref() local
78 CRYPTO_UP_REF(&kdfdata->refcnt, &ref); in ossl_kdf_data_up_ref()
/openssl/crypto/engine/
H A Deng_list.c61 int ref; in engine_list_add() local
80 if (!CRYPTO_UP_REF(&e->struct_ref, &ref)) { in engine_list_add()
88 CRYPTO_DOWN_REF(&e->struct_ref, &ref); in engine_list_add()
96 CRYPTO_DOWN_REF(&e->struct_ref, &ref); in engine_list_add()
105 CRYPTO_DOWN_REF(&e->struct_ref, &ref); in engine_list_add()
243 int ref; in ENGINE_get_first() local
245 if (!CRYPTO_UP_REF(&ret->struct_ref, &ref)) { in ENGINE_get_first()
270 int ref; in ENGINE_get_last() local
295 int ref; in ENGINE_get_next() local
322 int ref; in ENGINE_get_prev() local
[all …]
H A Deng_init.c31 int ref; in engine_unlocked_init() local
37 if (!CRYPTO_UP_REF(&e->struct_ref, &ref)) { in engine_unlocked_init()
/openssl/crypto/bio/
H A Dossl_core_bio.c36 int ref = 0; in ossl_core_bio_up_ref() local
38 return CRYPTO_UP_REF(&cb->ref_cnt, &ref); in ossl_core_bio_up_ref()
43 int ref = 0, res = 1; in ossl_core_bio_free() local
46 CRYPTO_DOWN_REF(&cb->ref_cnt, &ref); in ossl_core_bio_free()
47 if (ref <= 0) { in ossl_core_bio_free()
/openssl/crypto/aes/asm/
H A Daesfx-sparcv9.pl1141 my ($ref,$opf);
1163 $ref;
1165 return $ref;
1172 my ($ref,$opf);
1187 $ref;
1189 return $ref;
1195 my ($ref,$opf);
1220 $ref;
1222 return $ref;
1246 $ref;
[all …]
/openssl/crypto/sha/asm/
H A Dsha1-sparcv9.pl385 my $ref,$opf;
389 $ref = "$mnemonic\t$rs1,$rs2,$rd";
393 return $ref if (!/%f([0-9]{1,2})/);
396 return $ref if ($1&1);
404 $ref;
406 return $ref;
412 my $ref="$mnemonic\t$rs1,$rs2,$rd";
416 else { return $ref; }
420 $ref;
H A Dsha1-sparcv9a.pl558 my ($ref,$opf);
565 $ref = "$mnemonic\t$rs1,$rs2,$rd";
569 return $ref if (!/%f([0-9]{1,2})/);
572 return $ref if ($1&1);
580 $ref;
582 return $ref;
588 my $ref="$mnemonic\t$rs1,$rs2,$rd";
592 else { return $ref; }
596 $ref;
H A Dsha512-sparcv9.pl811 my $ref,$opf;
815 $ref = "$mnemonic\t$rs1,$rs2,$rd";
819 return $ref if (!/%f([0-9]{1,2})/);
822 return $ref if ($1&1);
830 $ref;
832 return $ref;
838 my $ref="$mnemonic\t$rs1,$rs2,$rd";
842 else { return $ref; }
846 $ref;
/openssl/test/recipes/80-test_cmp_http_data/
H A Dtest_credentials.csv1 expected,description, -section,val, -ref,val, -secret,val, -cert,val, -key,val, -keypass,val, -extr…
3 1,valid secret - wrong cert/key ignored, -section,, -ref,_PBM_REF, -secret,_PBM_SECRET, -cert,root.…
5 0,wrong secret without ref, -section,,BLANK,, -secret,pass:wrong,BLANK,,BLANK,,BLANK,,BLANK,,BLANK,…
8 0,ref missing arg, -section,, -ref,,BLANK,,BLANK,,BLANK,,BLANK,,BLANK,,BLANK,,BLANK,,BLANK,
9 1,empty ref but correct cert, -section,, -ref,"""",BLANK,, -cert,signer.crt, -key,signer.p12, -keyp…
10 1,wrong ref but correct cert, -section,, -ref,wrong,BLANK,, -cert,signer.crt, -key,signer.p12, -key…
/openssl/crypto/evp/
H A Dmac_meth.c22 int ref = 0; in evp_mac_up_ref() local
24 CRYPTO_UP_REF(&mac->refcnt, &ref); in evp_mac_up_ref()
31 int ref = 0; in evp_mac_free() local
36 CRYPTO_DOWN_REF(&mac->refcnt, &ref); in evp_mac_free()
37 if (ref > 0) in evp_mac_free()
H A Dkdf_meth.c23 int ref = 0; in evp_kdf_up_ref() local
25 CRYPTO_UP_REF(&kdf->refcnt, &ref); in evp_kdf_up_ref()
32 int ref = 0; in evp_kdf_free() local
37 CRYPTO_DOWN_REF(&kdf->refcnt, &ref); in evp_kdf_free()
38 if (ref > 0) in evp_kdf_free()
H A Devp_rand.c56 int ref = 0; in evp_rand_up_ref() local
59 return CRYPTO_UP_REF(&rand->refcnt, &ref); in evp_rand_up_ref()
66 int ref = 0; in evp_rand_free() local
70 CRYPTO_DOWN_REF(&rand->refcnt, &ref); in evp_rand_free()
71 if (ref > 0) in evp_rand_free()
337 int ref = 0; in EVP_RAND_CTX_up_ref() local
339 return CRYPTO_UP_REF(&ctx->refcnt, &ref); in EVP_RAND_CTX_up_ref()
387 int ref = 0; in EVP_RAND_CTX_free() local
393 CRYPTO_DOWN_REF(&ctx->refcnt, &ref); in EVP_RAND_CTX_free()
394 if (ref > 0) in EVP_RAND_CTX_free()
/openssl/crypto/md5/asm/
H A Dmd5-sparcv9.pl391 my $ref,$opf;
395 $ref = "$mnemonic\t$rs1,$rs2,$rd";
399 return $ref if (!/%f([0-9]{1,2})/);
402 return $ref if ($1&1);
410 $ref;
412 return $ref;
418 my $ref="$mnemonic\t$rs1,$rs2,$rd";
422 else { return $ref; }
426 $ref;
/openssl/ssl/quic/
H A Dquic_cfq.c135 QUIC_CFQ_ITEM_EX *ref, in list_insert_after() argument
138 n->prev = ref; in list_insert_after()
139 n->next = ref->next; in list_insert_after()
140 if (ref->next != NULL) in list_insert_after()
141 ref->next->prev = n; in list_insert_after()
142 ref->next = n; in list_insert_after()
143 if (l->tail == ref) in list_insert_after()
/openssl/crypto/bn/asm/
H A Dvis3-mont.pl355 my ($ref,$opf);
360 $ref = "$mnemonic\t$rs1,$rs2,$rd";
364 return $ref if (!/%([goli])([0-9])/);
370 $ref;
372 return $ref;
/openssl/
H A Dconfigdata.pm.in303 if (ref($target{$_}) eq "ARRAY") {
324 (ref $config{$var} eq 'ARRAY'
379 if (ref $result eq 'ARRAY') {
381 } elsif (ref $result eq 'HASH') {
384 } elsif (ref $result eq 'SCALAR') {

Completed in 55 milliseconds

123