Home
last modified time | relevance | path

Searched refs:db (Results 1 – 25 of 27) sorted by relevance

12

/openssl/crypto/txt_db/
H A Dtxt_db.c137 lh = db->index[idx]; in TXT_DB_get_by_index()
170 db->arg1 = sk_OPENSSL_PSTRING_find(db->data, k); in TXT_DB_create_index()
171 db->arg2 = i; in TXT_DB_create_index()
182 db->index[field] = idx; in TXT_DB_create_index()
183 db->qual[field] = qual; in TXT_DB_create_index()
197 nn = db->num_fields; in TXT_DB_write()
241 if ((db->qual[i] != NULL) && (db->qual[i] (row) == 0)) in TXT_DB_insert()
255 if ((db->qual[i] != NULL) && (db->qual[i] (row) == 0)) in TXT_DB_insert()
270 if ((db->qual[i] != NULL) && (db->qual[i] (row) == 0)) in TXT_DB_insert()
284 if (db == NULL) in TXT_DB_free()
[all …]
/openssl/apps/
H A Dsrp.c45 for (i = 0; i < sk_OPENSSL_PSTRING_num(db->db->data); i++) { in get_index()
46 pp = sk_OPENSSL_PSTRING_value(db->db->data, i); in get_index()
52 for (i = 0; i < sk_OPENSSL_PSTRING_num(db->db->data); i++) { in get_index()
53 pp = sk_OPENSSL_PSTRING_value(db->db->data, i); in get_index()
68 char **pp = sk_OPENSSL_PSTRING_value(db->db->data, indx); in print_entry()
84 char **pp = sk_OPENSSL_PSTRING_value(db->db->data, userindex); in print_user()
105 if (!TXT_DB_insert(db->db, irow)) { in update_index()
388 for (i = 0; i < sk_OPENSSL_PSTRING_num(db->db->data); i++) { in srp_main()
389 pp = sk_OPENSSL_PSTRING_value(db->db->data, i); in srp_main()
404 gNrow = sk_OPENSSL_PSTRING_value(db->db->data, gNindex); in srp_main()
[all …]
H A Dca.c693 pp = sk_OPENSSL_PSTRING_value(db->db->data, i); in ca_main()
730 TXT_DB_write(bio_out, db->db); in ca_main()
732 sk_OPENSSL_PSTRING_num(db->db->data)); in ca_main()
1186 pp = sk_OPENSSL_PSTRING_value(db->db->data, i); in ca_main()
1809 rrow = TXT_DB_get_by_index(db->db, DB_name, crow); in do_body()
1817 rrow = TXT_DB_get_by_index(db->db, DB_serial, row); in do_body()
1924 if (!TXT_DB_insert(db->db, irow)) { in do_body()
2128 rrow = TXT_DB_get_by_index(db->db, DB_serial, row); in do_revoke()
2153 if (!TXT_DB_insert(db->db, irow)) { in do_revoke()
2235 rrow = TXT_DB_get_by_index(db->db, DB_serial, row); in get_certificate_status()
[all …]
H A Docsp.c64 CA_DB *db, STACK_OF(X509) *ca, X509 *rcert,
71 static char **lookup_serial(CA_DB *db, ASN1_INTEGER *ser);
1029 CA_DB *db, STACK_OF(X509) *ca, X509 *rcert, in make_ocsp_response() argument
1090 inf = lookup_serial(db, serial); in make_ocsp_response()
1176 static char **lookup_serial(CA_DB *db, ASN1_INTEGER *ser) in lookup_serial() argument
1194 rrow = TXT_DB_get_by_index(db->db, DB_serial, row); in lookup_serial()
/openssl/crypto/rsa/
H A Drsa_oaep.c63 unsigned char *db, *seed; in ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex() local
111 db = to + mdlen + 1; in ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex()
117 memset(db + mdlen, 0, emlen - flen - 2 * mdlen - 1); in ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex()
119 db[emlen - flen - mdlen - 1] = 0x01; in ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex()
135 db[i] ^= dbmask[i]; in ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex()
227 db = OPENSSL_malloc(dblen); in RSA_padding_check_PKCS1_OAEP_mgf1()
228 if (db == NULL) in RSA_padding_check_PKCS1_OAEP_mgf1()
263 if (PKCS1_MGF1(db, dblen, seed, mdlen, mgf1md)) in RSA_padding_check_PKCS1_OAEP_mgf1()
266 db[i] ^= maskeddb[i]; in RSA_padding_check_PKCS1_OAEP_mgf1()
316 db[i] = constant_time_select_8(mask, db[i + msg_index], db[i]); in RSA_padding_check_PKCS1_OAEP_mgf1()
[all …]
/openssl/test/
H A Dca_internals_test.c21 CA_DB *db = NULL; in test_do_updatedb() local
56 db = load_index(indexfile, NULL); in test_do_updatedb()
57 if (TEST_ptr_null(db)) { in test_do_updatedb()
63 rv = do_updatedb(db, &testdateutc); in test_do_updatedb()
67 if (!TEST_true(save_index(indexfile, "new", db))) in test_do_updatedb()
74 free_index(db); in test_do_updatedb()
H A Devp_test.c360 if (db != NULL) { in evp_test_buffer_free()
362 OPENSSL_free(db); in evp_test_buffer_free()
378 if (!TEST_ptr(db = OPENSSL_zalloc(sizeof(*db)))) in evp_test_buffer_append()
382 if ((rv = parse_bin(value, &db->buf, &db->buflen)) != 1) in evp_test_buffer_append()
394 db->count = 1; in evp_test_buffer_append()
399 else if (db->buf != NULL && !sk_EVP_TEST_BUFFER_push(*sk, db)) in evp_test_buffer_append()
415 EVP_TEST_BUFFER *db; in evp_test_buffer_ncopy() local
431 memcpy(p, db->buf, db->buflen); in evp_test_buffer_ncopy()
434 db->buf = tbuf; in evp_test_buffer_ncopy()
443 EVP_TEST_BUFFER *db; in evp_test_buffer_set_count() local
[all …]
/openssl/include/openssl/
H A Dtxt_db.h51 long TXT_DB_write(BIO *out, TXT_DB *db);
52 int TXT_DB_create_index(TXT_DB *db, int field, int (*qual) (OPENSSL_STRING *),
54 void TXT_DB_free(TXT_DB *db);
55 OPENSSL_STRING *TXT_DB_get_by_index(TXT_DB *db, int idx,
57 int TXT_DB_insert(TXT_DB *db, OPENSSL_STRING *value);
H A Dlhash.h.in166 …static ossl_inline int lh_##type##_comp_thunk(const void *da, const void *db, OPENSSL_LH_COMPFUNC …
169 return cfn_conv((const type *)da, (const type *)db); \
249 static int lh_##type##_cfn_thunk(const void *da, const void *db, OPENSSL_LH_COMPFUNC cfn) \
252 return cfn_conv((const type *)da, (const type *)db); \
H A Dx509v3.h.in87 char *(*get_string) (void *db, const char *section, const char *value);
88 STACK_OF(CONF_VALUE) *(*get_section) (void *db, const char *section);
89 void (*free_string) (void *db, char *string);
90 void (*free_section) (void *db, STACK_OF(CONF_VALUE) *section);
106 void *db; member
381 # define X509V3_set_ctx_nodb(ctx) (ctx)->db = NULL;
/openssl/crypto/x509/
H A Dv3_conf.c117 if (!ctx->db || !ctx->db_meth) { in do_ext_nconf()
417 return ctx->db_meth->get_section(ctx->db, section); in STACK_OF()
426 ctx->db_meth->free_string(ctx->db, str); in X509V3_string_free()
434 ctx->db_meth->free_section(ctx->db, section); in X509V3_section_free()
439 return NCONF_get_string(db, section, value); in nconf_get_string()
444 return NCONF_get_section(db, section); in STACK_OF()
461 ctx->db = conf; in X509V3_set_nconf()
477 ctx->db = NULL; in X509V3_set_ctx()
530 return CONF_get_string(db, section, value); in conf_lhash_get_string()
535 return CONF_get_section(db, section); in STACK_OF()
[all …]
/openssl/test/certs/
H A Dcyrillic_crl.utf820 84:db:71:03:0b:6e:b8:a7:de:36:9a:50:c4:ed:e9:fa:33:22:
22 2b:ab:41:23:c3:1b:c7:1b:db:0c:89:81:54:6b:a5:6b:c2:64:
23 5f:db:a9:f2:67:bb:bd:44:a2:43:3f:ea:36:76:5b:70:76:20:
H A Dcyrillic.utf826 0d:4c:1a:71:29:93:db:f7:12:f5:dc:df:01:15:18:
28 f3:86:18:87:1b:db:3f:50:fe:21:7a:9c:c1:00:5d:
45 df:a1:d4:df:76:4b:40:60:10:42:62:c4:f9:18:83:db:ff:a0:
H A Dcyrillic.msb26 0d:4c:1a:71:29:93:db:f7:12:f5:dc:df:01:15:18:
28 f3:86:18:87:1b:db:3f:50:fe:21:7a:9c:c1:00:5d:
45 df:a1:d4:df:76:4b:40:60:10:42:62:c4:f9:18:83:db:ff:a0:
H A DrootCA.pem25 c1:88:b2:77:ff:9c:db:fc:6a:44:44:44:f7:85:ec:
57 db:1c:fa:42:1b:6d:1d:b1:51:5f:e4:87:dd:41:24:00:a2:52:
H A Droot-ed25519.pem29 71:15:8f:eb:80:45:00:db:88:9b:66:46:9c:a4:e1:50:c5:59:
/openssl/test/recipes/30-test_evp_pkey_provided/
H A DDSA.priv.txt4 d4:db:2d:96:55:89:ff:ef:a8:5f:47:8f:ca:02:8a:
12 7e:66:06:db:61:86:ac:b5:da:3c:7d:73:7e:54:32:
42 32:7e:2e:b8:2e:c5:4e:d1:9b:db:66:79:7c:fe:af:
47 db:29:c7
54 42:0c:13:0f:e2:31:25:8e:72:12:73:10:db:7f:79:
H A DDSA.pub.txt8 7e:66:06:db:61:86:ac:b5:da:3c:7d:73:7e:54:32:
38 32:7e:2e:b8:2e:c5:4e:d1:9b:db:66:79:7c:fe:af:
43 db:29:c7
50 42:0c:13:0f:e2:31:25:8e:72:12:73:10:db:7f:79:
H A DDH.pub.txt11 9a:1a:10:d4:81:53:cf:83:04:18:1c:e1:db:e1:65:
H A DDH.priv.txt14 9a:1a:10:d4:81:53:cf:83:04:18:1c:e1:db:e1:65:
/openssl/apps/include/
H A Dapps.h220 TXT_DB *db; member
227 extern int do_updatedb(CA_DB *db, time_t *now);
242 int index_index(CA_DB *db);
243 int save_index(const char *dbfile, const char *suffix, CA_DB *db);
246 void free_index(CA_DB *db);
/openssl/test/quic-openssl-docker/
H A Drun_endpoint.sh67 …SSL_SESSION_FILE=./session.db SSLKEYLOGFILE=/logs/keys.log SSL_CERT_FILE=/certs/ca.pem SSL_CERT_DI…
79 …SSL_CIPHER_SUITES=TLS_CHACHA20_POLY1305_SHA256 SSL_SESSION_FILE=./session.db SSLKEYLOGFILE=/logs/k…
/openssl/apps/lib/
H A Dapps.c1738 retdb->db = tmpdb; in load_index()
1768 int index_index(CA_DB *db) in index_index() argument
1770 if (!TXT_DB_create_index(db->db, DB_serial, NULL, in index_index()
1775 db->db->error, db->db->arg1, db->db->arg2); in index_index()
1780 && !TXT_DB_create_index(db->db, DB_name, index_name_qual, in index_index()
1784 db->db->error, db->db->arg1, db->db->arg2); in index_index()
1819 j = TXT_DB_write(out, db->db); in save_index()
1907 void free_index(CA_DB *db) in free_index() argument
1909 if (db) { in free_index()
1910 TXT_DB_free(db->db); in free_index()
[all …]
/openssl/test/recipes/75-test_quicapi_data/
H A Dssltraceref-zlib.txt192 d0:87:43:db:85:07:07:0f:7d:38:7a:fd:d1:d3:ee:
H A Dssltraceref.txt190 d0:87:43:db:85:07:07:0f:7d:38:7a:fd:d1:d3:ee:

Completed in 56 milliseconds

12