On Wed, Jun 22, 2016 at 06:37:50AM +0000, Benedetto, Salvatore wrote: > > Can you explain me the benefit in doing so? The less code we have the better. Most of our algorithm types have a single test function, I have seen no reason why kpp should be different. akcipher has been an anomaly and I'm fixing it right now. > I thought my patchset had reached an 'acceptable' state by now :-) Now that the secret is encoded to a format under our control, you can generate byte-stream test vectors for both DH and ECDH using the same format. So there is no need to have test functions specific to one algorithm. Cheers, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html