crypto: dh - add public key verification test