lkml.org 
[lkml]   [2018]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 05/22] KEYS: Provide software public key query function
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@namei.org>

\
 
 \ /
  Last update: 2018-10-03 21:25    [W:0.479 / U:0.536 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site