Home
last modified time | relevance | path

Searched refs:vpm (Results 1 – 25 of 181) sorted by relevance

12345678

/third_party/openssl/test/
Dx509_time_test.c300 static int test_X509_cmp_timeframe_vpm(const X509_VERIFY_PARAM *vpm, in test_X509_cmp_timeframe_vpm() argument
305 int always_0 = vpm != NULL in test_X509_cmp_timeframe_vpm()
306 && (X509_VERIFY_PARAM_get_flags(vpm) & X509_V_FLAG_USE_CHECK_TIME) == 0 in test_X509_cmp_timeframe_vpm()
307 && (X509_VERIFY_PARAM_get_flags(vpm) & X509_V_FLAG_NO_CHECK_TIME) != 0; in test_X509_cmp_timeframe_vpm()
310 && TEST_int_eq(X509_cmp_timeframe(vpm, asn1_before, asn1_after), 0) in test_X509_cmp_timeframe_vpm()
311 && TEST_int_eq(X509_cmp_timeframe(vpm, asn1_before, NULL), 0) in test_X509_cmp_timeframe_vpm()
312 && TEST_int_eq(X509_cmp_timeframe(vpm, NULL, asn1_after), 0) in test_X509_cmp_timeframe_vpm()
313 && TEST_int_eq(X509_cmp_timeframe(vpm, NULL, NULL), 0) in test_X509_cmp_timeframe_vpm()
314 && TEST_int_eq(X509_cmp_timeframe(vpm, asn1_after, asn1_after), in test_X509_cmp_timeframe_vpm()
316 && TEST_int_eq(X509_cmp_timeframe(vpm, asn1_before, asn1_before), in test_X509_cmp_timeframe_vpm()
[all …]
Dcmp_vfy_test.c229 X509_VERIFY_PARAM *vpm = X509_STORE_get0_param(ts); in test_validate_msg_signature_partial_chain() local
230 X509_VERIFY_PARAM_set_flags(vpm, X509_V_FLAG_PARTIAL_CHAIN); in test_validate_msg_signature_partial_chain()
232 X509_VERIFY_PARAM_set_time(vpm, test_time_after_expiration); in test_validate_msg_signature_partial_chain()
390 X509_VERIFY_PARAM *vpm = X509_STORE_get0_param(ts); in setup_path() local
391 X509_VERIFY_PARAM_set_time(vpm, test_time_after_expiration); in setup_path()
/third_party/mesa3d/src/mesa/vbo/
Dvbo_save.c47 for (gl_vertex_processing_mode vpm = VP_MODE_FF; vpm < VP_MODE_MAX; ++vpm) in vbo_save_init() local
48 save->VAO[vpm] = NULL; in vbo_save_init()
61 for (gl_vertex_processing_mode vpm = VP_MODE_FF; vpm < VP_MODE_MAX; ++vpm) in vbo_save_destroy() local
62 _mesa_reference_vao(ctx, &save->VAO[vpm], NULL); in vbo_save_destroy()
/third_party/openssl/apps/lib/
Dopt.c677 int opt_verify(int opt, X509_VERIFY_PARAM *vpm) in opt_verify() argument
685 OPENSSL_assert(vpm != NULL); in opt_verify()
699 X509_VERIFY_PARAM_add0_policy(vpm, otmp); in opt_verify()
715 if (!X509_VERIFY_PARAM_set_purpose(vpm, i)) { in opt_verify()
728 X509_VERIFY_PARAM_set1(vpm, vtmp); in opt_verify()
733 X509_VERIFY_PARAM_set_depth(vpm, i); in opt_verify()
738 X509_VERIFY_PARAM_set_auth_level(vpm, i); in opt_verify()
748 X509_VERIFY_PARAM_set_time(vpm, (time_t)t); in opt_verify()
751 if (!X509_VERIFY_PARAM_set1_host(vpm, opt_arg(), 0)) in opt_verify()
755 if (!X509_VERIFY_PARAM_set1_email(vpm, opt_arg(), 0)) in opt_verify()
[all …]
/third_party/node/deps/openssl/openssl/apps/lib/
Dopt.c677 int opt_verify(int opt, X509_VERIFY_PARAM *vpm) in opt_verify() argument
685 OPENSSL_assert(vpm != NULL); in opt_verify()
699 if (!X509_VERIFY_PARAM_add0_policy(vpm, otmp)) { in opt_verify()
720 if (!X509_VERIFY_PARAM_set_purpose(vpm, i)) { in opt_verify()
733 X509_VERIFY_PARAM_set1(vpm, vtmp); in opt_verify()
738 X509_VERIFY_PARAM_set_depth(vpm, i); in opt_verify()
743 X509_VERIFY_PARAM_set_auth_level(vpm, i); in opt_verify()
753 X509_VERIFY_PARAM_set_time(vpm, (time_t)t); in opt_verify()
756 if (!X509_VERIFY_PARAM_set1_host(vpm, opt_arg(), 0)) in opt_verify()
760 if (!X509_VERIFY_PARAM_set1_email(vpm, opt_arg(), 0)) in opt_verify()
[all …]
/third_party/node/deps/openssl/openssl/apps/
Dts.c68 char *untrusted, X509_VERIFY_PARAM *vpm);
74 X509_VERIFY_PARAM *vpm);
76 const char *CAstore, X509_VERIFY_PARAM *vpm);
175 X509_VERIFY_PARAM *vpm = NULL; in ts_main() local
181 if ((vpm = X509_VERIFY_PARAM_new()) == NULL) in ts_main()
283 if (!opt_verify(o, vpm)) in ts_main()
339 vpmtouched ? vpm : NULL); in ts_main()
345 X509_VERIFY_PARAM_free(vpm); in ts_main()
850 X509_VERIFY_PARAM *vpm) in verify_command() argument
870 vpm)) == NULL) in verify_command()
[all …]
Dverify.c86 X509_VERIFY_PARAM *vpm = NULL; in verify_main() local
92 if ((vpm = X509_VERIFY_PARAM_new()) == NULL) in verify_main()
124 if (!opt_verify(o, vpm)) in verify_main()
215 X509_STORE_set1_param(store, vpm); in verify_main()
235 X509_VERIFY_PARAM_free(vpm); in verify_main()
Dsmime.c142 X509_VERIFY_PARAM *vpm = NULL; in smime_main() local
160 if ((vpm = X509_VERIFY_PARAM_new()) == NULL) in smime_main()
351 if (!opt_verify(o, vpm)) in smime_main()
540 X509_STORE_set1_param(store, vpm); in smime_main()
659 X509_VERIFY_PARAM_free(vpm); in smime_main()
Dcmp.c196 static X509_VERIFY_PARAM *vpm = NULL; variable
935 X509_STORE *ts = load_certstore(input, opt_otherpass, desc, vpm); in load_trusted()
942 if (X509_STORE_set1_param(ts, vpm /* may be NULL */) in load_trusted()
961 if ((certs = load_certs_multifile(files, opt_otherpass, desc, vpm)) == NULL) in setup_certs()
1279 vpm)) in setup_ssl_ctx()
1336 vpm); in setup_ssl_ctx()
1458 vpm)) in setup_protection_ctx()
2276 : !opt_verify(opt_next(), vpm)) { in read_config()
2460 if (!opt_verify(o, vpm)) in get_opts()
2822 vpm = X509_VERIFY_PARAM_new(); in cmp_main()
[all …]
/third_party/openssl/apps/
Dts.c68 char *untrusted, X509_VERIFY_PARAM *vpm);
74 X509_VERIFY_PARAM *vpm);
76 const char *CAstore, X509_VERIFY_PARAM *vpm);
175 X509_VERIFY_PARAM *vpm = NULL; in ts_main() local
181 if ((vpm = X509_VERIFY_PARAM_new()) == NULL) in ts_main()
283 if (!opt_verify(o, vpm)) in ts_main()
339 vpmtouched ? vpm : NULL); in ts_main()
345 X509_VERIFY_PARAM_free(vpm); in ts_main()
850 X509_VERIFY_PARAM *vpm) in verify_command() argument
870 vpm)) == NULL) in verify_command()
[all …]
Dverify.c86 X509_VERIFY_PARAM *vpm = NULL; in verify_main() local
92 if ((vpm = X509_VERIFY_PARAM_new()) == NULL) in verify_main()
124 if (!opt_verify(o, vpm)) in verify_main()
215 X509_STORE_set1_param(store, vpm); in verify_main()
235 X509_VERIFY_PARAM_free(vpm); in verify_main()
Dsmime.c142 X509_VERIFY_PARAM *vpm = NULL; in smime_main() local
160 if ((vpm = X509_VERIFY_PARAM_new()) == NULL) in smime_main()
351 if (!opt_verify(o, vpm)) in smime_main()
539 X509_STORE_set1_param(store, vpm); in smime_main()
658 X509_VERIFY_PARAM_free(vpm); in smime_main()
Dcmp.c196 static X509_VERIFY_PARAM *vpm = NULL; variable
935 X509_STORE *ts = load_certstore(input, opt_otherpass, desc, vpm); in load_trusted()
942 if (X509_STORE_set1_param(ts, vpm /* may be NULL */) in load_trusted()
961 if ((certs = load_certs_multifile(files, opt_otherpass, desc, vpm)) == NULL) in setup_certs()
1279 vpm)) in setup_ssl_ctx()
1336 vpm); in setup_ssl_ctx()
1458 vpm)) in setup_protection_ctx()
2275 : !opt_verify(opt_next(), vpm)) { in read_config()
2459 if (!opt_verify(o, vpm)) in get_opts()
2821 vpm = X509_VERIFY_PARAM_new(); in cmp_main()
[all …]
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_nir_lower_io.c119 nir_ssa_def *vpm = vpm_reads[0]; in vc4_nir_get_vattr_channel_vpm() local
121 temp = nir_ixor(b, vpm, nir_imm_int(b, 0x80808080)); in vc4_nir_get_vattr_channel_vpm()
136 return vc4_nir_unpack_8f(b, vpm, swiz); in vc4_nir_get_vattr_channel_vpm()
138 return nir_i2f32(b, vc4_nir_unpack_8i(b, vpm, swiz)); in vc4_nir_get_vattr_channel_vpm()
144 nir_ssa_def *vpm = vpm_reads[swiz / 2]; in vc4_nir_get_vattr_channel_vpm() local
150 temp = nir_i2f32(b, vc4_nir_unpack_16i(b, vpm, swiz & 1)); in vc4_nir_get_vattr_channel_vpm()
158 temp = nir_i2f32(b, vc4_nir_unpack_16u(b, vpm, swiz & 1)); in vc4_nir_get_vattr_channel_vpm()
/third_party/node/deps/openssl/openssl/crypto/x509/
Dx509_vpm.c36 static int int_x509_param_set_hosts(X509_VERIFY_PARAM *vpm, int mode, in int_x509_param_set_hosts() argument
54 sk_OPENSSL_STRING_pop_free(vpm->hosts, str_free); in int_x509_param_set_hosts()
55 vpm->hosts = NULL; in int_x509_param_set_hosts()
64 if (vpm->hosts == NULL && in int_x509_param_set_hosts()
65 (vpm->hosts = sk_OPENSSL_STRING_new_null()) == NULL) { in int_x509_param_set_hosts()
70 if (!sk_OPENSSL_STRING_push(vpm->hosts, copy)) { in int_x509_param_set_hosts()
72 if (sk_OPENSSL_STRING_num(vpm->hosts) == 0) { in int_x509_param_set_hosts()
73 sk_OPENSSL_STRING_free(vpm->hosts); in int_x509_param_set_hosts()
74 vpm->hosts = NULL; in int_x509_param_set_hosts()
Dx509_vfy.c770 static int check_hosts(X509 *x, X509_VERIFY_PARAM *vpm) in check_hosts() argument
773 int n = sk_OPENSSL_STRING_num(vpm->hosts); in check_hosts()
776 if (vpm->peername != NULL) { in check_hosts()
777 OPENSSL_free(vpm->peername); in check_hosts()
778 vpm->peername = NULL; in check_hosts()
781 name = sk_OPENSSL_STRING_value(vpm->hosts, i); in check_hosts()
782 if (X509_check_host(x, name, 0, vpm->hostflags, &vpm->peername) > 0) in check_hosts()
790 X509_VERIFY_PARAM *vpm = ctx->param; in check_id() local
793 if (vpm->hosts != NULL && check_hosts(x, vpm) <= 0) { in check_id()
797 if (vpm->email != NULL in check_id()
[all …]
Dt_x509.c479 X509_VERIFY_PARAM *vpm = X509_STORE_get0_param(ts); in X509_STORE_CTX_print_verify_cb() local
486 while ((str = X509_VERIFY_PARAM_get0_host(vpm, idx++)) != NULL) in X509_STORE_CTX_print_verify_cb()
491 str = X509_VERIFY_PARAM_get0_email(vpm); in X509_STORE_CTX_print_verify_cb()
496 str = X509_VERIFY_PARAM_get1_ip_asc(vpm); in X509_STORE_CTX_print_verify_cb()
/third_party/openssl/crypto/x509/
Dx509_vpm.c36 static int int_x509_param_set_hosts(X509_VERIFY_PARAM *vpm, int mode, in int_x509_param_set_hosts() argument
54 sk_OPENSSL_STRING_pop_free(vpm->hosts, str_free); in int_x509_param_set_hosts()
55 vpm->hosts = NULL; in int_x509_param_set_hosts()
64 if (vpm->hosts == NULL && in int_x509_param_set_hosts()
65 (vpm->hosts = sk_OPENSSL_STRING_new_null()) == NULL) { in int_x509_param_set_hosts()
70 if (!sk_OPENSSL_STRING_push(vpm->hosts, copy)) { in int_x509_param_set_hosts()
72 if (sk_OPENSSL_STRING_num(vpm->hosts) == 0) { in int_x509_param_set_hosts()
73 sk_OPENSSL_STRING_free(vpm->hosts); in int_x509_param_set_hosts()
74 vpm->hosts = NULL; in int_x509_param_set_hosts()
Dx509_vfy.c770 static int check_hosts(X509 *x, X509_VERIFY_PARAM *vpm) in check_hosts() argument
773 int n = sk_OPENSSL_STRING_num(vpm->hosts); in check_hosts()
776 if (vpm->peername != NULL) { in check_hosts()
777 OPENSSL_free(vpm->peername); in check_hosts()
778 vpm->peername = NULL; in check_hosts()
781 name = sk_OPENSSL_STRING_value(vpm->hosts, i); in check_hosts()
782 if (X509_check_host(x, name, 0, vpm->hostflags, &vpm->peername) > 0) in check_hosts()
790 X509_VERIFY_PARAM *vpm = ctx->param; in check_id() local
793 if (vpm->hosts != NULL && check_hosts(x, vpm) <= 0) { in check_id()
797 if (vpm->email != NULL in check_id()
[all …]
Dt_x509.c481 X509_VERIFY_PARAM *vpm = X509_STORE_get0_param(ts); in X509_STORE_CTX_print_verify_cb() local
488 while ((str = X509_VERIFY_PARAM_get0_host(vpm, idx++)) != NULL) in X509_STORE_CTX_print_verify_cb()
493 str = X509_VERIFY_PARAM_get0_email(vpm); in X509_STORE_CTX_print_verify_cb()
498 str = X509_VERIFY_PARAM_get1_ip_asc(vpm); in X509_STORE_CTX_print_verify_cb()
/third_party/openssl/doc/man3/
DSSL_CTX_get0_param.pod15 int SSL_CTX_set1_param(SSL_CTX *ctx, X509_VERIFY_PARAM *vpm);
16 int SSL_set1_param(SSL *ssl, X509_VERIFY_PARAM *vpm);
31 to B<vpm> for B<ctx> or B<ssl>.
60 X509_VERIFY_PARAM *vpm = SSL_get0_param(ssl);
61 X509_VERIFY_PARAM_set1_host(vpm, "www.foo.com", 0);
DX509_cmp_time.pod13 int X509_cmp_timeframe(const X509_VERIFY_PARAM *vpm,
29 included in the verification parameters I<vpm> if they are not NULL and contain
64 X509_cmp_timeframe() returns 0 if I<vpm> is not NULL and the verification
/third_party/openssl/apps/include/
Dapps.h134 X509_VERIFY_PARAM *vpm);
136 const char *desc, X509_VERIFY_PARAM *vpm);
138 X509_VERIFY_PARAM *vpm);
/third_party/node/deps/openssl/openssl/apps/include/
Dapps.h134 X509_VERIFY_PARAM *vpm);
136 const char *desc, X509_VERIFY_PARAM *vpm);
138 X509_VERIFY_PARAM *vpm);
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_assembler.cpp88 void emit_loop_begin(bool vpm);
706 m_bc->cf_last->vpm = (m_bc->type == PIPE_SHADER_FRAGMENT) && in visit()
707 fetch_instr.has_fetch_flag(FetchInstr::vpm); in visit()
789 cf->vpm = m_bc->type == PIPE_SHADER_FRAGMENT; in visit()
891 emit_loop_begin(instr.has_instr_flag(Instr::vpm)); in visit()
963 m_bc->cf_last->vpm = PIPE_SHADER_FRAGMENT == m_bc->type; in visit()
1080 void AssamblerVisitor::emit_loop_begin(bool vpm) in emit_loop_begin() argument
1083 m_bc->cf_last->vpm = vpm && m_bc->type == PIPE_SHADER_FRAGMENT; in emit_loop_begin()

12345678