X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/b0d623f7f2ae71ed96e60569f61f9a9a27016e80..813fb2f63a553c957e917ede5f119b021d6ce391:/bsd/netinet6/esp_rijndael.h?ds=sidebyside diff --git a/bsd/netinet6/esp_rijndael.h b/bsd/netinet6/esp_rijndael.h index 1436da6b2..75d92c6e8 100644 --- a/bsd/netinet6/esp_rijndael.h +++ b/bsd/netinet6/esp_rijndael.h @@ -59,7 +59,7 @@ */ #include -#ifdef KERNEL_PRIVATE +#ifdef BSD_KERNEL_PRIVATE int esp_aes_schedlen(const struct esp_algorithm *); int esp_aes_schedule(const struct esp_algorithm *, struct secasvar *); int esp_cbc_decrypt_aes(struct mbuf *, size_t, struct secasvar *, @@ -68,4 +68,10 @@ int esp_cbc_encrypt_aes(struct mbuf *, size_t, size_t, struct secasvar *, const struct esp_algorithm *, int); -#endif /* KERNEL_PRIVATE */ +int esp_gcm_schedlen(const struct esp_algorithm *); +int esp_gcm_schedule(const struct esp_algorithm *, struct secasvar *); +int esp_gcm_encrypt_aes(struct mbuf *, size_t, size_t, struct secasvar *, const struct esp_algorithm *, int); +int esp_gcm_decrypt_aes(struct mbuf *, size_t, struct secasvar *, const struct esp_algorithm *, int); +int esp_gcm_encrypt_finalize(struct secasvar *, unsigned char *, unsigned int); +int esp_gcm_decrypt_finalize(struct secasvar *, unsigned char *, unsigned int); +#endif /* BSD_KERNEL_PRIVATE */