Home
last modified time | relevance | path

Searched refs:trust (Results 1 – 25 of 38) sorted by relevance

12

/external/openssl/crypto/x509/
Dx509_trs.c68 static int trust_1oidany(X509_TRUST *trust, X509 *x, int flags);
69 static int trust_1oid(X509_TRUST *trust, X509 *x, int flags);
70 static int trust_compat(X509_TRUST *trust, X509 *x, int flags);
99 return (*a)->trust - (*b)->trust; in tr_cmp()
102 int (*X509_TRUST_set_default(int (*trust)(int , X509 *, int)))(int, X509 *, int) in X509_TRUST_set_default()
106 default_trust = trust; in X509_TRUST_set_default()
141 tmp.trust = id; in X509_TRUST_get_by_id()
148 int X509_TRUST_set(int *t, int trust) in X509_TRUST_set() argument
150 if(X509_TRUST_get_by_id(trust) == -1) { in X509_TRUST_set()
154 *t = trust; in X509_TRUST_set()
[all …]
Dx509_vpm.c76 param->trust = 0; in x509_verify_param_zero()
172 x509_verify_param_copy(trust, 0); in X509_VERIFY_PARAM_inherit()
239 int X509_VERIFY_PARAM_set_trust(X509_VERIFY_PARAM *param, int trust) in X509_VERIFY_PARAM_set_trust() argument
241 return X509_TRUST_set(&param->trust, trust); in X509_VERIFY_PARAM_set_trust()
Dx509_vfy.c294 if (param->trust > 0) ok = check_trust(ctx); in X509_verify_cert()
547 ok = X509_check_trust(x, ctx->param->trust, 0); in check_trust()
1263 int X509_STORE_CTX_set_trust(X509_STORE_CTX *ctx, int trust) in X509_STORE_CTX_set_trust() argument
1265 return X509_STORE_CTX_purpose_inherit(ctx, 0, 0, trust); in X509_STORE_CTX_set_trust()
1279 int purpose, int trust) in X509_STORE_CTX_purpose_inherit() argument
1296 if (ptmp->trust == X509_TRUST_DEFAULT) in X509_STORE_CTX_purpose_inherit()
1308 if (!trust) trust = ptmp->trust; in X509_STORE_CTX_purpose_inherit()
1310 if (trust) in X509_STORE_CTX_purpose_inherit()
1312 idx = X509_TRUST_get_by_id(trust); in X509_STORE_CTX_purpose_inherit()
1322 if (trust && !ctx->param->trust) ctx->param->trust = trust; in X509_STORE_CTX_purpose_inherit()
Dx509_vfy.h171 int trust; /* trust setting to check */ member
389 int X509_STORE_set_trust(X509_STORE *ctx, int trust);
456 int X509_STORE_CTX_set_trust(X509_STORE_CTX *ctx, int trust);
458 int purpose, int trust);
486 int X509_VERIFY_PARAM_set_trust(X509_VERIFY_PARAM *param, int trust);
Dx509_lu.c556 int X509_STORE_set_trust(X509_STORE *ctx, int trust) in X509_STORE_set_trust() argument
558 return X509_VERIFY_PARAM_set_trust(ctx->param, trust); in X509_STORE_set_trust()
Dx509.h268 STACK_OF(ASN1_OBJECT) *trust; /* trusted uses */
310 int trust; member
955 int (*X509_TRUST_set_default(int (*trust)(int , X509 *, int)))(int, X509 *, int);
956 int X509_TRUST_set(int *t, int trust);
/external/openssl/crypto/asn1/
Dx_x509a.c75 ASN1_SEQUENCE_OF_OPT(X509_CERT_AUX, trust, ASN1_OBJECT),
143 if(!aux->trust in X509_add1_trust_object()
144 && !(aux->trust = sk_ASN1_OBJECT_new_null())) return 0; in X509_add1_trust_object()
145 return sk_ASN1_OBJECT_push(aux->trust, objtmp); in X509_add1_trust_object()
161 if(x->aux && x->aux->trust) { in X509_trust_clear()
162 sk_ASN1_OBJECT_pop_free(x->aux->trust, ASN1_OBJECT_free); in X509_trust_clear()
163 x->aux->trust = NULL; in X509_trust_clear()
Dt_x509a.c73 if(aux->trust) { in X509_CERT_AUX_print()
77 for(i = 0; i < sk_ASN1_OBJECT_num(aux->trust); i++) { in X509_CERT_AUX_print()
81 sk_ASN1_OBJECT_value(aux->trust, i), 0); in X509_CERT_AUX_print()
/external/openssl/include/openssl/
Dx509_vfy.h171 int trust; /* trust setting to check */ member
389 int X509_STORE_set_trust(X509_STORE *ctx, int trust);
456 int X509_STORE_CTX_set_trust(X509_STORE_CTX *ctx, int trust);
458 int purpose, int trust);
486 int X509_VERIFY_PARAM_set_trust(X509_VERIFY_PARAM *param, int trust);
Dssl.h758 int trust; /* Trust setting */
928 int trust; /* Trust setting */
1447 int SSL_CTX_set_trust(SSL_CTX *s, int trust);
1448 int SSL_set_trust(SSL *s, int trust);
Dx509.h268 STACK_OF(ASN1_OBJECT) *trust; /* trusted uses */
310 int trust; member
955 int (*X509_TRUST_set_default(int (*trust)(int , X509 *, int)))(int, X509 *, int);
956 int X509_TRUST_set(int *t, int trust);
Dx509v3.h408 int trust; /* Default trust ID */ member
608 int X509_PURPOSE_add(int id, int trust, int flags,
/external/wpa_supplicant/
Dx509v3.c1538 struct x509_certificate *cert, *trust; in x509_certificate_chain_validate() local
1600 for (trust = trusted; trust; trust = trust->next) { in x509_certificate_chain_validate()
1601 if (x509_name_compare(&cert->issuer, &trust->subject) in x509_certificate_chain_validate()
1606 if (trust) { in x509_certificate_chain_validate()
1609 if (x509_valid_issuer(trust) < 0) { in x509_certificate_chain_validate()
1614 if (x509_certificate_check_signature(trust, cert) < 0) in x509_certificate_chain_validate()
/external/openssl/apps/
Dx509.c174 STACK_OF(ASN1_OBJECT) *trust = NULL, *reject = NULL; in MAIN()
339 if (!trust) trust = sk_ASN1_OBJECT_new_null(); in MAIN()
340 sk_ASN1_OBJECT_push(trust, objtmp); in MAIN()
681 if (trust) in MAIN()
683 for (i = 0; i < sk_ASN1_OBJECT_num(trust); i++) in MAIN()
685 objtmp = sk_ASN1_OBJECT_value(trust, i); in MAIN()
1080 sk_ASN1_OBJECT_pop_free(trust, ASN1_OBJECT_free); in MAIN()
/external/openssl/crypto/x509v3/
Dv3_purp.c170 int X509_PURPOSE_add(int id, int trust, int flags, in X509_PURPOSE_add() argument
209 ptmp->trust = trust; in X509_PURPOSE_add()
265 return xp->trust; in X509_PURPOSE_get_trust()
Dx509v3.h408 int trust; /* Default trust ID */ member
608 int X509_PURPOSE_add(int id, int trust, int flags,
/external/bluez/utils/hcid/
Dstorage.c583 gboolean trust) in write_trust() argument
602 if (trusted == trust) { in write_trust()
609 if (trust) in write_trust()
615 if (!trust && !services) in write_trust()
Dhcid.h210 int write_trust(bdaddr_t *local, const char *addr, const char *service, gboolean trust);
Dadapter.c3589 gboolean trust = TRUE; in adapter_set_trusted() local
3595 "Trusted", DBUS_TYPE_BOOLEAN, &trust); in adapter_set_trusted()
3663 gboolean trust = FALSE; in adapter_remove_trust() local
3669 "Trusted", DBUS_TYPE_BOOLEAN, &trust); in adapter_remove_trust()
/external/openssl/crypto/rc2/
Dversion17 far I trust it. It is about the same speed as IDEA and DES.
/external/openssl/ssl/
Dssl_lib.c305 s->trust = ctx->trust; in SSL_new()
440 int SSL_CTX_set_trust(SSL_CTX *s, int trust) in SSL_CTX_set_trust() argument
442 return X509_VERIFY_PARAM_set_trust(s->param, trust); in SSL_CTX_set_trust()
445 int SSL_set_trust(SSL *s, int trust) in SSL_set_trust() argument
447 return X509_VERIFY_PARAM_set_trust(s->param, trust); in SSL_set_trust()
Dssl.h758 int trust; /* Trust setting */
928 int trust; /* Trust setting */
1447 int SSL_CTX_set_trust(SSL_CTX *s, int trust);
1448 int SSL_set_trust(SSL *s, int trust);
/external/webkit/WebKit/mac/History/
DWebHistoryItem.mm364 // Can't trust data on disk, and we've had at least one report of this (<rdar://6572300>).
DWebHistory.mm526 // we don't trust data obtained from elsewhere, so double-check
/external/strace/
DChangeLog92 trust cmsg.cmsg_len to avoid read beyond the end of allocated

12