Thread (33 messages) flat view 33 messages, 3 authors, 2015-06-16

Re: [PATCH RFC v5 2/4] crypto: add PKE API

From: Tadeusz Struk <hidden>
Date: 2015-06-16 02:22:02
Also in: lkml

On 06/15/2015 04:59 PM, Herbert Xu wrote:
quoted
quoted
+struct crypto_akcipher {
+	void *key;
Having a void * pointer here is useless.  The normal way of doing
it is to place the key into the tfm context.
I thought that the ctx needs to be available for implementations to store private data.
This way we can allocate and store any type of key in the <alg>_parse_key() helper and still have the cxt
available for implementations to use for their stuff (e.g. HW context).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help