I know that Elgamal algorithms have fallen out of fashion, and they are not included in any widespread cryptographic standard nowadays. However, they are still present in several popular crypto libraries (bouncy castle, botan, cryptopp, etc). One disturbing thing I found is that such libraries have no or very limited test vectors for Elgamal.

Do test vectors exist at all for Elgamal? What is a good reference? I especially refer to encryption and signing algorithms over $Z_p$.

1 Answer
1

There seem to be no standardized ElGamal test vectors available in the public domain. However, there are some ElGamal test vectors generated with libgcrypt 1.5.0 available in this fork of the pycrypto project.