diff options
author | jsing <> | 2019-02-09 15:26:15 +0000 |
---|---|---|
committer | jsing <> | 2019-02-09 15:26:15 +0000 |
commit | 6535bd837c4df935c9b8881180e8dd93a83530dc (patch) | |
tree | ccde70d521f0e94dd1570fd0a07f27a5b4ca631e /src/lib/libssl/ssl_locl.h | |
parent | 420e1203852fc99e786ceb80cff5559b6be38fbf (diff) | |
download | openbsd-6535bd837c4df935c9b8881180e8dd93a83530dc.tar.gz openbsd-6535bd837c4df935c9b8881180e8dd93a83530dc.tar.bz2 openbsd-6535bd837c4df935c9b8881180e8dd93a83530dc.zip |
Rename tls1_handshake_hash*() to tls1_transcript_hash*().
While handshake hash is correct (in as far as it is a hash of handshake
messages), using tls1_transcript_hash*() aligns them with the naming of the
tls1_transcript*() functions. Additionally, the TLSv1.3 specification uses
Transcript-Hash and "transcript hash", which this matches.
ok inoguchi@ tb@
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
-rw-r--r-- | src/lib/libssl/ssl_locl.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h index 90aca26625..a26b91976e 100644 --- a/src/lib/libssl/ssl_locl.h +++ b/src/lib/libssl/ssl_locl.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_locl.h,v 1.233 2019/01/24 02:56:41 beck Exp $ */ | 1 | /* $OpenBSD: ssl_locl.h,v 1.234 2019/02/09 15:26:15 jsing Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -1262,11 +1262,11 @@ int dtls1_enc(SSL *s, int snd); | |||
1262 | int ssl_init_wbio_buffer(SSL *s, int push); | 1262 | int ssl_init_wbio_buffer(SSL *s, int push); |
1263 | void ssl_free_wbio_buffer(SSL *s); | 1263 | void ssl_free_wbio_buffer(SSL *s); |
1264 | 1264 | ||
1265 | int tls1_handshake_hash_init(SSL *s); | 1265 | int tls1_transcript_hash_init(SSL *s); |
1266 | int tls1_handshake_hash_update(SSL *s, const unsigned char *buf, size_t len); | 1266 | int tls1_transcript_hash_update(SSL *s, const unsigned char *buf, size_t len); |
1267 | int tls1_handshake_hash_value(SSL *s, const unsigned char *out, size_t len, | 1267 | int tls1_transcript_hash_value(SSL *s, const unsigned char *out, size_t len, |
1268 | size_t *outlen); | 1268 | size_t *outlen); |
1269 | void tls1_handshake_hash_free(SSL *s); | 1269 | void tls1_transcript_hash_free(SSL *s); |
1270 | 1270 | ||
1271 | int tls1_transcript_init(SSL *s); | 1271 | int tls1_transcript_init(SSL *s); |
1272 | void tls1_transcript_free(SSL *s); | 1272 | void tls1_transcript_free(SSL *s); |