lkml.org 
[lkml]   [2016]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH v8 6/6] crypto: AF_ALG - add support for key_id
    From
    Date
    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

    \
     
     \ /
      Last update: 2016-07-08 20:01    [W:2.176 / U:0.160 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site