*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> krb5_crypto_init (3)              
Title
Content
Arch
Section
 

NAME(3)

Contents


NAME    [Toc]    [Back]

     krb5_crypto_init, krb5_crypto_destroy -- initialize encryption context

LIBRARY    [Toc]    [Back]

     Kerberos 5 Library (libkrb5, -lkrb5)

SYNOPSIS    [Toc]    [Back]

     #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);

DESCRIPTION    [Toc]    [Back]

     These functions are used to initialize an encryption context that can be
     used to encrypt or checksum data.

     The krb5_crypt_init() initializes the encrytion context crypto.  The key
     parameter is the key to use for encryption, and checksums. The encryption
     type to use is taken from the key, but can be overridden with the enctype
     parameter.

     krb5_crypto_destroy() frees a previously allocated encrypion context.

SEE ALSO    [Toc]    [Back]

      
      
     krb5_create_checksum(3), krb5_encrypt(3)

HEIMDAL                          April 7, 1999                         HEIMDAL
[ Back ]
 Similar pages
Name OS Title
CSSM_CSP_CreateSymmetricContext Tru64 Create a symmetric encryption cryptographic context (CDSA)
CSSM_CSP_CreateAsymmetricContext Tru64 Create an asymmetric encryption cryptographic context (CDSA)
gss_init_sec_context HP-UX establish a security context between the context initiator and a context acceptor
des_string_to_key Tru64 Data Encryption Standard (DES) encryption library routines (Auth)
des_quad_cksum Tru64 Data Encryption Standard (DES) encryption library routines (Auth)
des_key_sched Tru64 Data Encryption Standard (DES) encryption library routines (Auth)
des_is_weak_key Tru64 Data Encryption Standard (DES) encryption library routines (Auth)
des_crypt Tru64 Data Encryption Standard (DES) encryption library routines (Auth)
gss_accept_sec_context HP-UX establish a security context between the application and a context acceptor
glciscontext IRIX test whether a context ID is the current GLC context
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service