diff options
author | David Howells <[email protected]> | 2018-10-09 17:47:31 +0100 |
---|---|---|
committer | James Morris <[email protected]> | 2018-10-26 09:30:46 +0100 |
commit | f7c4e06e066c3df282e6e3d4e7d8c498be9e1e46 (patch) | |
tree | b4fbeca37cf7dc4188fb459b9934b8ce386cf7d4 /tools/perf/scripts/python/syscall-counts.py | |
parent | 82f94f24475c89c6d5cb673e1277b5b4394499c8 (diff) |
KEYS: Allow the public_key struct to hold a private key [ver #2]
Put a flag in the public_key struct to indicate if the structure is holding
a private key. The private key must be held ASN.1 encoded in the format
specified in RFC 3447 A.1.2. This is the form required by crypto/rsa.c.
The software encryption subtype's verification and query functions then
need to select the appropriate crypto function to set the key.
Signed-off-by: David Howells <[email protected]>
Tested-by: Marcel Holtmann <[email protected]>
Reviewed-by: Marcel Holtmann <[email protected]>
Reviewed-by: Denis Kenzior <[email protected]>
Tested-by: Denis Kenzior <[email protected]>
Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions