From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ilias Apalodimas Date: Tue, 26 Nov 2019 13:55:29 +0200 Subject: [U-Boot] [PATCH v2 03/16] efi_loader: add signature verification functions In-Reply-To: <20191126005120.31156-4-takahiro.akashi@linaro.org> References: <20191126005120.31156-1-takahiro.akashi@linaro.org> <20191126005120.31156-4-takahiro.akashi@linaro.org> Message-ID: <20191126115529.GA20407@apalos.home> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de [...] > + /* verify signature */ > + /* against digest */ > + c = 0x31; > + regtmp[0].data = &c; > + regtmp[0].size = 1; Is there a reason for '1' instea of sizeof(c)? > + regtmp[1].data = ps_info->authattrs; > + regtmp[1].size = ps_info->authattrs_len; > + > + > +out: Thanks /Ilias