krb5_crypto_init(3)

krb5_crypto_init3

Encryption support in krb5

Part of krb5_crypto_destroy(3).

Usage

#include <krb5.h>

krb5_error_code

krb5_crypto_init(krb5_context context, krb5_keyblock *key, krb5_enctype enctype, krb5_crypto *crypto);

krb5_error_code

krb5_crypto_destroy(krb5_context context, krb5_crypto crypto);

Library

Kerberos 5 Library (libkrb5, -lkrb5)

Overview

Heimdal exports parts of the Kerberos crypto interface for applications.

Each kerberos encrytion/checksum function takes a crypto context.

To setup and destroy crypto contextes there are two functions krb5_crypto_init() and krb5_crypto_destroy(). The encryption type to use is taken from the key, but can be overridden with the enctype, parameter. This can be useful for encryptions types which is compatiable (DES for example).

Releases

3 releases since Debian 3.1 (Sarge); the text changed 2 times.

  1. 3.1
  2. 4.0
  3. 5.0

From heimdal-dev 1.2.dfsg.1-2.1+lenny1 in Debian 5.0 (Lenny). Parsed by carta from the page's mdoc source.