static void run_sig(void) { print_number("COUNT", count); print_chunk("CKY_I", cky_i, 0); print_chunk("CKY_R", cky_r, 0); print_chunk("Ni", ni, 0); print_chunk("Nr", nr, 0); print_symkey("g^xy", g_xy, 0); if (prf->prf == NULL) { print_line(prf->key); return; } PK11SymKey *skeyid = ikev1_signature_skeyid(prf->prf, ni, nr, g_xy); print_symkey("SKEYID", skeyid, 0); ikev1_skeyid_alphabet(skeyid); release_symkey(__func__, "skeyid", &skeyid); }
static void run_sig(void) { print_number("COUNT", count); print_chunk("CKY_I", cky_i, 0); print_chunk("CKY_R", cky_r, 0); print_chunk("Ni", ni, 0); print_chunk("Nr", nr, 0); print_symkey("g^xy", g_xy, 0); if (hasher == NULL) { print_line(hasher_name); return; } PK11SymKey *skeyid = ikev1_signature_skeyid(hasher, ni, nr, g_xy); print_symkey("SKEYID", skeyid, 0); ikev1_skeyid_alphabet(skeyid); free_any_symkey("skeyid", &skeyid); }