/external/chromium_org/net/third_party/nss/ssl/ |
D | ssl3ext.c | 105 return SECSuccess; in ssl3_AppendToItem() 146 return SECSuccess; in ssl3_SessionTicketShutdown() 173 if (rv != SECSuccess) in ssl3_GenerateSessionTicketKeysPKCS11() 197 return SECSuccess; in ssl3_GetSessionTicketKeysPKCS11() 232 return SECSuccess; in ssl3_GetSessionTicketKeys() 365 if (rv != SECSuccess) return -1; in ssl3_SendServerNameXtn() 368 if (rv != SECSuccess) return -1; in ssl3_SendServerNameXtn() 371 if (rv != SECSuccess) return -1; in ssl3_SendServerNameXtn() 374 if (rv != SECSuccess) return -1; in ssl3_SendServerNameXtn() 377 if (rv != SECSuccess) return -1; in ssl3_SendServerNameXtn() [all …]
|
D | sslmutex.c | 20 return SECSuccess; in single_process_sslMutex_Init() 32 return SECSuccess; in single_process_sslMutex_Destroy() 44 return SECSuccess; in single_process_sslMutex_Unlock() 56 return SECSuccess; in single_process_sslMutex_Lock() 124 return SECSuccess; in sslMutex_Init() 151 return SECSuccess; in sslMutex_Destroy() 159 return SECSuccess; in sslMutex_Destroy() 200 return SECSuccess; in sslMutex_Unlock() 231 return SECSuccess; in sslMutex_Lock() 267 return SECSuccess; in sslMutex_Unlock() [all …]
|
D | ssl3con.c | 887 return SECSuccess; in Null_Cipher() 919 return SECSuccess; in ssl3_NegotiateVersion() 929 if (rv != SECSuccess) { in ssl3_GetNewRandom() 1000 if (rv != SECSuccess) { in ssl3_SignHashes() 1007 if (rv == SECSuccess) { in ssl3_SignHashes() 1017 if (rv != SECSuccess && buf->data) { in ssl3_SignHashes() 1119 if (rv != SECSuccess) { in ssl3_VerifySignedHashes() 1139 SECStatus rv = SECSuccess; in ssl3_ComputeCommonKeyHash() 1168 if (rv != SECSuccess) { in ssl3_ComputeCommonKeyHash() 1175 if (rv != SECSuccess) { in ssl3_ComputeCommonKeyHash() [all …]
|
D | ssl3ecc.c | 187 return SECSuccess; in ssl3_ECName2Params() 223 SECStatus rv = SECSuccess; in ssl3_ComputeECDHKeyHash() 330 if (rv != SECSuccess) { in ssl3_SendECDHClientKeyExchange() 337 if (rv != SECSuccess) { in ssl3_SendECDHClientKeyExchange() 347 if (rv != SECSuccess) { in ssl3_SendECDHClientKeyExchange() 351 rv = SECSuccess; in ssl3_SendECDHClientKeyExchange() 387 if (rv != SECSuccess) { in ssl3_HandleECDHClientKeyExchange() 416 if (rv != SECSuccess) { in ssl3_HandleECDHClientKeyExchange() 420 return SECSuccess; in ssl3_HandleECDHClientKeyExchange() 500 return SECSuccess; in ssl3_ShutdownECDHECurves() [all …]
|
D | sslauth.c | 54 if (CERT_AddCertToListTail(chain, cert) != SECSuccess) { in SSL_PeerCertificateChain() 59 if (CERT_AddCertToListTail(chain, cert) != SECSuccess) { in SSL_PeerCertificateChain() 176 return SECSuccess; in SSL_SecurityStatus() 197 return SECSuccess; in SSL_AuthCertificateHook() 216 return SECSuccess; in SSL_GetClientAuthDataHook() 234 return SECSuccess; in SSL_SetClientChannelIDCallback() 255 return SECSuccess; in SSL_GetPlatformClientAuthDataHook() 273 return SECSuccess; in SSL_SetPKCS11PinArg() 306 != SECSuccess) { in SSL_AuthCertificate() 318 if ( rv != SECSuccess || isServer ) in SSL_AuthCertificate() [all …]
|
D | dtlscon.c | 93 PORT_Assert(rv == SECSuccess); /* else is coding error */ in ssl3_DisableNonDTLSSuites() 95 return SECSuccess; in ssl3_DisableNonDTLSSuites() 187 SECStatus rv = SECSuccess; in dtls_HandleHandshake() 296 rv = SECSuccess; in dtls_HandleHandshake() 302 rv = SECSuccess; in dtls_HandleHandshake() 313 if (rv == SECSuccess) { in dtls_HandleHandshake() 316 if (rv != SECSuccess) in dtls_HandleHandshake() 339 if (rv != SECSuccess) in dtls_HandleHandshake() 344 if (rv != SECSuccess) in dtls_HandleHandshake() 455 SECStatus rv = SECSuccess; in dtls_QueueMessage() [all …]
|
D | sslcon.c | 244 if (rv != SECSuccess || ssl3CipherCount <= 0) { in ssl2_CheckConfigSanity() 257 return SECSuccess; in ssl2_CheckConfigSanity() 268 SECStatus rv = SECSuccess; in ssl2_SetPolicy() 318 return SECSuccess; in ssl2_GetPolicy() 346 return SECSuccess; in ssl2_CipherPrefSetDefault() 366 return SECSuccess; in ssl2_CipherPrefGetDefault() 388 return SECSuccess; in ssl2_CipherPrefSet() 408 return SECSuccess; in ssl2_CipherPrefGet() 450 return SECSuccess; in ssl2_CreateMAC() 462 SECStatus rv = SECSuccess; in ssl2_GetSendBuffer() [all …]
|
D | sslplatf.c | 140 return SECSuccess; in ssl_ShutdownCngFunctions() 163 if (rv != SECSuccess) in ssl_InitCngFunctions() 184 return SECSuccess; in ssl_InitCng() 194 if (ssl_InitCng() == SECSuccess) { in ssl_FreePlatformKey() 222 if (ssl_InitCng() != SECSuccess) { in ssl3_CngPlatformSignHashes() 305 if (rv == SECSuccess) { in ssl3_CngPlatformSignHashes() 312 rv = SECSuccess; in ssl3_CngPlatformSignHashes() 318 if (rv != SECSuccess && buf->data) { in ssl3_CngPlatformSignHashes() 438 if (rv == SECSuccess) { in ssl3_CAPIPlatformSignHashes() 445 rv = SECSuccess; in ssl3_CAPIPlatformSignHashes() [all …]
|
D | derive.c | 86 SECStatus status = SECSuccess; in ssl3_KeyAndMacDeriveBypass() 168 if (status != SECSuccess) { in ssl3_KeyAndMacDeriveBypass() 364 if (status != SECSuccess) { in ssl3_KeyAndMacDeriveBypass() 383 if (status != SECSuccess) { in ssl3_KeyAndMacDeriveBypass() 401 if (status != SECSuccess) { in ssl3_KeyAndMacDeriveBypass() 414 rv = SECSuccess; in ssl3_KeyAndMacDeriveBypass() 421 if (rv != SECSuccess) { in ssl3_KeyAndMacDeriveBypass() 443 SECStatus rv = SECSuccess; in ssl3_MasterKeyDeriveBypass() 487 if (rv != SECSuccess) { in ssl3_MasterKeyDeriveBypass() 568 *pcbp = (rv == SECSuccess); in ssl_canExtractMS() [all …]
|
D | sslsecur.c | 80 int rv = SECSuccess; in ssl_Do1stHandshake() 188 return SECSuccess; in ssl_SetTimeout() 208 return SECSuccess; in SSL_ResetHandshake() 274 return SECSuccess; in SSL_ReHandshake() 300 if (SECSuccess != ssl_SetTimeout(fd, timeout)) { in SSL_ReHandshakeWithTimeout() 342 return SECSuccess; in SSL_HandshakeCallback() 375 return SECSuccess; in SSL_SetCanFalseStartCallback() 407 return SECSuccess; in SSL_RecommendedCanFalseStart() 435 return SECSuccess; in SSL_ForceHandshake() 458 rv = SECSuccess; in SSL_ForceHandshake() [all …]
|
D | authcert.c | 47 rv = SECSuccess; in NSS_GetClientAuthData() 72 if ( rv == SECSuccess ) { in NSS_GetClientAuthData() 83 if (rv == SECSuccess) { in NSS_GetClientAuthData()
|
D | cmpcert.c | 52 if ( rv == SECSuccess ) { in NSS_CmpCertChainWCANames() 63 rv = SECSuccess; in NSS_CmpCertChainWCANames() 67 rv = SECSuccess; in NSS_CmpCertChainWCANames()
|
/external/chromium_org/net/third_party/nss/patches/ |
D | cachelocks.patch | 9 return SECSuccess; 46 - return cacheLock ? SECSuccess : SECFailure; 55 - return SECSuccess; 69 - if ( (SECSuccess == rv1) && (SECSuccess == rv2) ) { 70 - return SECSuccess; 87 - if ( (SECSuccess == rv1) && (SECSuccess == rv2) ) { 88 - return SECSuccess; 110 - return SECSuccess; 125 + if (rv != SECSuccess) { 132 return SECSuccess; [all …]
|
D | channelid.patch | 29 if (rv != SECSuccess) { 32 - return SECSuccess; 53 + if (rv != SECSuccess || 62 return SECSuccess; 66 if (rv != SECSuccess) { 72 + if (rv != SECSuccess) { 99 + if (rv != SECSuccess) { 163 + return SECSuccess; 178 + if (rv != SECSuccess) 183 + if (rv != SECSuccess) [all …]
|
D | nssrwlock.patch | 34 if (rv != SECSuccess) { 43 if (rv != SECSuccess) { 51 if (rv != SECSuccess) { 59 if (rv != SECSuccess) { 68 if (rv != SECSuccess) { 77 if (rv != SECSuccess) { 85 if (rv != SECSuccess) { 94 if (rv != SECSuccess) { 103 if (rv != SECSuccess) { 121 if (rv != SECSuccess) { [all …]
|
/external/wpa_supplicant_8/src/crypto/ |
D | tls_nss.c | 240 if (NSS_Init(dir) != SECSuccess) { in tls_init() 246 if (NSS_NoDB_Init(NULL) != SECSuccess) { in tls_init() 254 SECSuccess || in tls_init() 255 SSL_OptionSetDefault(SSL_ENABLE_SSL3, PR_FALSE) != SECSuccess || in tls_init() 256 SSL_OptionSetDefault(SSL_ENABLE_SSL2, PR_FALSE) != SECSuccess || in tls_init() 257 SSL_OptionSetDefault(SSL_ENABLE_TLS, PR_TRUE) != SECSuccess) { in tls_init() 262 if (NSS_SetDomesticPolicy() != SECSuccess) { in tls_init() 274 if (NSS_Shutdown() != SECSuccess) in tls_deinit() 289 SECStatus res = SECSuccess; in nss_bad_cert_cb() 345 if (SSL_OptionSet(conn->fd, SSL_SECURITY, PR_TRUE) != SECSuccess || in tls_connection_init() [all …]
|
/external/chromium_org/crypto/third_party/nss/ |
D | secsign.cc | 94 if (rv != SECSuccess) in DerSignData() 105 if (rv != SECSuccess) in DerSignData() 116 if (rv != SECSuccess) in DerSignData() 121 if (rv != SECSuccess) in DerSignData() 131 return encode_result ? SECSuccess : SECFailure; in DerSignData()
|
/external/chromium_org/third_party/webrtc/base/ |
D | nssstreamadapter.cc | 382 if (rv != SECSuccess) { in Init() 389 if (rv != SECSuccess) { in Init() 398 if (rv != SECSuccess) { in Init() 405 if (rv != SECSuccess) { in Init() 413 if (rv != SECSuccess) { in Init() 420 if (rv != SECSuccess) { in Init() 459 if (rv != SECSuccess) { in BeginSSL() 477 if (rv != SECSuccess) { in BeginSSL() 484 if (rv != SECSuccess) { in BeginSSL() 492 if (rv != SECSuccess) { in BeginSSL() [all …]
|
/external/chromium_org/net/socket/ |
D | ssl_server_socket_nss.cc | 168 if (result != SECSuccess) { in ExportKeyingMaterial() 183 if (result != SECSuccess) { in GetTLSUniqueChannelBinding() 332 if (rv != SECSuccess) { in InitializeSSLOptions() 338 if (rv != SECSuccess) { in InitializeSSLOptions() 347 if (rv != SECSuccess) { in InitializeSSLOptions() 361 SECSuccess) { in InitializeSSLOptions() 379 if (rv != SECSuccess) { in InitializeSSLOptions() 386 if (rv != SECSuccess) { in InitializeSSLOptions() 392 if (rv != SECSuccess) { in InitializeSSLOptions() 398 if (rv != SECSuccess) { in InitializeSSLOptions() [all …]
|
D | ssl_client_socket_nss.cc | 968 SECStatus rv = SECSuccess; in Init() 976 if (rv != SECSuccess) in Init() 979 if (rv != SECSuccess) in Init() 982 if (rv != SECSuccess) in Init() 988 if (rv != SECSuccess) { in Init() 1001 if (rv != SECSuccess) { in Init() 1009 if (rv != SECSuccess) { in Init() 1017 if (rv != SECSuccess) { in Init() 1024 if (rv != SECSuccess) { in Init() 1265 return SECSuccess; in OwnAuthCertHandler() [all …]
|
/external/chromium_org/chrome/utility/importer/ |
D | nss_decryptor_system_nss.cc | 107 SECStatus rv = SECSuccess; in unpadBlock() 168 if (rv != SECSuccess) goto loser; in pk11Decrypt() 183 SECStatus rv = SECSuccess; in PK11SDR_DecryptWithSlot() 197 if (rv != SECSuccess) goto loser; /* Invalid format */ in PK11SDR_DecryptWithSlot() 225 if (rv != SECSuccess) { in PK11SDR_DecryptWithSlot() 234 if (rv == SECSuccess) in PK11SDR_DecryptWithSlot() 259 if ((rv != SECSuccess) && (possibleResult.data)) { in PK11SDR_DecryptWithSlot() 262 rv = SECSuccess; in PK11SDR_DecryptWithSlot()
|
/external/chromium_org/crypto/ |
D | signature_creator_nss.cc | 62 if (rv != SECSuccess) { in Create() 84 if (rv != SECSuccess) { in Sign() 96 if (rv != SECSuccess) { in Update() 107 if (rv != SECSuccess) { in Final()
|
D | signature_verifier_nss.cc | 51 if (rv != SECSuccess) { in VerifyRSAPSS_End() 107 if (rv != SECSuccess) { in VerifyInit() 131 if (rv != SECSuccess) { in VerifyInit() 170 DCHECK_EQ(SECSuccess, rv); in VerifyUpdate() 190 return (rv == SECSuccess); in VerifyFinal()
|
/external/chromium_org/net/cert/ |
D | test_root_certs_nss.cc | 65 if (rv != SECSuccess) { in Add() 78 if (rv != SECSuccess) { in Add() 84 if (rv != SECSuccess) { in Add() 108 DCHECK_EQ(SECSuccess, rv) << "Cannot restore certificate trust."; in Clear()
|
/external/chromium_org/net/third_party/mozilla_security_manager/ |
D | nsNSSCertificateDB.cpp | 97 if (srv != SECSuccess) { in ImportCACerts() 136 PR_TRUE, certUsageVerifyCA, now, NULL, NULL) != SECSuccess) { in ImportCACerts() 157 if (srv != SECSuccess) { in ImportCACerts() 193 if (srv != SECSuccess) { in ImportServerCert() 270 if (srv != SECSuccess) in SetCertTrust() 272 return srv == SECSuccess; in SetCertTrust()
|