6e6563ac8d11662d431eb2168d031614 parent 0b767b4df360bd442434d9d40b8a495e64202254 author Herbert Xu 1248420375 +0800 committer Herbert Xu 1248420375 +0800 crypto: api - Fix aligned ctx helper The aligned ctx helper was using a bogus alignment value thas was one off the correct value. Fortunately the current users do not require anything beyond the natural alignment of the platform so this hasn't caused a problem. This patch fixes that and also removes the unnecessary minimum check since if the alignment is less than the natural alignment then the subsequent ALIGN operation should be a noop. Signed-off-by: Herbert Xu 3;ø±œ