def assert_block32_length(data):
    """Assert that data length is at a 32-bit boundary"""
    rem_bytes = len(data) % 4
    assert 0 == rem_bytes, 'data must be 32-bit aligned; len={}  rem_bytes={}'.format(
        len(data), rem_bytes)
