Messages in this thread | | | Subject | Re: [PATCH v8 6/6] crypto: AF_ALG - add support for key_id | From | Tadeusz Struk <> | Date | Fri, 8 Jul 2016 10:26:55 -0700 |
| |
On 07/08/2016 09:38 AM, Mat Martineau wrote: > Are the inputs and outputs defined for ALG_OP_VERIFY in SET_KEY mode > going to work for hardware keys (like TPM) in SET_KEY_ID mode? That's > needed if the verify SET_KEY_ID mode is to be added later.
Yes, we will just need to change the verify_signature() in public_key.c to be consistent with the rest of handlers. What we need really is the src (encrypted input), key (or key id), and an output buffer where we can copy the result to. Thanks, -- TS
| |