Home
last modified time | relevance | path

Searched refs:cry_algo (Results 1 – 4 of 4) sorted by relevance

/dports/security/vpnc/vpnc-0.5.3/
H A Dtunip.h89 int cry_algo, md_algo; member
104 int cry_algo, md_algo; member
H A Dtunip.c362 if (s->ipsec.cry_algo) { in encap_esp_encapsulate()
535 if (s->ipsec.cry_algo) { in encap_esp_recv_peer()
1011 if (s->ipsec.cry_algo) { in vpnc_doit()
1012 gcry_cipher_open(&s->ipsec.rx.cry_ctx, s->ipsec.cry_algo, GCRY_CIPHER_MODE_CBC, 0); in vpnc_doit()
1024 if (s->ipsec.cry_algo) { in vpnc_doit()
1025 gcry_cipher_open(&s->ipsec.tx.cry_ctx, s->ipsec.cry_algo, GCRY_CIPHER_MODE_CBC, 0); in vpnc_doit()
H A Dvpnc.c531 gcry_cipher_open(&cry_ctx, s->ike.cry_algo, GCRY_CIPHER_MODE_CBC, 0); in isakmp_crypt()
1439 s->ike.cry_algo = in do_phase1_am()
1456 if (s->ike.cry_algo == GCRY_CIPHER_DES && !opt_1des) { in do_phase1_am()
1604 gcry_cipher_algo_info(s->ike.cry_algo, GCRYCTL_GET_BLKLEN, NULL, &(s->ike.ivlen)); in do_phase1_am()
1605 gcry_cipher_algo_info(s->ike.cry_algo, GCRYCTL_GET_KEYLEN, NULL, &(s->ike.keylen)); in do_phase1_am()
2778 s->ipsec.cry_algo = in do_phase2_qm()
2784 if (s->ipsec.cry_algo) { in do_phase2_qm()
2785 gcry_cipher_algo_info(s->ipsec.cry_algo, GCRYCTL_GET_KEYLEN, NULL, &(s->ipsec.key_len)); in do_phase2_qm()
2800 if (s->ipsec.cry_algo == GCRY_CIPHER_DES && !opt_1des) { in do_phase2_qm()
2805 } else if (s->ipsec.cry_algo == GCRY_CIPHER_NONE && !opt_no_encryption) { in do_phase2_qm()
[all …]
/dports/sysutils/rsyslog8/rsyslog-8.2112.0/tools/
H A Drscryutil.c51 static int cry_algo = GCRY_CIPHER_AES128; variable
189 blkLength = gcry_cipher_get_algo_blklen(cry_algo); in initCrypt()
197 size_t keyLength = gcry_cipher_get_algo_keylen(cry_algo); in initCrypt()
206 gcryError = gcry_cipher_open(&gcry_chd, cry_algo, cry_mode, 0); in initCrypt()
504 cry_algo = temp; in main()