xref: /xnu-8019.80.24/bsd/net/content_filter_crypto.h (revision a325d9c4a84054e40bbe985afedcb50ab80993ea)
1 /*
2  * Copyright (c) 2019 Apple Inc.
3  * All rights reserved.
4  */
5 
6 #ifndef __content_filter_crypto_h
7 #define __content_filter_crypto_h
8 
9 #include <net/content_filter.h>
10 
11 extern cfil_crypto_state_t
12 cfil_crypto_init_client(cfil_crypto_key client_key);
13 
14 extern void
15 cfil_crypto_cleanup_state(cfil_crypto_state_t state);
16 
17 extern int
18 cfil_crypto_sign_data(cfil_crypto_state_t state, cfil_crypto_data_t data,
19     cfil_crypto_signature signature, u_int32_t *signature_length);
20 
21 #endif // __content_filter_crypto_h
22