Binary field arithmetic contributed by Sun Microsystems.