summaryrefslogtreecommitdiffstats
path: root/src/lib/crypto/arcfour/arcfour.h
blob: c6e43533486937bf4b4ba2f340927e4da711845f (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
#ifndef ARCFOUR_H
#define ARCFOUR_H

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

extern 
krb5_error_code krb5_arcfour_encrypt(const struct krb5_enc_provider *,
			const struct krb5_hash_provider *,
			const krb5_keyblock *,
			krb5_keyusage,
			const krb5_data *,
     			const krb5_data *,
			krb5_data *);

extern 
krb5_error_code krb5_arcfour_decrypt(const struct krb5_enc_provider *,
			const struct krb5_hash_provider *,
			const krb5_keyblock *,
			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;
#endif /* ARCFOUR_H */