Message ID | 20231204100620.27789-6-Michael.Glembotzki@iris-sensing.com |
---|---|
State | Changes Requested |
Headers | show
Return-Path: <swupdate+bncBDY5JUXLVIEBBKGJW2VQMGQEZC3CUII@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20230601 header.b=UqgIk63h; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=cYvMLq3I; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::33c; helo=mail-wm1-x33c.google.com; envelope-from=swupdate+bncbdy5juxlviebbkgjw2vqmgqezc3cuii@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-wm1-x33c.google.com (mail-wm1-x33c.google.com [IPv6:2a00:1450:4864:20::33c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4SkK7w6QLwz23p8 for <incoming@patchwork.ozlabs.org>; Mon, 4 Dec 2023 21:06:36 +1100 (AEDT) Received: by mail-wm1-x33c.google.com with SMTP id 5b1f17b1804b1-40bd5ea7aeasf13303655e9.2 for <incoming@patchwork.ozlabs.org>; Mon, 04 Dec 2023 02:06:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701684394; cv=pass; d=google.com; s=arc-20160816; b=zFsgbyRYYqGFwmMrYefAfnNyG74QgxpI4QzYHAZFD0NFGohxz8NKJ4ktM929XxLuiA wa7BPuLXpZ9sxo4w+P7TuEHqOtMSaRI2Gu2yIzOAsbyEqetHgpBNEgrbpGEA/+lU3fUs pRimgFpXqR9SleZei3oi1yJ/R3/nrpuZbAPGEBsXuDlnGBM8hNw15Rz7SI2dxAxot3yF 8L8zv9VA8vjkNBVRLQrPDj0GOv3DOmEDAplJnu0Vrs4St5gGQV7jzNVHdTXKYbeDlWht UIFt9Swk0d/OGHCdA1n2VaCHnmZYRLSXnQ/i44EAJJ69vwm5zqTjPLWOtl775q+0RzH7 HeLw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:dkim-signature :dkim-signature; bh=vamrDivdBCux1pQ1ZoodkPs0AjRcAEDvVfpTnJRr2zw=; fh=zydHuzCQWrku2OPQyZfraJZFcOpEXLQ/YBcu3QNiBd0=; b=zGaWbEVOVKZtQrdBFb2d2KAQooLtWis7yJJG/zhiIGC6DLijopNONvcJwJkjvDiqqC T3BZd8xHVpMLHgH2CGZjyX2szAbUPTc0KSA6v7+JbswyL4XgHeiiorm669l5yDxaMyEH 36zbFFnkXzT5wjHrymkydRz+L+wMr8u+lPHGlPAM/4OhmSXz1ey0dDDXdOIxTKxe7PzL 7W9fGCvEYOhrffIufZOvGJbAFjPqicoKsosycpXZpf/GDRsjhQzh/8900IlFcka/MSu7 mrs0yJF3QBL5FdWYBRkqP80pan6i3sQRUBOSe09G9iwFTzwwNjAlxCabIE6wF3cXX1HV 3jrA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=b6nhsoAz; spf=pass (google.com: domain of m.glembo@gmail.com designates 2a00:1450:4864:20::630 as permitted sender) smtp.mailfrom=m.glembo@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1701684394; x=1702289194; darn=patchwork.ozlabs.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:sender:from:to:cc:subject:date:message-id :reply-to; bh=vamrDivdBCux1pQ1ZoodkPs0AjRcAEDvVfpTnJRr2zw=; b=UqgIk63hEhzukKnMVY97as9JN0R6asxhCV3AkHzUkC3WqZJRQkMEFVaoopXWR6gpeO HiP3WOCqZVH8/P4p9RVizroWvy9CBOBPzFnrOrsYWbcyyO9zxu+GZ6NHDhdq0Hdpmk/r PQkCyVVotVWVxpMfS8WcRFwIU2J61DNLHTxPjfFtD4oL0q+cpL6zg9YGSc9jc7FJz58N ZQZxnWEkaVBS/+QuB54j9J+kmkYj5GAXcYkpWrUjGAJoPkx0FZMopK4AFCp6AFCMjA1Q zk0r9YrJhIzyAGAlJK7WXugNVIs4+tl6MO+OnoljpZuU45VeINTm3XjYK0vBu/ZgkO4J LdAw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701684394; x=1702289194; darn=patchwork.ozlabs.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=vamrDivdBCux1pQ1ZoodkPs0AjRcAEDvVfpTnJRr2zw=; b=cYvMLq3IVdBBr+YKeF6j8uerXkawki89Zm/20O/Wor0hCOFqd48FceskADKgzv4vZQ yTM4w1jkqmRzmF+zhzTV8mblwE65nNHLZxA7OCuGZ4QnnjJnox2EcB1YJA/MiQzkZzFH I/uWhSVxLZjh2lJqJT3QDtEHd5m0cFoOV0bfzL8LGHResK6G9G3grSOZAbq5q2oAi0n5 oIwdkArvpufcr0wjTHgYAKcExA09+vfi2U/FhNI4c3PPFYbD+M/YJJNI7MBiQz9ERXCo efWklEv9DLnT3t96+tq4Bcscuhv/JQyxsg9zAF8FCJeQBkKYHrFsXju3YVSwSM5//FWU VCgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701684394; x=1702289194; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=vamrDivdBCux1pQ1ZoodkPs0AjRcAEDvVfpTnJRr2zw=; b=vj6WOMlCKpyyXmdf8pLhDUAkScWw0HjNDTcAuDrFg38OGt0YmPr/u2N55XgNliNqQL pvGIqWIf+BLmge1useeBlCYTzpavBQDbuFvhpUSQWUGDvPmyQRrYIoUuagAFq04+WMNZ CMe0crsuHYDhtzMEKqzYxQqtSLy8s4IOQJWtw4J6WXoRGPXe4anSoUufn1UpSqF+NBVO taeFJUnnU6W9J6HtOPla535rq5Im91cRE1A4FkoNzHnsUvRrTEeFbWZWGBsK5sY/8fWH ZxyKimbkWYvn3VDzMxCT0P69gXNznGqMNPWTFc6HPzVR9K8PLQD25e6MeNLYP0Ku+ywM LXTw== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOJu0Yy+5FpG9jjGbo6u7KMS1Z0YdzvvzXW9foalHTZFcqtmy1qkyzIn IP289QBmHx/HdISYz8kuSew= X-Google-Smtp-Source: AGHT+IFGDl+AU8vHx3XycOQlIGWb9Vtq6JhV5R+pg/G23HtNofmvxn8fGPGT0qyGBxo0eyjG0Xx7DQ== X-Received: by 2002:a05:600c:3c95:b0:405:4a78:a892 with SMTP id bg21-20020a05600c3c9500b004054a78a892mr2653413wmb.9.1701684393019; Mon, 04 Dec 2023 02:06:33 -0800 (PST) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a1c:4b19:0:b0:40b:33a9:fb68 with SMTP id y25-20020a1c4b19000000b0040b33a9fb68ls818605wma.1.-pod-prod-09-eu; Mon, 04 Dec 2023 02:06:31 -0800 (PST) X-Received: by 2002:a05:600c:1c11:b0:40b:5e22:95a with SMTP id j17-20020a05600c1c1100b0040b5e22095amr2779979wms.73.1701684390727; Mon, 04 Dec 2023 02:06:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701684390; cv=none; d=google.com; s=arc-20160816; b=ec7W7TJxVPr7LVRS/Gvs4YsaRt8Jtskcuv1dPJ6O2hFzkZtrDMMau1OaCZwvZnDj1y MrOS4YjyIwtczI9Ve477T4edaKht2ZT6Im8DVlFe5HPQPbUOO+fCY3h4Kx8fTDCrYb3C 5EiA3KEQlgXrsCokJE/i2CxBqn0SdR3G/6mSt+ey0wVq0+0S0907I63+YjjLos58yzWE 34pLSr7nXx6nkq/rNJxr/RoRszVXoQIERK9aKBia3ksWUYjI2UkPAJRlY5wxWgQsuVdU shXnFhbESFD+7E1VsfdB09o45UgHVp0UGBVFSK9hsoBjrwckPRlIUJIgiAxMuGExXQ5o efsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=8Vx6yh50WuxtkJ0z6n7xI7nKRYyVR9Yg78MtwrVJjCE=; fh=zydHuzCQWrku2OPQyZfraJZFcOpEXLQ/YBcu3QNiBd0=; b=CPSxdJT2WHc681GsXEIm99+2KhP+DQd9y/djQ9HU/pr8SWXD1GxPKZ79mu+i7d4U6+ blCHROkDFVPCIhYVQ85N/ZdiiM1iCZPIow09KpqfC2uU5A/3b5t08ZsiZtuFptW1l0yA pQeOdKUo8EqY6fQL96LfeNIvbV51kFQ59R/NHeXubIGS8C5ii0OKqausKMAwykS86n64 A4lPBapC/EF6I8h58j7iSPSPN5rNJBn2oUhDbCcVQKneHUSUpPYlbFjVHnFXHrITz77b kbIbq1aQkkbmOrzlaYsx+sA78H2/1pouFTvtfRugvpIvxWqDfSTsL2LEhWpc4yJt2rWN M0nA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=b6nhsoAz; spf=pass (google.com: domain of m.glembo@gmail.com designates 2a00:1450:4864:20::630 as permitted sender) smtp.mailfrom=m.glembo@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com. [2a00:1450:4864:20::630]) by gmr-mx.google.com with ESMTPS id hg10-20020a05600c538a00b0040b347fc761si561162wmb.0.2023.12.04.02.06.30 for <swupdate@googlegroups.com> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 04 Dec 2023 02:06:30 -0800 (PST) Received-SPF: pass (google.com: domain of m.glembo@gmail.com designates 2a00:1450:4864:20::630 as permitted sender) client-ip=2a00:1450:4864:20::630; Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-a1b03886fd7so160042566b.2 for <swupdate@googlegroups.com>; Mon, 04 Dec 2023 02:06:30 -0800 (PST) X-Received: by 2002:a17:906:dc:b0:a11:2ad2:6563 with SMTP id 28-20020a17090600dc00b00a112ad26563mr3721948eji.26.1701684389658; Mon, 04 Dec 2023 02:06:29 -0800 (PST) Received: from PC-2635.irisgmbh.local (dslb-002-203-161-041.002.203.pools.vodafone-ip.de. [2.203.161.41]) by smtp.gmail.com with ESMTPSA id js22-20020a17090797d600b00a1b32663d7csm2032919ejc.102.2023.12.04.02.06.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 02:06:28 -0800 (PST) From: Michael Glembotzki <m.glembo@gmail.com> To: swupdate@googlegroups.com Cc: Michael Glembotzki <Michael.Glembotzki@iris-sensing.com> Subject: [swupdate] [V2][PATCH 05/10] sslapi: Add priv key/cert to swupdate_digest for asym decryption Date: Mon, 4 Dec 2023 11:05:37 +0100 Message-ID: <20231204100620.27789-6-Michael.Glembotzki@iris-sensing.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231204100620.27789-1-Michael.Glembotzki@iris-sensing.com> References: <20231204100620.27789-1-Michael.Glembotzki@iris-sensing.com> MIME-Version: 1.0 X-Original-Sender: m.glembo@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=b6nhsoAz; spf=pass (google.com: domain of m.glembo@gmail.com designates 2a00:1450:4864:20::630 as permitted sender) smtp.mailfrom=m.glembo@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: <swupdate.googlegroups.com> X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: <https://groups.google.com/group/swupdate/post>, <mailto:swupdate@googlegroups.com> List-Help: <https://groups.google.com/support/>, <mailto:swupdate+help@googlegroups.com> List-Archive: <https://groups.google.com/group/swupdate List-Subscribe: <https://groups.google.com/group/swupdate/subscribe>, <mailto:swupdate+subscribe@googlegroups.com> List-Unsubscribe: <mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>, <https://groups.google.com/group/swupdate/subscribe> |
Series |
[V2,01/10] util: BUG: set_aes_key does not fail on invalid aes key or ivt
|
expand
|
diff --git a/include/sslapi.h b/include/sslapi.h index 0dce615..de86695 100644 --- a/include/sslapi.h +++ b/include/sslapi.h @@ -108,6 +108,10 @@ struct swupdate_digest { #else EVP_CIPHER_CTX *ctxdec; #endif +#ifdef CONFIG_ASYM_ENCRYPTED_SW_DESCRIPTION + EVP_PKEY *rkey; /* recipient private key */ + X509 *rcert; /* recipient cert */ +#endif }; #if OPENSSL_VERSION_NUMBER < 0x10100000L
Signed-off-by: Michael Glembotzki <Michael.Glembotzki@iris-sensing.com> --- include/sslapi.h | 4 ++++ 1 file changed, 4 insertions(+)