sec: properly handle unaligned memory in xor_block() and xor_block_const()
authorarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 17 Feb 2011 14:15:51 +0000 (14:15 +0000)
committerarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 17 Feb 2011 14:15:51 +0000 (14:15 +0000)
commit30239ef110eb454b5df5c04ddaa1398364a80e3e
treee8d32e51dc4c6942cf5844e95f4fb53736938e83
parentc38ec4f1adaa0323f1eaef97a46585052bdeee31
sec: properly handle unaligned memory in xor_block() and xor_block_const()

This also fixes the following build warnings:

  warning: cast increases required alignment of target type

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4712 38d2e660-2303-0410-9eaa-f027e97ec537
bertos/sec/util.h