update doc
fix spec on tilt layout
fix a rare case that iv length is less than CIPHER_BLOCK_SIZE