20 Dec, 2011
1 commit
-
The AES engine only supports 128 and 256 bit keys so we should correctly
test for that.Cc: Herbert Xu
Reported-by: Joe Perches
Signed-off-by: Jamie Iles
Signed-off-by: Herbert Xu
30 Nov, 2011
1 commit
-
This patch converts the drivers in drivers/crypto/* to use the
module_platform_driver() macro which makes the code smaller and a bit
simpler.Cc: James Hsiao
Cc: Sebastian Andrzej Siewior
Cc: Kim Phillips
Cc: "David S. Miller"
Signed-off-by: Axel Lin
Acked-by: Vladimir Zapolskiy
Acked-by: Jamie Iles
Signed-off-by: Herbert Xu
10 Aug, 2011
4 commits
-
The completion callback will free the request so we must remove it from
the completion list before calling the callback.Cc: Herbert Xu
Signed-off-by: Jamie Iles
Signed-off-by: Herbert Xu -
Allow the crypto engines to be matched from device tree bindings.
Cc: devicetree-discuss@lists.ozlabs.org
Cc: Herbert Xu
Signed-off-by: Jamie Iles
Signed-off-by: Herbert Xu -
For using the device tree probing we use a connection ID for the
clk_get() operation.Cc: Herbert Xu
Signed-off-by: Jamie Iles
Signed-off-by: Herbert Xu -
Use a platform ID table and a single platform_driver. It's neater and
makes the device tree addition easier and more consistent. Rename the
match values to be inline with what they'll be in the device tree
bindings. There aren't any current in-tree users of the existing device
names.Cc: Herbert Xu
Signed-off-by: Jamie Iles
Signed-off-by: Herbert Xu
27 Mar, 2011
1 commit
-
The SPAcc's have 2 equally sized FIFO's - a command FIFO and a status
FIFO. The command FIFO takes the requests that are to be performed and
the status FIFO reports the results. It is possible to get into the
situation where there are more free spaces in the command FIFO than the
status FIFO if we don't empty the status FIFO quickly enough resulting
in a possible overflow of the status FIFO. This can result in incorrect
status being reported in the status FIFO.Make sure that when we are submitting requests the number of requests
that have been dispatched but not yet popped from the status FIFO does
not exceed the size of a single FIFO.Signed-off-by: Jamie Iles
Signed-off-by: Herbert Xu
21 Feb, 2011
1 commit
-
Picochip picoXcell devices have two crypto engines, one targeted
at IPSEC offload and the other at WCDMA layer 2 ciphering.Signed-off-by: Jamie Iles
Signed-off-by: Herbert Xu