/openssl/crypto/camellia/asm/ |
H A D | cmll-x86.pl | 57 $idx="esi"; 269 &rotl ($idx,1); 444 &rotl ($idx,1); 880 &dec ($idx); 932 &lea ($idx,&DWP(16,$idx)); 1034 &lea ($idx,&DWP(16,$idx)); 1061 &mov ($idx eq "esi" ? $idx : "",$key); 1104 &lea ($idx,&DWP(16,$idx)); 1120 &lea ($idx,&DWP(16,$idx)); 1133 &lea ($idx eq "esi" ? $idx : "",$ivec); [all …]
|
/openssl/test/ |
H A D | x509_time_test.c | 256 static int test_x509_cmp_time(int idx) in test_x509_cmp_time() argument 262 t.type = x509_cmp_tests[idx].type; in test_x509_cmp_time() 264 t.length = strlen(x509_cmp_tests[idx].data); in test_x509_cmp_time() 270 idx, x509_cmp_tests[idx].expected, result); in test_x509_cmp_time() 352 static int test_x509_time(int idx) in test_x509_time() argument 357 if (x509_format_tests[idx].set_string) { in test_x509_time() 370 idx, x509_format_tests[idx].expected, result); in test_x509_time() 378 idx, x509_format_tests[idx].expected_type, t->type); in test_x509_time() 389 idx, x509_format_tests[idx].expected_string, t->length, in test_x509_time() 538 static int test_x509_time_print_rfc_822(int idx) in test_x509_time_print_rfc_822() argument [all …]
|
H A D | recordlentest.c | 80 static int test_record_overflow(int idx) in test_record_overflow() argument 93 if (idx == TEST_ENCRYPTED_OVERFLOW_TLS1_2_OK in test_record_overflow() 94 || idx == TEST_ENCRYPTED_OVERFLOW_TLS1_2_NOT_OK) in test_record_overflow() 99 if (idx == TEST_ENCRYPTED_OVERFLOW_TLS1_3_OK in test_record_overflow() 100 || idx == TEST_ENCRYPTED_OVERFLOW_TLS1_3_NOT_OK) in test_record_overflow() 112 if (idx == TEST_ENCRYPTED_OVERFLOW_TLS1_2_OK in test_record_overflow() 119 } else if (idx == TEST_ENCRYPTED_OVERFLOW_TLS1_3_OK in test_record_overflow() 130 if (idx == TEST_PLAINTEXT_OVERFLOW_OK in test_record_overflow() 131 || idx == TEST_PLAINTEXT_OVERFLOW_NOT_OK) { in test_record_overflow() 134 if (idx == TEST_PLAINTEXT_OVERFLOW_NOT_OK) in test_record_overflow() [all …]
|
H A D | generate_ssl_tests.pl | 114 my $idx = 0; 117 my $testname = "${idx}-" . $test->{'name'}; 118 print "test-$idx = $testname\n"; 119 $idx++; 122 $idx = 0; 125 my $testname = "${idx}-" . $test->{'name'}; 127 HASH => [{ idx => $idx, testname => $testname } , $test], 131 $idx++;
|
H A D | exdatatest.c | 30 int idx, long argl, void *argp) in exnew() argument 32 if (!TEST_int_eq(idx, saved_idx) in exnew() 40 void **from_d, int idx, long argl, void *argp) in exdup() argument 42 if (!TEST_int_eq(idx, saved_idx) in exdup() 51 int idx, long argl, void *argp) in exfree() argument 53 if (!TEST_int_eq(idx, saved_idx) in exfree() 72 int idx, long argl, void *argp) in exnew2() argument 76 if (!TEST_true(idx == saved_idx2 || idx == saved_idx3) in exnew2() 95 if (!TEST_true(idx == saved_idx2 || idx == saved_idx3) in exdup2() 115 int idx, long argl, void *argp) in exfree2() argument [all …]
|
H A D | bio_enc_test.c | 209 switch (idx) in do_test_bio_cipher() 219 static int test_bio_enc_aes_128_cbc(int idx) in test_bio_enc_aes_128_cbc() argument 221 return do_test_bio_cipher(EVP_aes_128_cbc(), idx); in test_bio_enc_aes_128_cbc() 224 static int test_bio_enc_aes_128_ctr(int idx) in test_bio_enc_aes_128_ctr() argument 226 return do_test_bio_cipher(EVP_aes_128_ctr(), idx); in test_bio_enc_aes_128_ctr() 229 static int test_bio_enc_aes_256_cfb(int idx) in test_bio_enc_aes_256_cfb() argument 231 return do_test_bio_cipher(EVP_aes_256_cfb(), idx); in test_bio_enc_aes_256_cfb() 234 static int test_bio_enc_aes_256_ofb(int idx) in test_bio_enc_aes_256_ofb() argument 240 static int test_bio_enc_chacha20(int idx) in test_bio_enc_chacha20() argument 242 return do_test_bio_cipher(EVP_chacha20(), idx); in test_bio_enc_chacha20() [all …]
|
H A D | bio_prefix_text.c | 144 size_t idx, indent; in setup() local 189 idx = 0; in setup() 191 idx = strtoul(arg, &endptr, 10); in setup() 209 if (idx >= amount) { in setup() 211 progname, idx, amount - 1); in setup() 214 if (BIO_set_indent(chain[idx], (long)indent) <= 0) { in setup() 227 idx = 0; in setup() 229 idx = strtoul(arg, &endptr, 10); in setup() 240 if (idx >= amount) { in setup() 242 progname, idx, amount - 1); in setup() [all …]
|
H A D | ssl_cert_table_internal_test.c | 21 #define test_cert_table(nid, amask, idx) \ argument 22 do_test_cert_table(nid, amask, idx, #idx) 24 static int do_test_cert_table(int nid, uint32_t amask, size_t idx, in do_test_cert_table() argument 27 const SSL_CERT_LOOKUP *clu = &ssl_cert_info[idx]; in do_test_cert_table() 33 idxname, idx); in do_test_cert_table()
|
H A D | asn1_time_test.c | 158 static int test_table(struct testdata *tbl, int idx) in test_table() argument 163 struct testdata *td = &tbl[idx]; in test_table() 306 static int test_table_pos(int idx) in test_table_pos() argument 308 return test_table(tbl_testdata_pos, idx); in test_table_pos() 311 static int test_table_neg(int idx) in test_table_neg() argument 313 return test_table(tbl_testdata_neg, idx); in test_table_neg() 316 static int test_table_pos_64bit(int idx) in test_table_pos_64bit() argument 321 static int test_table_neg_64bit(int idx) in test_table_neg_64bit() argument 364 static int test_table_compare(int idx) in test_table_compare() argument 430 static int convert_asn1_to_time_t(int idx) in convert_asn1_to_time_t() argument [all …]
|
H A D | poly1305_internal_test.c | 1506 static int test_poly1305(int idx) in test_poly1305() argument 1509 const TESTDATA test = tests[idx]; in test_poly1305() 1525 TEST_info("Poly1305 test #%d failed.", idx); in test_poly1305() 1536 TEST_info("Poly1305 test #%d/1+(N-1) failed.", idx); in test_poly1305() 1550 TEST_info("Poly1305 test #%d/2 failed.", idx); in test_poly1305() 1562 idx, half, inlen-half); in test_poly1305()
|
H A D | x509_internal_test.c | 81 static int test_a2i_ipaddress(int idx) in test_a2i_ipaddress() argument 85 int len = a2i_ipaddress_tests[idx].length; in test_a2i_ipaddress() 87 ip = a2i_IPADDRESS(a2i_ipaddress_tests[idx].ipasc); in test_a2i_ipaddress() 91 TEST_note("'%s' should not be parsed as IP address", a2i_ipaddress_tests[idx].ipasc); in test_a2i_ipaddress() 97 a2i_ipaddress_tests[idx].data, len)) { in test_a2i_ipaddress()
|
/openssl/crypto/rc4/asm/ |
H A D | rc4-s390x.pl | 173 $idx="%r1"; 189 la $idx,0 190 sth $idx,0($key) 193 stc $idx,2($idx,$key) 194 la $idx,1($idx) 200 la $idx,0 205 la $idx,0($idx,$acc) 207 la $idx,0($idx,$dat) 208 nill $idx,255 211 llgc $dat,2($idx,$key) [all …]
|
H A D | rc4-586.pl | 314 $idx="edx"; 321 &picmeup($idx,"OPENSSL_ia32cap_P"); 338 &xor ($idx,$idx); 342 &add (&LB($idx),&BP(0,$inp,$idi)); 343 &add (&LB($idx),&LB("eax")); 345 &mov ("ebx",&DWP(0,$out,$idx,4)); 349 &mov (&DWP(0,$out,$idx,4),"eax"); 372 &xor ($idx,$idx); 377 &add (&LB($idx),&BP(0,$inp,$idi)); 378 &add (&LB($idx),&LB("eax")); [all …]
|
/openssl/crypto/x509/ |
H A D | x509_trust.c | 69 int idx; in X509_check_trust() local 76 if (idx < 0) in X509_check_trust() 78 pt = X509_TRUST_get0(idx); in X509_check_trust() 91 if (idx < 0) in X509_TRUST_get0() 94 return trstandard + idx; in X509_TRUST_get0() 101 int idx; in X509_TRUST_get_by_id() local 109 if (idx < 0) in X509_TRUST_get_by_id() 127 int idx; in X509_TRUST_add() local 138 if (idx < 0) { in X509_TRUST_add() 166 if (idx < 0) { in X509_TRUST_add() [all …]
|
H A D | v3_lib.c | 56 int idx; in X509V3_EXT_get_nid() local 66 idx = sk_X509V3_EXT_METHOD_find(ext_list, &tmp); in X509V3_EXT_get_nid() 163 int *idx) in X509V3_get_d2i() argument 169 if (idx) in X509V3_get_d2i() 170 *idx = -1; in X509V3_get_d2i() 175 if (idx) in X509V3_get_d2i() 176 lastpos = *idx + 1; in X509V3_get_d2i() 184 if (idx) { in X509V3_get_d2i() 185 *idx = i; in X509V3_get_d2i() 205 if (idx) in X509V3_get_d2i() [all …]
|
H A D | x509_lu.c | 558 if (idx == -1) in X509_OBJECT_retrieve_by_subject() 605 int i, idx, cnt; in STACK_OF() local 618 if (idx < 0) { in STACK_OF() 637 if (idx < 0) { in STACK_OF() 664 int i = 1, idx, cnt; in STACK_OF() local 687 if (idx < 0) { in STACK_OF() 714 int idx, i, num; in X509_OBJECT_retrieve_match() local 717 idx = sk_X509_OBJECT_find(h, x); in X509_OBJECT_retrieve_match() 718 if (idx < 0) in X509_OBJECT_retrieve_match() 754 int i, ok, idx, ret, nmatch = 0; in X509_STORE_CTX_get1_issuer() local [all …]
|
/openssl/crypto/bn/asm/ |
H A D | parisc-mont.pl | 126 $idx="%r20"; 220 ldo 8($idx),$idx ; j++++ 247 ldo 8($idx),$idx ; j++++ 325 ldo 8($idx),$idx ; j++++ 354 ldo 8($idx),$idx ; j++++ 460 ldo 8($idx),$idx ; j++++ 526 ldd $idx($np),$hi0 574 ldo 8($idx),$idx ; j++++ 656 ldo 8($idx),$idx ; j++++ 687 ldo 8($idx),$idx ; j++++ [all …]
|
/openssl/crypto/rsa/ |
H A D | rsa_chk.c | 26 int ret = 1, ex_primes = 0, idx; in rsa_validate_keypair_multiprime() local 80 for (idx = 0; idx < ex_primes; idx++) { in rsa_validate_keypair_multiprime() 81 pinfo = sk_RSA_PRIME_INFO_value(key->prime_infos, idx); in rsa_validate_keypair_multiprime() 93 for (idx = 0; idx < ex_primes; idx++) { in rsa_validate_keypair_multiprime() 94 pinfo = sk_RSA_PRIME_INFO_value(key->prime_infos, idx); in rsa_validate_keypair_multiprime() 127 for (idx = 0; idx < ex_primes; idx++) { in rsa_validate_keypair_multiprime() 128 pinfo = sk_RSA_PRIME_INFO_value(key->prime_infos, idx); in rsa_validate_keypair_multiprime() 196 for (idx = 0; idx < ex_primes; idx++) { in rsa_validate_keypair_multiprime() 197 pinfo = sk_RSA_PRIME_INFO_value(key->prime_infos, idx); in rsa_validate_keypair_multiprime()
|
/openssl/crypto/property/ |
H A D | property_string.c | 31 OSSL_PROPERTY_IDX idx; member 133 ps->idx = ++*pidx; in new_property_string() 134 if (ps->idx == 0) { in new_property_string() 198 return ps != NULL ? ps->idx : 0; in ossl_property_string() 204 OSSL_PROPERTY_IDX idx; member 211 if (prop->idx == findstr->idx) in find_str_fn() 217 OSSL_PROPERTY_IDX idx) in ossl_property_str() argument 235 findstr.idx = idx; in ossl_property_str() 244 : propdata->prop_valuelist, idx - 1); in ossl_property_str() 259 return ossl_property_str(1, ctx, idx); in ossl_property_name_str() [all …]
|
/openssl/crypto/aes/asm/ |
H A D | aesp8-ppc.pl | 455 addi $idx,$idx,16 461 addi $idx,$idx,16 468 addi $idx,$idx,16 472 addi $idx,$idx,16 563 addi $idx,$idx,16 567 addi $idx,$idx,16 574 addi $idx,$idx,16 578 addi $idx,$idx,16 611 addi $idx,$idx,16 615 addi $idx,$idx,16 [all …]
|
/openssl/crypto/ |
H A D | ex_data.c | 99 void **from_d, int idx, in dummy_dup() argument 119 if (idx < 0 || idx >= sk_EX_CALLBACK_num(ip->meth)) in ossl_crypto_free_ex_index_ex() 121 a = sk_EX_CALLBACK_value(ip->meth, idx); in ossl_crypto_free_ex_index_ex() 133 int CRYPTO_free_ex_index(int class_index, int idx) in CRYPTO_free_ex_index() argument 420 int idx) in CRYPTO_alloc_ex_data() argument 424 curval = CRYPTO_get_ex_data(ad, idx); in CRYPTO_alloc_ex_data() 446 f = sk_EX_CALLBACK_value(ip->meth, idx); in ossl_crypto_alloc_ex_data_intern() 476 for (i = sk_void_num(ad->sk); i <= idx; ++i) { in CRYPTO_set_ex_data() 482 if (sk_void_set(ad->sk, idx, val) != val) { in CRYPTO_set_ex_data() 496 if (ad->sk == NULL || idx >= sk_void_num(ad->sk)) in CRYPTO_get_ex_data() [all …]
|
/openssl/crypto/engine/ |
H A D | eng_ctrl.c | 36 int idx = 0; in int_ctrl_cmd_by_name() local 38 idx++; in int_ctrl_cmd_by_name() 44 return idx; in int_ctrl_cmd_by_name() 49 int idx = 0; in int_ctrl_cmd_by_num() local 55 idx++; in int_ctrl_cmd_by_num() 59 return idx; in int_ctrl_cmd_by_num() 67 int idx; in int_ctrl_helper() local 89 || ((idx = int_ctrl_cmd_by_name(e->cmd_defns, s)) < 0)) { in int_ctrl_helper() 93 return e->cmd_defns[idx].cmd_num; in int_ctrl_helper() 100 || ((idx = int_ctrl_cmd_by_num(e->cmd_defns, (unsigned int)i)) < 0)) { in int_ctrl_helper() [all …]
|
/openssl/crypto/conf/ |
H A D | conf_ssl.c | 138 const SSL_CONF_CMD *conf_ssl_get(size_t idx, const char **name, size_t *cnt) in conf_ssl_get() argument 140 *name = ssl_names[idx].name; in conf_ssl_get() 141 *cnt = ssl_names[idx].cmd_count; in conf_ssl_get() 142 return ssl_names[idx].cmds; in conf_ssl_get() 150 int conf_ssl_name_find(const char *name, size_t *idx) in conf_ssl_name_find() argument 159 *idx = i; in conf_ssl_name_find() 172 void conf_ssl_get_cmd(const SSL_CONF_CMD *cmd, size_t idx, char **cmdstr, in conf_ssl_get_cmd() argument 175 *cmdstr = cmd[idx].cmd; in conf_ssl_get_cmd() 176 *arg = cmd[idx].arg; in conf_ssl_get_cmd()
|
/openssl/doc/man3/ |
H A D | BIO_get_ex_new_index.pod | 39 int TYPE_set_ex_data(TYPE *d, int idx, void *arg); 41 void *TYPE_get_ex_data(const TYPE *d, int idx); 52 int DH_set_ex_data(DH *type, int idx, void *arg); 53 void *DH_get_ex_data(DH *type, int idx); 56 int DSA_set_ex_data(DSA *type, int idx, void *arg); 57 void *DSA_get_ex_data(DSA *type, int idx); 61 void *EC_KEY_get_ex_data(EC_KEY *type, int idx); 65 void *RSA_get_ex_data(RSA *type, int idx); 71 void *ENGINE_get_ex_data(ENGINE *type, int idx); 101 B<idx> set to zero. [all …]
|
/openssl/crypto/objects/ |
H A D | obj_xref.c | 71 int idx; in ossl_obj_find_sigid_algs() local 86 idx = sk_nid_triple_find(sig_app, &tmp); in ossl_obj_find_sigid_algs() 87 if (idx >= 0) in ossl_obj_find_sigid_algs() 88 rv = sk_nid_triple_value(sig_app, idx); in ossl_obj_find_sigid_algs() 113 int idx; in OBJ_find_sigid_by_algs() local 131 idx = sk_nid_triple_find(sigx_app, &tmp); in OBJ_find_sigid_by_algs() 132 if (idx >= 0) { in OBJ_find_sigid_by_algs() 133 t = sk_nid_triple_value(sigx_app, idx); in OBJ_find_sigid_by_algs()
|