diff options
author | Philippe Langlais <philippe.langlais@stericsson.com> | 2011-10-14 11:08:56 +0200 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-05-22 11:04:35 +0200 |
commit | 7ef928c63bff257c900f7c3d9540cc2f18bd688b (patch) | |
tree | e8ade0cd671d4f6fef3df43ac51c227444459749 /lib/mpi/mpi-add.c | |
parent | 845dda7f67651a93e0b8d09f39f17c332c22dc63 (diff) |
cryp: Updates according to corrected design spec
- Change names of context registers so they corresponds to the name in
the DS.
- Follow the design specification strictly and with the additional
missing steps that we have got from IP developers.
- Remove unused functions from u8500.
- Call atomic version of power enable/disable functions to get rid of
sleeping while atomic BUG prints.
- Replace mutex with spinlock in the crypto context to get rid of
sleeping while atomic BUG prints.
- Replace completion in interrupt mode with polling for the remaining
data length of data to get rid of sleeping in invalid context BUG
print.
- Correct optimization bug which occured when building without debug
information (the compiler optimized it incorrectly).
- Update of irq, fixed interrupt mask handling.
- Correct bug regarding keysize when doing context save.
- BUG! DES hangs when encrypting data not modulo 16 using DMA. The
reason for this is that the CRYP IP only supports burst size of 4
words. Due to this reason DMA for DES have been replaced by CPU
mode instead.
ST-Ericsson ID: 283399, 340779
ST-Ericsson Linux next: Not tested, ER 320876
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I23dbc123dd2fb7e47f5713025ed71423efbb5b18
Signed-off-by: Joakim Bech <joakim.xx.bech@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23297
Reviewed-by: QATEST
Reviewed-by: Berne HEBARK <berne.hebark@stericsson.com>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions