~ubuntu-branches/ubuntu/precise/krb5/precise-updates

« back to all changes in this revision

Viewing changes to src/lib/crypto/krb/arcfour/arcfour-int.h

  • Committer: Package Import Robot
  • Author(s): Sam Hartman
  • Date: 2011-12-01 19:34:41 UTC
  • mfrom: (28.1.14 sid)
  • Revision ID: package-import@ubuntu.com-20111201193441-9tipg3aru1jsidyv
Tags: 1.10+dfsg~alpha1-6
* Fix segfault with unknown hostnames in krb5_sname_to_principal,
  Closes: #650671
* Indicate that this library breaks libsmbclient versions that depend on
  krb5_locate_kdc, Closes: #650603, #650611

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
2
 
/*
3
 
 
4
 
  ARCFOUR cipher (based on a cipher posted on the Usenet in Spring-95).
5
 
  This cipher is widely believed and has been tested to be equivalent
6
 
  with the RC4 cipher from RSA Data Security, Inc.  (RC4 is a trademark
7
 
  of RSA Data Security)
8
 
 
9
 
*/
10
 
#ifndef ARCFOUR_INT_H
11
 
#define ARCFOUR_INT_H
12
 
 
13
 
#include "arcfour.h"
14
 
 
15
 
#define CONFOUNDERLENGTH 8
16
 
 
17
 
krb5_keyusage
18
 
krb5int_arcfour_translate_usage(krb5_keyusage usage);
19
 
 
20
 
krb5_error_code
21
 
krb5int_arcfour_usage_key(const struct krb5_enc_provider *enc,
22
 
                          const struct krb5_hash_provider *hash,
23
 
                          const krb5_keyblock *session_keyblock,
24
 
                          krb5_keyusage usage,
25
 
                          krb5_keyblock *out);
26
 
 
27
 
krb5_error_code
28
 
krb5int_arcfour_enc_key(const struct krb5_enc_provider *enc,
29
 
                        const struct krb5_hash_provider *hash,
30
 
                        const krb5_keyblock *usage_keyblock,
31
 
                        const krb5_data *checksum, krb5_keyblock *out);
32
 
 
33
 
#endif /* ARCFOUR_INT_H */