Update implementation and test vectors.