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

Side by Side Diff: net/third_party/nss/ssl/tls13hkdf.h

Issue 1844813002: Uprev NSS to 3.23 on iOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: One more GN fix 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 unified diff | Download patch
« no previous file with comments | « net/third_party/nss/ssl/tls13con.c ('k') | net/third_party/nss/ssl/tls13hkdf.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is PRIVATE to SSL.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
8
9 #ifndef __tls13hkdf_h_
10 #define __tls13hkdf_h_
11
12 #include "keyhi.h"
13 #include "sslt.h"
14
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18
19 SECStatus tls13_HkdfExtract(
20 PK11SymKey *ikm1, PK11SymKey *ikm2, SSLHashType baseHash,
21 PK11SymKey **prkp);
22 SECStatus tls13_HkdfExpandLabelRaw(
23 PK11SymKey *prk, SSLHashType baseHash,
24 const PRUint8 *handshakeHash, unsigned int handshakeHashLen,
25 const char *label, unsigned int labelLen,
26 unsigned char *output, unsigned int outputLen);
27 SECStatus tls13_HkdfExpandLabel(
28 PK11SymKey *prk, SSLHashType baseHash,
29 const PRUint8 *handshakeHash, unsigned int handshakeHashLen,
30 const char *label, unsigned int labelLen,
31 CK_MECHANISM_TYPE algorithm, unsigned int keySize,
32 PK11SymKey **keyp);
33
34 #ifdef __cplusplus
35 }
36 #endif
37
38 #endif
OLDNEW
« no previous file with comments | « net/third_party/nss/ssl/tls13con.c ('k') | net/third_party/nss/ssl/tls13hkdf.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698