aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/swiotlb.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2005-10-03 15:15:36 +1000
committerHerbert Xu <herbert@gondor.apana.org.au>2005-10-30 11:19:43 +1100
commit1b40efd772f4419fbc1a8940506424246985c333 (patch)
tree0f1ade69806e7f02196534b008ef8d2c925bf34b /lib/swiotlb.c
parent[CRYPTO] Simplify one-member scatterlist expressions (diff)
downloadwireguard-linux-1b40efd772f4419fbc1a8940506424246985c333.tar.xz
wireguard-linux-1b40efd772f4419fbc1a8940506424246985c333.zip
[CRYPTO] Check cra_alignmask against cra_blocksize
The cipher code relies on the fact that the block size is a multiple of the required alignment. So we should check this at the time of algorith registration. We also ensure that the block size is bounded by the page size. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/swiotlb.c')
0 files changed, 0 insertions, 0 deletions