[Swan-dev] where to put crypto test vectors?

Andrew Cagney andrew.cagney at gmail.com
Wed Dec 31 19:01:07 EET 2014


Just a post note.

While adding (WIP) GCM, I needed to get logging working.  The sequence
below seems to work:

#if 0
    NSS_NoDB_Init(".");

    log_to_stderr = TRUE;
    base_debugging = DBG_ALL;
    reset_debugging();
    pluto_init_log();

    if (!test_aes_gcm()) {
        printf("aes-gcm failed\n");
    }
    exit(0);
#endif

With some chair shuffling, this could be turned into a separate
program, or something run as an option.


More information about the Swan-dev mailing list