Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2060)

Unified Diff: net/third_party/nss/ssl/tls13con.h

Issue 1882433002: Removing NSS files and USE_OPENSSL flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/third_party/nss/ssl/sslver.c ('k') | net/third_party/nss/ssl/tls13con.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/third_party/nss/ssl/tls13con.h
diff --git a/net/third_party/nss/ssl/tls13con.h b/net/third_party/nss/ssl/tls13con.h
deleted file mode 100644
index a96d3236794ed2a6eb1f19d0b1380ad933c02f7b..0000000000000000000000000000000000000000
--- a/net/third_party/nss/ssl/tls13con.h
+++ /dev/null
@@ -1,62 +0,0 @@
-/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is PRIVATE to SSL.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-#ifndef __tls13con_h_
-#define __tls13con_h_
-
-typedef enum {
- StaticSharedSecret,
- EphemeralSharedSecret
-} SharedSecretType;
-
-SECStatus tls13_UnprotectRecord(
- sslSocket *ss, SSL3Ciphertext *cText, sslBuffer *plaintext,
- SSL3AlertDescription *alert);
-unsigned char *
-tls13_EncodeUintX(PRUint32 value, unsigned int bytes, unsigned char *to);
-
-#if defined(WIN32)
-#define __func__ __FUNCTION__
-#endif
-
-void tls13_SetHsState(sslSocket *ss, SSL3WaitState ws,
- const char *func, const char *file, int line);
-#define TLS13_SET_HS_STATE(ss, ws) \
- tls13_SetHsState(ss, ws, __func__, __FILE__, __LINE__)
-
-/* Return PR_TRUE if the socket is in one of the given states, else return
- * PR_FALSE. Only call the macro not the function, because the trailing
- * wait_invalid is needed to terminate the argument list. */
-PRBool tls13_InHsState(sslSocket *ss, ...);
-#define TLS13_IN_HS_STATE(ss, ...) \
- tls13_InHsState(ss, __VA_ARGS__, wait_invalid)
-
-SSLHashType tls13_GetHash(sslSocket *ss);
-CK_MECHANISM_TYPE tls13_GetHkdfMechanism(sslSocket *ss);
-void tls13_FatalError(sslSocket *ss, PRErrorCode prError,
- SSL3AlertDescription desc);
-SECStatus tls13_SetupClientHello(sslSocket *ss);
-SECStatus tls13_HandlePostHelloHandshakeMessage(sslSocket *ss, SSL3Opaque *b,
- PRUint32 length,
- SSL3Hashes *hashesPtr);
-SECStatus tls13_HandleClientKeyShare(sslSocket *ss);
-SECStatus tls13_SendServerHelloSequence(sslSocket *ss);
-SECStatus tls13_HandleServerKeyShare(sslSocket *ss);
-SECStatus tls13_AddContextToHashes(sslSocket *ss,
- SSL3Hashes *hashes /* IN/OUT */,
- SSLHashType algorithm, PRBool sending);
-void tls13_DestroyKeyShareEntry(TLS13KeyShareEntry *entry);
-void tls13_DestroyKeyShares(PRCList *list);
-PRBool tls13_ExtensionAllowed(PRUint16 extension, SSL3HandshakeType message);
-SECStatus tls13_ProtectRecord(sslSocket *ss,
- SSL3ContentType type,
- const SSL3Opaque *pIn,
- PRUint32 contentLen,
- sslBuffer *wrBuf);
-
-#endif /* __tls13con_h_ */
« no previous file with comments | « net/third_party/nss/ssl/sslver.c ('k') | net/third_party/nss/ssl/tls13con.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698