/external/chromium/net/base/ |
D | cert_database_nss_unittest.cc | 211 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 …]
|
D | cert_database_nss.cc | 138 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()
|
D | keygen_handler_nss.cc | 31 if (SECSuccess != PK11_Authenticate(slot.get(), PR_TRUE, in GenKeyAndSignChallenge()
|
D | dnssec_keyset.cc | 233 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()
|
D | nss_memio.c | 287 data->value.non_blocking = PR_TRUE; in memio_GetSocketOption() 405 ((PRFilePrivate *)secret)->eof = PR_TRUE; in memio_PutReadResult()
|
D | x509_certificate_nss.cc | 254 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()
|
D | x509_certificate_mac.cc | 534 SECITEM_FreeItem(decode_item, PR_TRUE); in CERTNameToCSSMOIDVector()
|
/external/chromium/crypto/ |
D | scoped_nss_types.h | 36 PR_TRUE> > ScopedPK11Context; 44 PR_TRUE> > ScopedSECAlgorithmID; 48 PR_TRUE> > ScopedSECItem;
|
D | rsa_private_key_nss.cc | 61 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()
|
D | signature_verifier_nss.cc | 61 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()
|
D | signature_creator_nss.cc | 19 SGN_DestroyContext(sign_context_, PR_TRUE); in ~SignatureCreator()
|
/external/chromium/chrome/browser/importer/ |
D | nss_decryptor_system_nss.cc | 174 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()
|
D | nss_decryptor_win.h | 87 #define PR_TRUE 1 macro
|
D | nss_decryptor_mac.h | 89 #define PR_TRUE 1 macro
|
D | nss_decryptor.cc | 76 SECStatus result = PK11_Authenticate(slot, PR_TRUE, NULL); in Decrypt()
|
/external/wpa_supplicant_8/src/crypto/ |
D | tls_nss.c | 167 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()
|
D | crypto_nss.c | 104 PK11_DestroyContext(ctx, PR_TRUE); in des_encrypt() 108 SECITEM_FreeItem(param, PR_TRUE); in des_encrypt()
|
/external/chromium/net/socket/ |
D | ssl_server_socket_nss.cc | 200 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()
|
D | ssl_client_socket_nss.cc | 868 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()
|
D | nss_ssl_util.cc | 60 SSL_OptionSetDefault(SSL_SECURITY, PR_TRUE); in NSSSSLInitSingleton()
|
D | dns_cert_provenance_checker.cc | 326 SECITEM_FreeItem(pub_key_serialized, PR_TRUE); in BuildEncryptedReport()
|
/external/chromium/net/http/ |
D | des.cc | 151 PK11_DestroyContext(ctxt, PR_TRUE); in DESEncrypt() 155 SECITEM_FreeItem(param, PR_TRUE); in DESEncrypt()
|
/external/chromium/chrome/browser/ui/ |
D | crypto_module_password_dialog_nss.cc | 111 retry_ = PR_TRUE; in GotPassword()
|
/external/chromium/base/third_party/nspr/ |
D | prtypes.h | 459 #define PR_TRUE 1 macro
|
/external/chromium/chrome/common/net/ |
D | x509_certificate_model_nss.cc | 276 SECITEM_FreeItem(sec_item, PR_TRUE); in GetPkcs11Id()
|