Searched refs:kds (Results 1 - 3 of 3) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openvpn-2.3.1/src/openvpn/
H A Dcrypto.c752 struct key_direction_state kds; local
804 key_direction_state_init (&kds, key_direction);
805 must_have_n_keys (passphrase_file, "tls-auth", &key2, kds.need_keys);
809 init_key_ctx (&ctx->encrypt, &key2.keys[kds.out_key], &kt, OPENVPN_OP_ENCRYPT,
811 init_key_ctx (&ctx->decrypt, &key2.keys[kds.in_key], &kt, OPENVPN_OP_DECRYPT,
1196 key_direction_state_init (struct key_direction_state *kds, int key_direction) argument
1198 CLEAR (*kds);
1202 kds->out_key = 0;
1203 kds->in_key = 1;
1204 kds
[all...]
H A Dcrypto.h334 void key_direction_state_init (struct key_direction_state *kds, int key_direction);
H A Dinit.c2017 struct key_direction_state kds; local
2043 key_direction_state_init (&kds, options->key_direction);
2045 kds.need_keys);
2046 init_key_ctx (&c->c1.ks.static_key.encrypt, &key2.keys[kds.out_key],
2048 init_key_ctx (&c->c1.ks.static_key.decrypt, &key2.keys[kds.in_key],

Completed in 211 milliseconds