All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20170623105607.vsfltdblwczrj3qv@linux.intel.com>

diff --git a/a/1.txt b/N1/1.txt
index 0736b23..b7a1235 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -122,7 +122,7 @@ coherent.
 > > > -			      0, "attempting to read a pcr value");
 > > > +	rc = tpm2_pcr_read_tpm_buf(chip, pcr_idx, TPM2_ALG_SHA1, &buf,
 > > > +				   "attempting to read a pcr value");
-> > >  	if (rc = 0) {
+> > >  	if (rc == 0) {
 > > > -		buf = cmd.params.pcrread_out.digest;
 > > > -		memcpy(res_buf, buf, TPM_DIGEST_SIZE);
 > > > +		out = (struct tpm2_pcr_read_out *)&buf.data[TPM_HEADER_SIZE];
@@ -145,3 +145,7 @@ Once the first two patches are in shape I'll test and apply them
 to my tree so we step further with this.
 
 /Jarkko
+--
+To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
+the body of a message to majordomo at vger.kernel.org
+More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff --git a/a/content_digest b/N1/content_digest
index 9251e0d..fc952c3 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -2,9 +2,9 @@
  "ref\020170621142941.32674-2-roberto.sassu@huawei.com\0"
  "ref\020170622101404.blfpqcryrbe35ha4@linux.intel.com\0"
  "ref\07cea09d5-e213-8783-fabc-eb47fc601942@huawei.com\0"
- "From\0Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>\0"
- "Subject\0Re: [tpmdd-devel] [PATCH v3 1/6] tpm: use tpm_buf functions to perform a PCR read\0"
- "Date\0Fri, 23 Jun 2017 10:56:07 +0000\0"
+ "From\0jarkko.sakkinen@linux.intel.com (Jarkko Sakkinen)\0"
+ "Subject\0[tpmdd-devel] [PATCH v3 1/6] tpm: use tpm_buf functions to perform a PCR read\0"
+ "Date\0Fri, 23 Jun 2017 12:56:07 +0200\0"
  "To\0linux-security-module@vger.kernel.org\0"
  "\00:1\0"
  "b\0"
@@ -132,7 +132,7 @@
  "> > > -\t\t\t      0, \"attempting to read a pcr value\");\n"
  "> > > +\trc = tpm2_pcr_read_tpm_buf(chip, pcr_idx, TPM2_ALG_SHA1, &buf,\n"
  "> > > +\t\t\t\t   \"attempting to read a pcr value\");\n"
- "> > >  \tif (rc = 0) {\n"
+ "> > >  \tif (rc == 0) {\n"
  "> > > -\t\tbuf = cmd.params.pcrread_out.digest;\n"
  "> > > -\t\tmemcpy(res_buf, buf, TPM_DIGEST_SIZE);\n"
  "> > > +\t\tout = (struct tpm2_pcr_read_out *)&buf.data[TPM_HEADER_SIZE];\n"
@@ -154,6 +154,10 @@
  "Once the first two patches are in shape I'll test and apply them\n"
  "to my tree so we step further with this.\n"
  "\n"
- /Jarkko
+ "/Jarkko\n"
+ "--\n"
+ "To unsubscribe from this list: send the line \"unsubscribe linux-security-module\" in\n"
+ "the body of a message to majordomo at vger.kernel.org\n"
+ More majordomo info at  http://vger.kernel.org/majordomo-info.html
 
-9a72a478bd76cfc9fed7a15dc1d22cf60d1cf4915b959baa25b0eb333b2a6cfe
+05861529a91584504f2fc8a65c19c6d91e29ad14a8a5b3cc02eaa2bc5e5e3c0e

diff --git a/a/1.txt b/N2/1.txt
index 0736b23..8cd573a 100644
--- a/a/1.txt
+++ b/N2/1.txt
@@ -122,7 +122,7 @@ coherent.
 > > > -			      0, "attempting to read a pcr value");
 > > > +	rc = tpm2_pcr_read_tpm_buf(chip, pcr_idx, TPM2_ALG_SHA1, &buf,
 > > > +				   "attempting to read a pcr value");
-> > >  	if (rc = 0) {
+> > >  	if (rc == 0) {
 > > > -		buf = cmd.params.pcrread_out.digest;
 > > > -		memcpy(res_buf, buf, TPM_DIGEST_SIZE);
 > > > +		out = (struct tpm2_pcr_read_out *)&buf.data[TPM_HEADER_SIZE];
diff --git a/a/content_digest b/N2/content_digest
index 9251e0d..2261813 100644
--- a/a/content_digest
+++ b/N2/content_digest
@@ -4,8 +4,13 @@
  "ref\07cea09d5-e213-8783-fabc-eb47fc601942@huawei.com\0"
  "From\0Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>\0"
  "Subject\0Re: [tpmdd-devel] [PATCH v3 1/6] tpm: use tpm_buf functions to perform a PCR read\0"
- "Date\0Fri, 23 Jun 2017 10:56:07 +0000\0"
- "To\0linux-security-module@vger.kernel.org\0"
+ "Date\0Fri, 23 Jun 2017 12:56:07 +0200\0"
+ "To\0Roberto Sassu <roberto.sassu@huawei.com>\0"
+ "Cc\0tpmdd-devel@lists.sourceforge.net"
+  linux-ima-devel@lists.sourceforge.net
+  linux-security-module@vger.kernel.org
+  keyrings@vger.kernel.org
+ " linux-kernel@vger.kernel.org\0"
  "\00:1\0"
  "b\0"
  "On Thu, Jun 22, 2017 at 01:54:29PM +0200, Roberto Sassu wrote:\n"
@@ -132,7 +137,7 @@
  "> > > -\t\t\t      0, \"attempting to read a pcr value\");\n"
  "> > > +\trc = tpm2_pcr_read_tpm_buf(chip, pcr_idx, TPM2_ALG_SHA1, &buf,\n"
  "> > > +\t\t\t\t   \"attempting to read a pcr value\");\n"
- "> > >  \tif (rc = 0) {\n"
+ "> > >  \tif (rc == 0) {\n"
  "> > > -\t\tbuf = cmd.params.pcrread_out.digest;\n"
  "> > > -\t\tmemcpy(res_buf, buf, TPM_DIGEST_SIZE);\n"
  "> > > +\t\tout = (struct tpm2_pcr_read_out *)&buf.data[TPM_HEADER_SIZE];\n"
@@ -156,4 +161,4 @@
  "\n"
  /Jarkko
 
-9a72a478bd76cfc9fed7a15dc1d22cf60d1cf4915b959baa25b0eb333b2a6cfe
+d5948afc540d4270a927e2181851567aed9eeace66ad9ef448c94ff014f35358

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.