crypto: algif_hash - avoid zero-sized array