[PATCH 05/22] KEYS: Provide software public key query function
James Morris
jmorris at namei.org
Wed Oct 3 19:24:07 UTC 2018
On Wed, 5 Sep 2018, David Howells wrote:
> + if (strcmp(encoding, "raw") == 0) {
> + strcpy(alg_name, pkey->pkey_algo);
> + return 0;
> + }
Can encoding here also be NULL to indicate raw? per patch 01:
> +struct kernel_pkey_params {
> + struct key *key;
> + const char *encoding; /* Encoding (eg. "oaep" or NULL for raw) */
--
James Morris
<jmorris at namei.org>
More information about the Linux-security-module-archive
mailing list