aboutsummaryrefslogtreecommitdiff
path: root/src/lib/crypto/builtin/arcfour/arcfour.h
blob: e00708a7c7d0f97cc2590f17722c88bd72f754a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef ARCFOUR_H
#define ARCFOUR_H

extern void
krb5int_arcfour_encrypt_length(const struct krb5_enc_provider *,
			const struct krb5_hash_provider *,
			size_t,
			size_t *);

extern krb5_error_code
krb5int_arcfour_encrypt(const struct krb5_enc_provider *,
			const struct krb5_hash_provider *,
			krb5_key,
			krb5_keyusage,
			const krb5_data *,
     			const krb5_data *,
			krb5_data *);

extern krb5_error_code
krb5int_arcfour_decrypt(const struct krb5_enc_provider *,
			const struct krb5_hash_provider *,
			krb5_key,
			krb5_keyusage,
			const krb5_data *,
			const krb5_data *,
			krb5_data *);

extern krb5_error_code
krb5int_arcfour_string_to_key(
     const struct krb5_enc_provider *,
     const krb5_data *,
     const krb5_data *,
     const krb5_data *,
     krb5_keyblock *);

extern const struct krb5_enc_provider krb5int_enc_arcfour;
extern const struct krb5_aead_provider krb5int_aead_arcfour;

#endif /* ARCFOUR_H */