Home
last modified time | relevance | path

Searched refs:esp_algorithm (Results 1 – 9 of 9) sorted by relevance

/xnu-8020.121.3/bsd/netinet6/
H A Desp_rijndael.h63 size_t esp_aes_schedlen(const struct esp_algorithm *);
64 int esp_aes_schedule(const struct esp_algorithm *, struct secasvar *);
66 const struct esp_algorithm *, int);
69 const struct esp_algorithm *, int);
71 size_t esp_gcm_schedlen(const struct esp_algorithm *);
72 int esp_gcm_schedule(const struct esp_algorithm *, struct secasvar *);
73 int esp_gcm_ivlen(const struct esp_algorithm *, struct secasvar *);
74 …m_encrypt_aes(struct mbuf *, size_t, size_t, struct secasvar *, const struct esp_algorithm *, int);
75 int esp_gcm_decrypt_aes(struct mbuf *, size_t, struct secasvar *, const struct esp_algorithm *, int…
H A Desp.h101 struct esp_algorithm { struct
107 size_t (*schedlen)(const struct esp_algorithm *); argument
109 int (*ivlen)(const struct esp_algorithm *, struct secasvar *); argument
111 struct secasvar *, const struct esp_algorithm *, int); argument
113 struct secasvar *, const struct esp_algorithm *, int); argument
115 int (*schedule)(const struct esp_algorithm *, struct secasvar *); argument
116 int (*blockdecrypt)(const struct esp_algorithm *, argument
118 int (*blockencrypt)(const struct esp_algorithm *, argument
128 extern const struct esp_algorithm *esp_algorithm_lookup(int); argument
137 extern int esp_schedule(const struct esp_algorithm *, struct secasvar *);
H A Desp_core.c112 struct secasvar *, const struct esp_algorithm *, int);
114 struct secasvar *, const struct esp_algorithm *, int);
116 static int esp_descbc_ivlen(const struct esp_algorithm *,
118 static int esp_des_schedule(const struct esp_algorithm *,
120 static size_t esp_des_schedlen(const struct esp_algorithm *);
121 static int esp_des_blockdecrypt(const struct esp_algorithm *,
123 static int esp_des_blockencrypt(const struct esp_algorithm *,
126 static int esp_3des_schedule(const struct esp_algorithm *,
128 static size_t esp_3des_schedlen(const struct esp_algorithm *);
129 static int esp_3des_blockdecrypt(const struct esp_algorithm *,
[all …]
H A Desp_chachapoly.h41 size_t esp_chachapoly_schedlen(const struct esp_algorithm *);
42 int esp_chachapoly_schedule(const struct esp_algorithm *,
45 const struct esp_algorithm *, int);
47 const struct esp_algorithm *, int);
51 int esp_chachapoly_ivlen(const struct esp_algorithm *, struct secasvar *);
H A Desp_chachapoly.c94 const struct esp_algorithm *algo; in esp_chachapoly_mature()
144 esp_chachapoly_schedlen(__unused const struct esp_algorithm *algo) in esp_chachapoly_schedlen()
150 esp_chachapoly_schedule(__unused const struct esp_algorithm *algo, in esp_chachapoly_schedule()
195 esp_chachapoly_ivlen(const struct esp_algorithm *algo, in esp_chachapoly_ivlen()
266 __unused const struct esp_algorithm *algo, in esp_chachapoly_encrypt()
413 __unused const struct esp_algorithm *algo, in esp_chachapoly_decrypt()
H A Desp_rijndael.c98 __unused const struct esp_algorithm *algo) in esp_aes_schedlen()
105 __unused const struct esp_algorithm *algo, in esp_aes_schedule()
151 const struct esp_algorithm *algo, in esp_cbc_decrypt_aes()
366 const struct esp_algorithm *algo, in esp_cbc_encrypt_aes()
589 __unused const struct esp_algorithm *algo) in esp_gcm_schedlen()
595 esp_gcm_schedule( __unused const struct esp_algorithm *algo, in esp_gcm_schedule()
644 esp_gcm_ivlen(const struct esp_algorithm *algo, in esp_gcm_ivlen()
680 const struct esp_algorithm *algo __unused, in esp_gcm_encrypt_aes()
924 const struct esp_algorithm *algo __unused, in esp_gcm_decrypt_aes()
H A Desp_output.c135 const struct esp_algorithm *algo; in esp_hdrsiz()
246 const struct esp_algorithm *algo; in esp_output()
H A Desp_input.c222 const struct esp_algorithm *algo; in esp4_input_extended()
922 const struct esp_algorithm *algo; in esp6_input_extended()
/xnu-8020.121.3/bsd/netkey/
H A Dkey.c4262 const struct esp_algorithm *algo; in key_setsaval()
4637 const struct esp_algorithm *algo; in key_mature()
7766 const struct esp_algorithm *algo; in key_getcomb_esp()
8516 const struct esp_algorithm *ealgo; in key_register()