From patchwork Wed May 5 03:56:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Axtens X-Patchwork-Id: 1474070 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=axtens.net header.i=@axtens.net header.a=rsa-sha256 header.s=google header.b=RcqodqFO; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FZjZT5mmYz9sCD for ; Wed, 5 May 2021 13:56:49 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4FZjZT5lS2z3005 for ; Wed, 5 May 2021 13:56:49 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=axtens.net header.i=@axtens.net header.a=rsa-sha256 header.s=google header.b=RcqodqFO; dkim-atps=neutral X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=axtens.net (client-ip=2607:f8b0:4864:20::52e; helo=mail-pg1-x52e.google.com; envelope-from=dja@axtens.net; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=axtens.net header.i=@axtens.net header.a=rsa-sha256 header.s=google header.b=RcqodqFO; dkim-atps=neutral Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4FZjZN1Dsgz3035 for ; Wed, 5 May 2021 13:56:43 +1000 (AEST) Received: by mail-pg1-x52e.google.com with SMTP id d29so894659pgd.4 for ; Tue, 04 May 2021 20:56:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axtens.net; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=tCOLuU0j8pho34LFXbL+eDwIh90enUni8uhU3mkD+40=; b=RcqodqFOt/9XQPitS/PgSPSK8oDyN+TnY2aSuZiOR54dUE+qHQ6Q3yIUW5CLroGI1f lUAgIRe0rSAwRyasRix5DiiLV3PA+IXsF4QZ9+9HcEi9RLPAFt3Gn60kteTowtqqOSOE ihFYwkBegU5IDimOFfpzrg8u3Kau2uv5QDOmU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=tCOLuU0j8pho34LFXbL+eDwIh90enUni8uhU3mkD+40=; b=DpdfK9N1IZx3dZyoFTRAH17QD2kNzdy8C2IPxRvGGDLQvW5HMr4ZBVdQOrsg2bgZsd MyKMo4iH4mehb5p0UGytx1jMNfcWSVT24J5EfKqUqURtyp31/gaGrWtlkeebtzZpGWpZ 5+HRh6d3XOCv0a3x8rXG4JLKUF8sowMWDHCNC+gJAxkEDaTwFVK+YPBogxS3MzFI1ovN 66tAnTHxtqtdBarDE0dOSRCSWvWMU0cLuLJV4sronW6iX155UkmBkZkuwS/9ZFNiv+dF jnvqqfdhl3TLleWVQ2QnmRuoI/Z0Exkxl/hRWXm7AL8ZC1VIGPsBExT2cetzv0mLGJuL Vhiw== X-Gm-Message-State: AOAM533xTGtyj+67+BAudx44h8OFZGKp092mBUObn5GXg2CBfO3fSEtx d02Rf26/2T3X+UoXGfhQazx9adIidaWCrQ== X-Google-Smtp-Source: ABdhPJz5b8uLB/TjhQ7qnvpFlPZZuE4pe62jQaaaqiXJCaU1hagemhlimIyXu48hDo/jVJ6BYZg7Sw== X-Received: by 2002:a62:7d07:0:b029:21b:d1bc:f6c8 with SMTP id y7-20020a627d070000b029021bd1bcf6c8mr26820203pfc.45.1620187000631; Tue, 04 May 2021 20:56:40 -0700 (PDT) Received: from localhost ([120.18.38.216]) by smtp.gmail.com with ESMTPSA id u21sm13545751pfm.89.2021.05.04.20.56.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 May 2021 20:56:40 -0700 (PDT) From: Daniel Axtens To: skiboot@lists.ozlabs.org Date: Wed, 5 May 2021 13:56:22 +1000 Message-Id: <20210505035622.3871520-3-dja@axtens.net> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210505035622.3871520-1-dja@axtens.net> References: <20210505035622.3871520-1-dja@axtens.net> MIME-Version: 1.0 Subject: [Skiboot] [PATCH 2/2] secvar/backend: add EFI_CERT_RSA2048_GUID X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: nick.child@ibm.com Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" This isn't currently used in skiboot but may be used by external users of skiboot's secvar code. Signed-off-by: Daniel Axtens --- libstb/secvar/backend/edk2.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libstb/secvar/backend/edk2.h b/libstb/secvar/backend/edk2.h index 85e117861dff..ef6d7c79e7ff 100644 --- a/libstb/secvar/backend/edk2.h +++ b/libstb/secvar/backend/edk2.h @@ -83,6 +83,8 @@ static const uuid_t EFI_CERT_SHA384_GUID = {{ 0x07, 0x53, 0x3e, 0xff, 0xd0, 0x9f static const uuid_t EFI_CERT_SHA512_GUID = {{ 0xae, 0x0f, 0x3e, 0x09, 0xc4, 0xa6, 0x50, 0x4f, 0x9f, 0x1b, 0xd4, 0x1e, 0x2b, 0x89, 0xc1, 0x9a }}; +static const uuid_t EFI_CERT_RSA2048_GUID = {{ 0xe8, 0x66, 0x57, 0x3c, 0x9c, 0x26, 0x34, 0x4e, 0xaa, 0x14, 0xed, 0x77, 0x6e, 0x85, 0xb3, 0xb6 }}; + #define EFI_VARIABLE_NON_VOLATILE 0x00000001 #define EFI_VARIABLE_BOOTSERVICE_ACCESS 0x00000002 #define EFI_VARIABLE_RUNTIME_ACCESS 0x00000004