From patchwork Wed Jan 29 18:28:18 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gert Doering X-Patchwork-Id: 4107 Return-Path: Delivered-To: patchwork@openvpn.net Received: by 2002:a05:7000:6a49:b0:5e7:b9eb:58e8 with SMTP id v9csp1212486mat; Wed, 29 Jan 2025 10:28:37 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVWOdMayeJHRIVkgwrgYakkvoo+llhKTglmPSqpGLCPFp4MiU6/qciwW7GWnX7p06Y8jzRjbdYllGA=@openvpn.net X-Google-Smtp-Source: AGHT+IGwL2/RoDnE/KIO5s57wKoapbRXRcI7LOmyEvlgH3Pmdy6YE3rErVrkzqUZrDOqprGFDyQ6 X-Received: by 2002:a05:6830:4709:b0:717:fdbb:146d with SMTP id 46e09a7af769-7265675a694mr2099319a34.2.1738175317754; Wed, 29 Jan 2025 10:28:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1738175317; cv=none; d=google.com; s=arc-20240605; b=j18CVzMw+uLNVOPI6/6kNhROk396nqqhufNpPR5kSn/m59wY2sUGScpvXh2pfOfsDm 35vsHMCZuQa13IoeCS7OQqLAHD4oWAwcteEe4msY6QTOuF6hpt1XHuAKP9nG3QWhEylo P9qaoIF5Cah1WUDnaEAW7Leb3kC1WGqY3+fBJWSyEm9ZrQAv8EG6E/Fj0he4NiWzcmAW r88u9XxbdwhSn67hlXx37itfcv4+9NSn7Lopu8Zg1oygU4Ige4ie1DSHZqy6wL74j6iV 8oCk8qenB4Ha/zRDhJJZb5TdhnE0J3Z7QjWf9mxftydPV+Jv75ks29mC6s877k5Ltkrh mY/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:dkim-signature; bh=tIHuZKK97gr5EWVM97BskTDc2xSjtZ54a7gyhOwSsMY=; fh=4NbAC/LsuMLI0S0hprUlLSLCiHwg6SCAifhH718Jh0Q=; b=LSYd2q9gMC9/0bdW7p9IWCMMmaBCD0tKZAXrQ3Wg4C/zFHX2FEt8Ydk9UpQNqLnliU ElFOJFsG+Vpn9/J8Gwi++ji1/jDLkSRJkqHgAUQtgxt+qIMBBqjoF7rRkT9tlG116SlB 5tQ6Np/GWUXuGSytlwEr0Lwm78uuXQZc6Y0R52BoWrCrlZ4xL5F16Cm4PW08+Gn4V84N fZ1U1heGeIyQ7R7aq4hbbznzvwC/Xy8ZNwXYjY2pa/tu2ULKQyvmWn6SRFFaiZUwUeJe OfZs/Mk2oc/+4l6aMKf4JxznyLlQ46YFcKvVeFEq782f4ENAQHNQSGj8v0L7m5FxSRId Ikcg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=bppWLAqU; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=BSJZLBWl; spf=pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) smtp.mailfrom=openvpn-devel-bounces@lists.sourceforge.net; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=muc.de Received: from lists.sourceforge.net (lists.sourceforge.net. [216.105.38.7]) by mx.google.com with ESMTPS id 46e09a7af769-724ecda428fsi9900014a34.43.2025.01.29.10.28.37 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Jan 2025 10:28:37 -0800 (PST) Received-SPF: pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) client-ip=216.105.38.7; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=bppWLAqU; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=BSJZLBWl; spf=pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) smtp.mailfrom=openvpn-devel-bounces@lists.sourceforge.net; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=muc.de Received: from [127.0.0.1] (helo=sfs-ml-4.v29.lw.sourceforge.com) by sfs-ml-4.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1tdCni-0000Jb-10; Wed, 29 Jan 2025 18:28:34 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1tdCnf-0000JU-Qn for openvpn-devel@lists.sourceforge.net; Wed, 29 Jan 2025 18:28:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=EmFJQ3g5rXPNOoYOyfmCyvUZFIr+L/wwT7vbnzxO7ZY=; b=bppWLAqUL7wy20wOig02UnaEkL 2cjWQj0gcdf+tfuTLFBBMvjow683bJLfNKsC9ZGoQuUzY8waByjnWDFFKyJeAPPAkydh/7aDxejFi XINqsi6EFo314NWfhZFNrBEDDF/F5mv5BrTLBwu2XM1ZuDUxGlv30ftwJykWsUZFB5jg=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID: Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=EmFJQ3g5rXPNOoYOyfmCyvUZFIr+L/wwT7vbnzxO7ZY=; b=BSJZLBWlkLFRq55CoduFuVyeAW nk5qR7unX2YZIOufdxqgAnXnqzuGtBTOHvN3+ZZwYD/t8tN6IYfsH5pUuuDUxcdO5X6K3z1Od+G6v Y0UUXoURSjnITvlq6nLglDn2BHqU2WfBQcWpN6mpGQPnjdvmqcPiyxuxSk3va3L87GqU=; Received: from dhcp-174.greenie.muc.de ([193.149.48.174] helo=blue.greenie.muc.de) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1tdCne-0004yk-K0 for openvpn-devel@lists.sourceforge.net; Wed, 29 Jan 2025 18:28:31 +0000 Received: from blue.greenie.muc.de (localhost [127.0.0.1]) by blue.greenie.muc.de (8.17.1.9/8.17.1.9) with ESMTP id 50TISJPC003051 for ; Wed, 29 Jan 2025 19:28:19 +0100 Received: (from gert@localhost) by blue.greenie.muc.de (8.17.1.9/8.17.1.9/Submit) id 50TISJuZ003050 for openvpn-devel@lists.sourceforge.net; Wed, 29 Jan 2025 19:28:19 +0100 From: Gert Doering To: openvpn-devel@lists.sourceforge.net Date: Wed, 29 Jan 2025 19:28:18 +0100 Message-ID: <20250129182818.3041-1-gert@greenie.muc.de> X-Mailer: git-send-email 2.45.2 In-Reply-To: References: MIME-Version: 1.0 X-Spam-Score: 0.0 (/) X-Spam-Report: Spam detection software, running on the system "util-spamd-2.v13.lw.sourceforge.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From: Frank Lichtenheld Introduced by commit 92adbc88b1b37095cebde2a1c5b6ae242f382678. Change-Id: I0133085ac68f7b0db574b88276f6d5e1d3ad62d5 Signed-off-by: Frank Lichtenheld Acked-by: Arne Schwabe --- Content analysis details: (0.0 points, 6.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [193.149.48.174 listed in sa-accredit.habeas.com] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [193.149.48.174 listed in bl.score.senderscore.com] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record X-Headers-End: 1tdCne-0004yk-K0 Subject: [Openvpn-devel] [PATCH v1] Fix doxygen warnings in crypto_epoch.h X-BeenThere: openvpn-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox X-GMAIL-THRID: =?utf-8?q?1822608922179895926?= X-GMAIL-MSGID: =?utf-8?q?1822608922179895926?= From: Frank Lichtenheld Introduced by commit 92adbc88b1b37095cebde2a1c5b6ae242f382678. Change-Id: I0133085ac68f7b0db574b88276f6d5e1d3ad62d5 Signed-off-by: Frank Lichtenheld Acked-by: Arne Schwabe --- This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master. Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/877 This mail reflects revision 1 of this Change. Acked-by according to Gerrit (reflected above): Arne Schwabe diff --git a/src/openvpn/crypto_epoch.h b/src/openvpn/crypto_epoch.h index b2f3d86..9290482 100644 --- a/src/openvpn/crypto_epoch.h +++ b/src/openvpn/crypto_epoch.h @@ -71,7 +71,7 @@ * Generate a data channel key pair from the epoch key * @param key Destination for the generated data key * @param epoch_key Epoch key to be used - * @parm kt Cipher information to generate the data channel key for + * @param kt Cipher information to generate the data channel key for */ void epoch_data_key_derive(struct key_parameters *key, @@ -100,6 +100,7 @@ * - recv key matches the epoch index provided * - send key epoch is equal or higher than recv_key epoch * + * @param co crypto_options to update * @param new_epoch the new epoch to use for the receive key */ void