[lkml]   [2020]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v3] mm: Add kvfree_sensitive() for freeing sensitive data objects
Waiman Long <> wrote:

> sensitive data objects allocated by kvmalloc(). The relevnat places


> if (unlikely(key_data))
> - __kvzfree(key_data, key_data_len);
> + kvfree_sensitive(key_data, key_data_len);

I think the if-statement is redundant.


 \ /
  Last update: 2020-04-07 22:20    [W:0.174 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site