summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortb <>2024-07-09 16:47:36 +0000
committertb <>2024-07-09 16:47:36 +0000
commitd18b9b385bf350bff246bf3e3ddc21de33457869 (patch)
treea625f97413a02241bd7a2c785172bd56a181c737 /src/lib
parent4ee6973bf9b89f7268548f7b268e5188d3e51b1d (diff)
downloadopenbsd-d18b9b385bf350bff246bf3e3ddc21de33457869.tar.gz
openbsd-d18b9b385bf350bff246bf3e3ddc21de33457869.tar.bz2
openbsd-d18b9b385bf350bff246bf3e3ddc21de33457869.zip
Remove a few useless comments
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/kdf/tls1_prf.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/lib/libcrypto/kdf/tls1_prf.c b/src/lib/libcrypto/kdf/tls1_prf.c
index cc3f27f3c9..837416c640 100644
--- a/src/lib/libcrypto/kdf/tls1_prf.c
+++ b/src/lib/libcrypto/kdf/tls1_prf.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: tls1_prf.c,v 1.15 2024/07/09 16:46:33 tb Exp $ */ 1/* $OpenBSD: tls1_prf.c,v 1.16 2024/07/09 16:47:36 tb Exp $ */
2/* 2/*
3 * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project 3 * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project
4 * 2016. 4 * 2016.
@@ -74,15 +74,10 @@ static int tls1_prf_alg(const EVP_MD *md,
74 74
75#define TLS1_PRF_MAXBUF 1024 75#define TLS1_PRF_MAXBUF 1024
76 76
77/* TLS KDF pkey context structure */
78
79typedef struct { 77typedef struct {
80 /* Digest to use for PRF */
81 const EVP_MD *md; 78 const EVP_MD *md;
82 /* Secret value to use for PRF */
83 unsigned char *sec; 79 unsigned char *sec;
84 size_t seclen; 80 size_t seclen;
85 /* Buffer of concatenated seed data */
86 unsigned char seed[TLS1_PRF_MAXBUF]; 81 unsigned char seed[TLS1_PRF_MAXBUF];
87 size_t seedlen; 82 size_t seedlen;
88} TLS1_PRF_PKEY_CTX; 83} TLS1_PRF_PKEY_CTX;