lkml.org 
[lkml]   [2019]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v4] crypto: arm64/sha: fix function types
    On Wed, Nov 27, 2019 at 03:55:03PM -0800, Sami Tolvanen wrote:
    > Instead of casting pointers to callback functions, add C wrappers
    > to avoid type mismatch failures with Control-Flow Integrity (CFI)
    > checking.
    >
    > Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
    > Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
    > ---
    > Changes in v4:
    > - Removed unnecessary returns.
    >
    > Changes in v3:
    > - Removed unnecessary inline attributes.
    >
    > Changes in v2:
    > - Added wrapper functions instead of changing parameter types
    > for the assembly functions.
    >

    Reviewed-by: Eric Biggers <ebiggers@kernel.org>

    - Eric

    \
     
     \ /
      Last update: 2019-11-28 01:26    [W:4.291 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site