Home
last modified time | relevance | path

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

/xnu-10063.101.15/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);
76 size_t esp_gcm_schedlen(const struct esp_algorithm *);
77 int esp_gcm_schedule(const struct esp_algorithm *, struct secasvar *);
78 int esp_gcm_ivlen(const struct esp_algorithm *, struct secasvar *);
79 …m_encrypt_aes(struct mbuf *, size_t, size_t, struct secasvar *, const struct esp_algorithm *, int);
80 int esp_gcm_decrypt_aes(struct mbuf *, size_t, struct secasvar *, const struct esp_algorithm *, int…
H A Desp.h120 struct esp_algorithm { struct
126 size_t (*schedlen)(const struct esp_algorithm *); argument
128 int (*ivlen)(const struct esp_algorithm *, struct secasvar *); argument
130 struct secasvar *, const struct esp_algorithm *, int); argument
132 struct secasvar *, const struct esp_algorithm *, int); argument
134 int (*schedule)(const struct esp_algorithm *, struct secasvar *); argument
135 int (*blockdecrypt)(const struct esp_algorithm *, argument
137 int (*blockencrypt)(const struct esp_algorithm *, argument
151 extern const struct esp_algorithm *esp_algorithm_lookup(int); argument
162 extern int esp_schedule(const struct esp_algorithm *, struct secasvar *);
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);
55 int esp_chachapoly_ivlen(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.c75 const struct esp_algorithm *algo; in esp_chachapoly_mature()
125 esp_chachapoly_schedlen(__unused const struct esp_algorithm *algo) in esp_chachapoly_schedlen()
131 esp_chachapoly_schedule(__unused const struct esp_algorithm *algo, in esp_chachapoly_schedule()
176 esp_chachapoly_ivlen(const struct esp_algorithm *algo, in esp_chachapoly_ivlen()
248 __unused const struct esp_algorithm *algo, in esp_chachapoly_encrypt()
393 __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()
670 __unused const struct esp_algorithm *algo) in esp_gcm_schedlen()
676 esp_gcm_schedule( __unused const struct esp_algorithm *algo, in esp_gcm_schedule()
731 esp_gcm_ivlen(const struct esp_algorithm *algo, in esp_gcm_ivlen()
767 const struct esp_algorithm *algo __unused, in esp_gcm_encrypt_aes()
926 const struct esp_algorithm *algo __unused, in esp_gcm_decrypt_aes()
H A Desp_output.c139 const struct esp_algorithm *algo; in esp_hdrsiz()
250 const struct esp_algorithm *algo; in esp_output()
982 const struct esp_algorithm *e_algo = NULL; in esp_kpipe_output()
H A Desp_input.c227 const struct esp_algorithm *algo; in esp4_input_extended()
933 const struct esp_algorithm *algo; in esp6_input_extended()
1734 const struct esp_algorithm *e_algo = NULL; in esp_kpipe_input()
/xnu-10063.101.15/bsd/netkey/
H A Dkey.c4392 const struct esp_algorithm *algo; in key_setsaval()
4770 const struct esp_algorithm *algo; in key_mature()
7944 const struct esp_algorithm *algo; in key_getcomb_esp()
8688 const struct esp_algorithm *ealgo; in key_register()