Home
last modified time | relevance | path

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

/external/chromium/net/base/
Dcert_database_nss_unittest.cc211 EXPECT_TRUE(trust.HasTrustedCA(PR_TRUE, PR_FALSE, PR_FALSE)); in TEST_F()
212 EXPECT_FALSE(trust.HasTrustedCA(PR_FALSE, PR_TRUE, PR_FALSE)); in TEST_F()
213 EXPECT_FALSE(trust.HasTrustedCA(PR_FALSE, PR_FALSE, PR_TRUE)); in TEST_F()
214 EXPECT_FALSE(trust.HasTrustedCA(PR_TRUE, PR_TRUE, PR_TRUE)); in TEST_F()
215 EXPECT_TRUE(trust.HasCA(PR_TRUE, PR_TRUE, PR_TRUE)); in TEST_F()
243 EXPECT_FALSE(trust.HasTrustedCA(PR_TRUE, PR_FALSE, PR_FALSE)); in TEST_F()
244 EXPECT_TRUE(trust.HasTrustedCA(PR_FALSE, PR_TRUE, PR_FALSE)); in TEST_F()
245 EXPECT_FALSE(trust.HasTrustedCA(PR_FALSE, PR_FALSE, PR_TRUE)); in TEST_F()
246 EXPECT_TRUE(trust.HasCA(PR_TRUE, PR_TRUE, PR_TRUE)); in TEST_F()
274 EXPECT_FALSE(trust.HasTrustedCA(PR_TRUE, PR_FALSE, PR_FALSE)); in TEST_F()
[all …]
Dcert_database_nss.cc138 need_rw ? PR_TRUE : PR_FALSE, // needRW in ListModules()
139 PR_TRUE, // loadCerts (unused) in ListModules()
227 return trust.HasTrustedCA(PR_TRUE, PR_FALSE, PR_FALSE) * TRUSTED_SSL + in GetCertTrust()
228 trust.HasTrustedCA(PR_FALSE, PR_TRUE, PR_FALSE) * TRUSTED_EMAIL + in GetCertTrust()
229 trust.HasTrustedCA(PR_FALSE, PR_FALSE, PR_TRUE) * TRUSTED_OBJ_SIGN; in GetCertTrust()
231 return trust.HasTrustedPeer(PR_TRUE, PR_FALSE, PR_FALSE) * TRUSTED_SSL + in GetCertTrust()
232 trust.HasTrustedPeer(PR_FALSE, PR_TRUE, PR_FALSE) * TRUSTED_EMAIL + in GetCertTrust()
233 trust.HasTrustedPeer(PR_FALSE, PR_FALSE, PR_TRUE) * TRUSTED_OBJ_SIGN; in GetCertTrust()
Dkeygen_handler_nss.cc31 if (SECSuccess != PK11_Authenticate(slot.get(), PR_TRUE, in GenKeyAndSignChallenge()
Ddnssec_keyset.cc233 PORT_FreeArena(arena, PR_TRUE); in VerifySignature()
247 PORT_FreeArena(arena, PR_TRUE); // Done with sig_alg_id. in VerifySignature()
266 VFY_DestroyContext(vfy_context, PR_TRUE); in VerifySignature()
Dnss_memio.c287 data->value.non_blocking = PR_TRUE; in memio_GetSocketOption()
405 ((PRFilePrivate *)secret)->eof = PR_TRUE; in memio_PutReadResult()
Dx509_certificate_nss.cc254 SECITEM_FreeItem(decode_item, PR_TRUE); in ParsePrincipal()
479 in_param.value.scalar.b = PR_TRUE; in RetryPKIXVerifyCertWithWorkarounds()
781 cert_handle_, PR_Now(), PR_TRUE); in Verify()
931 PR_FALSE, PR_TRUE); in CreateOSCertHandleFromBytes()
Dx509_certificate_mac.cc534 SECITEM_FreeItem(decode_item, PR_TRUE); in CERTNameToCSSMOIDVector()
/external/chromium/crypto/
Dscoped_nss_types.h36 PR_TRUE> > ScopedPK11Context;
44 PR_TRUE> > ScopedSECAlgorithmID;
48 PR_TRUE> > ScopedSECItem;
Drsa_private_key_nss.cc61 PR_TRUE /* permanent */, in CreateSensitive()
62 PR_TRUE /* sensitive */); in CreateSensitive()
77 PR_TRUE /* permanent */, in CreateSensitiveFromPrivateKeyInfo()
78 PR_TRUE /* sensitive */); in CreateSensitiveFromPrivateKeyInfo()
136 SECITEM_FreeItem(ck_id, PR_TRUE); in FindFromPublicKeyInfo()
178 SECITEM_FreeItem(der_pubkey, PR_TRUE); in ExportPublicKey()
Dsignature_verifier_nss.cc61 PORT_FreeArena(arena, PR_TRUE); in VerifyInit()
74 PORT_FreeArena(arena, PR_TRUE); // Done with sig_alg_id. in VerifyInit()
107 VFY_DestroyContext(vfy_context_, PR_TRUE); in Reset()
Dsignature_creator_nss.cc19 SGN_DestroyContext(sign_context_, PR_TRUE); in ~SignatureCreator()
/external/chromium/chrome/browser/importer/
Dnss_decryptor_system_nss.cc174 if (ctx) PK11_DestroyContext(ctx, PR_TRUE); in pk11Decrypt()
263 if (arena) PORT_FreeArena(arena, PR_TRUE); in PK11SDR_DecryptWithSlot()
265 if (params) SECITEM_ZfreeItem(params, PR_TRUE); in PK11SDR_DecryptWithSlot()
Dnss_decryptor_win.h87 #define PR_TRUE 1 macro
Dnss_decryptor_mac.h89 #define PR_TRUE 1 macro
Dnss_decryptor.cc76 SECStatus result = PK11_Authenticate(slot, PR_TRUE, NULL); in Decrypt()
/external/wpa_supplicant_8/src/crypto/
Dtls_nss.c167 data->value.non_blocking = PR_TRUE; in nss_io_getsocketoption()
257 SSL_OptionSetDefault(SSL_ENABLE_TLS, PR_TRUE) != SECSuccess) { in tls_init()
345 if (SSL_OptionSet(conn->fd, SSL_SECURITY, PR_TRUE) != SECSuccess || in tls_connection_init()
346 SSL_OptionSet(conn->fd, SSL_HANDSHAKE_AS_CLIENT, PR_TRUE) != in tls_connection_init()
350 SSL_OptionSet(conn->fd, SSL_ENABLE_TLS, PR_TRUE) != SECSuccess || in tls_connection_init()
Dcrypto_nss.c104 PK11_DestroyContext(ctx, PR_TRUE); in des_encrypt()
108 SECITEM_FreeItem(param, PR_TRUE); in des_encrypt()
/external/chromium/net/socket/
Dssl_server_socket_nss.cc200 rv = SSL_OptionSet(nss_fd_, SSL_SECURITY, PR_TRUE); in InitializeSSLOptions()
212 rv = SSL_OptionSet(nss_fd_, SSL_ENABLE_SSL3, PR_TRUE); in InitializeSSLOptions()
246 rv = SSL_OptionSet(nss_fd_, SSL_HANDSHAKE_AS_SERVER, PR_TRUE); in InitializeSSLOptions()
295 CERT_GetDefaultCertDB(), &der_cert, NULL, PR_FALSE, PR_TRUE); in InitializeSSLOptions()
344 rv = SSL_ResetHandshake(nss_fd_, PR_TRUE); in InitializeSSLOptions()
Dssl_client_socket_nss.cc868 rv = SSL_OptionSet(nss_fd_, SSL_SECURITY, PR_TRUE); in InitializeSSLOptions()
909 rv = SSL_OptionSet(nss_fd_, SSL_ENABLE_SESSION_TICKETS, PR_TRUE); in InitializeSSLOptions()
965 rv = SSL_OptionSet(nss_fd_, SSL_ENABLE_OCSP_STAPLING, PR_TRUE); in InitializeSSLOptions()
971 rv = SSL_OptionSet(nss_fd_, SSL_HANDSHAKE_AS_CLIENT, PR_TRUE); in InitializeSSLOptions()
1975 db_handle, &der_cert, NULL, PR_FALSE, PR_TRUE); in PlatformClientAuthHandler()
1987 db_handle, &der_cert, NULL, PR_FALSE, PR_TRUE); in PlatformClientAuthHandler()
2130 CERT_GetDefaultCertDB(), &der_cert, NULL, PR_FALSE, PR_TRUE); in PlatformClientAuthHandler()
2227 if (CERT_CheckCertValidTimes(node->cert, PR_Now(), PR_TRUE) != in ClientAuthHandler()
Dnss_ssl_util.cc60 SSL_OptionSetDefault(SSL_SECURITY, PR_TRUE); in NSSSSLInitSingleton()
Ddns_cert_provenance_checker.cc326 SECITEM_FreeItem(pub_key_serialized, PR_TRUE); in BuildEncryptedReport()
/external/chromium/net/http/
Ddes.cc151 PK11_DestroyContext(ctxt, PR_TRUE); in DESEncrypt()
155 SECITEM_FreeItem(param, PR_TRUE); in DESEncrypt()
/external/chromium/chrome/browser/ui/
Dcrypto_module_password_dialog_nss.cc111 retry_ = PR_TRUE; in GotPassword()
/external/chromium/base/third_party/nspr/
Dprtypes.h459 #define PR_TRUE 1 macro
/external/chromium/chrome/common/net/
Dx509_certificate_model_nss.cc276 SECITEM_FreeItem(sec_item, PR_TRUE); in GetPkcs11Id()