Sample ECC and RSA test code