Re: [PATCH] PKCS#7: Add OIDs for sha224, sha284 and sha512 hash algos and use them

From: James Morris
Date: Mon Aug 31 2015 - 19:29:48 EST


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 <Valdis.Kletnieks@xxxxxx>
> Signed-off-by: David Howells <dhowells@xxxxxxxxxx>
> Tested-By: Valdis Kletnieks <valdis.kletnieks@xxxxxx>
> ---

Please always specify which kernel a patch/pull request is for.

--
James Morris
<jmorris@xxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/