• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openvpn-2.3.1/src/openvpn/

Lines Matching defs:gc

91   struct gc_arena gc;
92 gc_init (&gc);
145 dmsg (D_PACKET_CONTENT, "ENCRYPT IV: %s", format_hex (iv_buf, iv_size, 0, &gc));
148 format_hex (BPTR (buf), BLEN (buf), 80, &gc));
185 format_hex (BPTR (&work), BLEN (&work), 80, &gc));
213 gc_free (&gc);
219 gc_free (&gc);
237 struct gc_arena gc;
238 gc_init (&gc);
295 dmsg (D_PACKET_CONTENT, "DECRYPT IV: %s", format_hex (iv_buf, iv_size, 0, &gc));
319 format_hex (BPTR (&work), BLEN (&work), 80, &gc));
374 error_prefix, packet_id_net_print (&pin, true, &gc));
381 gc_free (&gc);
387 gc_free (&gc);
465 struct gc_arena gc = gc_new ();
480 format_hex (key->cipher, kt->cipher_length, 0, &gc));
496 format_hex (key->hmac, kt->hmac_length, 0, &gc));
504 gc_free (&gc);
582 struct gc_arena gc = gc_new ();
598 format_hex (orig.cipher, kt->cipher_length, 0, &gc),
599 format_hex (key->cipher, kt->cipher_length, 0, &gc));
603 gc_free (&gc);
633 struct gc_arena gc = gc_new ();
649 dmsg (D_SHOW_KEY_SOURCE, "Cipher source entropy: %s", format_hex (key->cipher, cipher_len, 0, &gc));
650 dmsg (D_SHOW_KEY_SOURCE, "HMAC source entropy: %s", format_hex (key->hmac, hmac_len, 0, &gc));
656 gc_free (&gc);
668 struct gc_arena gc = gc_new ();
672 format_hex (k->keys[0].cipher, kt->cipher_length, 0, &gc));
675 format_hex (k->keys[0].hmac, kt->hmac_length, 0, &gc));
678 format_hex (k->keys[1].cipher, kt->cipher_length, 0, &gc));
681 format_hex (k->keys[1].hmac, kt->hmac_length, 0, &gc));
682 gc_free (&gc);
689 struct gc_arena gc = gc_new ();
690 struct buffer src = alloc_buf_gc (TUN_MTU_SIZE (frame), &gc);
691 struct buffer work = alloc_buf_gc (BUF_SIZE (frame), &gc);
692 struct buffer encrypt_workspace = alloc_buf_gc (BUF_SIZE (frame), &gc);
693 struct buffer decrypt_workspace = alloc_buf_gc (BUF_SIZE (frame), &gc);
736 gc_free (&gc);
838 struct gc_arena gc = gc_new ();
884 in = alloc_buf_gc (2048, &gc);
1015 &gc);
1022 gc_free (&gc);
1081 struct gc_arena gc = gc_new ();
1087 struct buffer out = alloc_buf_gc (2048, &gc);
1088 struct buffer nbits_head_text = alloc_buf_gc (128, &gc);
1115 &gc);
1144 gc_free (&gc);
1416 md5sum (uint8_t *buf, int len, int n_print_chars, struct gc_arena *gc)
1423 return format_hex (digest, MD5_DIGEST_LENGTH, n_print_chars, gc);