Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753279AbbHaX3p (ORCPT ); Mon, 31 Aug 2015 19:29:45 -0400 Received: from tundra.namei.org ([65.99.196.166]:38629 "EHLO namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752216AbbHaX3n (ORCPT ); Mon, 31 Aug 2015 19:29:43 -0400 Date: Tue, 1 Sep 2015 09:29:40 +1000 (AEST) From: James Morris To: David Howells cc: linux-security-module@vger.kernel.org, keyrings@vger.kernel.org, valdis.kletnieks@vt.edu, linux-kernel@vger.kernel.org Subject: Re: [PATCH] PKCS#7: Add OIDs for sha224, sha284 and sha512 hash algos and use them In-Reply-To: <20150830155957.8105.9646.stgit@warthog.procyon.org.uk> Message-ID: References: <20150830155957.8105.9646.stgit@warthog.procyon.org.uk> User-Agent: Alpine 2.20 (LRH 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1001 Lines: 28 On Sun, 30 Aug 2015, David Howells wrote: > Add OIDs for sha224, sha284 and sha512 hash algos and use them to select > the hashing algorithm. Without this, something like the following error > might get written to dmesg: > > [ 31.829322] PKCS7: Unknown OID: [32] 2.16.840.1.101.3.4.2.3 > [ 31.829328] PKCS7: Unknown OID: [180] 2.16.840.1.101.3.4.2.3 > [ 31.829330] Unsupported digest algo: 55 > > Where the 55 on the third line is OID__NR indicating an unknown OID. > > Reported-by: Valdis Kletnieks > Signed-off-by: David Howells > Tested-By: Valdis Kletnieks > --- Please always specify which kernel a patch/pull request is for. -- James Morris -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/