Low-complexity finite field multiplier using irreducible trinomials