diff options
author | Vakul Garg <vakul@freescale.com> | 2013-03-12 13:55:21 +0530 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-03-22 18:13:54 +0800 |
commit | 575c1bd549ff6bc097b3669b086e54e01169379f (patch) | |
tree | 79f614dd0c7d6c62140cd199352ac37222ac8ffb /arch | |
parent | a80c5422b1426699c279b74fe8d3e8a4e3c902de (diff) | |
download | linux-3.10-575c1bd549ff6bc097b3669b086e54e01169379f.tar.gz linux-3.10-575c1bd549ff6bc097b3669b086e54e01169379f.tar.bz2 linux-3.10-575c1bd549ff6bc097b3669b086e54e01169379f.zip |
crypto: caam - set RDB bit in security configuration register
This change is required for post SEC-5.0 devices which have RNG4.
Setting RDB in security configuration register allows CAAM to use the
"Random Data Buffer" to be filled by a single request. The Random Data
Buffer is large enough for ten packets to get their IVs from a single
request. If the Random Data Buffer is not enabled, then each IV causes a
separate request, and RNG4 hardware cannot keep up resulting in lower
IPSEC throughput if random IVs are used.
Signed-off-by: Vakul Garg <vakul@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions