lib/crypto: add optimized helper functions aes_block_{xor,lshift,rshift}()