1 .\" Copyright (c) 1999 Kungliga Tekniska Högskolan
2 .\" $Id: krb5_crypto_init.3,v 1.4 2002/08/28 15:30:50 joda Exp $
8 .Nm krb5_crypto_destroy
9 .Nd initialize encryption context
11 Kerberos 5 Library (libkrb5, -lkrb5)
15 .Fn krb5_crypto_init "krb5_context context" "krb5_keyblock *key" "krb5_enctype enctype" "krb5_crypto *crypto"
17 .Fn krb5_crypto_destroy "krb5_context context" "krb5_crypto crypto"
19 These functions are used to initialize an encryption context that can
20 be used to encrypt or checksum data.
24 initializes the encrytion context
28 parameter is the key to use for encryption, and checksums. The
29 encryption type to use is taken from the key, but can be overridden
31 .Fa enctype parameter .
33 .Fn krb5_crypto_destroy
34 frees a previously allocated encrypion context.
38 .Xr krb5_create_checksum 3 ,