Example #1
0
int
main (int argc, char **argv)
{
    (void)argc;
    (void)argv;

    gcry_control (GCRYCTL_DISABLE_SECMEM);

    test_agent_protect ();
    test_agent_unprotect ();
    test_agent_private_key_type ();
    test_make_shadow_info ();
    test_agent_shadow_key ();
    test_agent_get_shadow_info ();
    test_agent_protect_shared_secret ();

    return 0;
}
Example #2
0
int
main (int argc, char **argv)
{
  (void)argv;

  opt.verbose = argc - 1;       /* We can do "./t-protect -v -v" */
  gcry_control (GCRYCTL_DISABLE_SECMEM);

  test_agent_protect ();
  test_agent_unprotect ();
  test_agent_private_key_type ();
  test_make_shadow_info ();
  test_agent_shadow_key ();
  test_agent_get_shadow_info ();
  test_agent_protect_shared_secret ();

  return 0;
}