crypto: marvell/cesa - factor out first fragment decisions to helper