All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <1553718067.4608.43.camel@linux.ibm.com>

diff --git a/a/1.txt b/N1/1.txt
index 6049831..351251f 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -10,8 +10,8 @@ b/security/integrity/digsig_asymmetric.c
 > > > -	pks.pkey_algo = "rsa";
 > > >  	pks.hash_algo = hash_algo_name[hdr->hash_algo];
 > > > -	pks.encoding = "pkcs1";
-> > > +	if (hdr->hash_algo = HASH_ALGO_STREEBOG_256 ||
-> > > +	    hdr->hash_algo = HASH_ALGO_STREEBOG_512) {
+> > > +	if (hdr->hash_algo == HASH_ALGO_STREEBOG_256 ||
+> > > +	    hdr->hash_algo == HASH_ALGO_STREEBOG_512) {
 > > > +		/* EC-RDSA and Streebog should go together. */
 > > > +		pks.pkey_algo = "ecrdsa";
 > > > +		pks.encoding = "raw";
diff --git a/a/content_digest b/N1/content_digest
index 133de2e..15d7156 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -4,7 +4,7 @@
  "ref\020190327201441.ikw76qzpgzm6t35b@altlinux.org\0"
  "From\0Mimi Zohar <zohar@linux.ibm.com>\0"
  "Subject\0Re: [PATCH v8 10/10] integrity: support EC-RDSA signatures for asymmetric_verify\0"
- "Date\0Wed, 27 Mar 2019 20:21:07 +0000\0"
+ "Date\0Wed, 27 Mar 2019 16:21:07 -0400\0"
  "To\0Vitaly Chikunov <vt@altlinux.org>\0"
  "Cc\0Herbert Xu <herbert@gondor.apana.org.au>"
   David Howells <dhowells@redhat.com>
@@ -27,8 +27,8 @@
  "> > > -\tpks.pkey_algo = \"rsa\";\n"
  "> > >  \tpks.hash_algo = hash_algo_name[hdr->hash_algo];\n"
  "> > > -\tpks.encoding = \"pkcs1\";\n"
- "> > > +\tif (hdr->hash_algo = HASH_ALGO_STREEBOG_256 ||\n"
- "> > > +\t    hdr->hash_algo = HASH_ALGO_STREEBOG_512) {\n"
+ "> > > +\tif (hdr->hash_algo == HASH_ALGO_STREEBOG_256 ||\n"
+ "> > > +\t    hdr->hash_algo == HASH_ALGO_STREEBOG_512) {\n"
  "> > > +\t\t/* EC-RDSA and Streebog should go together. */\n"
  "> > > +\t\tpks.pkey_algo = \"ecrdsa\";\n"
  "> > > +\t\tpks.encoding = \"raw\";\n"
@@ -63,4 +63,4 @@
  "> > >  \tpks.s = hdr->sig;\n"
  >
 
-d5807e3f2f84723fc436d0f32bee02c8b4e43ed8c2fc56b81f0727cffbf4ef42
+ecae3f56c7e70ba8a745b65088a1ead94da062d0d5b489a929d5880664b88a52

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.