NAME(3) UNIX Programmer's Manual NAME(3) NNAAMMEE kkrrbb55__ccrryyppttoo__iinniitt, kkrrbb55__ccrryyppttoo__ddeessttrrooyy - initialize encryption context LLIIBBRRAARRYY Kerberos 5 Library (libkrb5, -lkrb5) SSYYNNOOPPSSIISS _k_r_b_5___e_r_r_o_r___c_o_d_e kkrrbb55__ccrryyppttoo__iinniitt(_k_r_b_5___c_o_n_t_e_x_t _c_o_n_t_e_x_t, _k_r_b_5___k_e_y_b_l_o_c_k _*_k_e_y, _k_r_b_5___e_n_c_t_y_p_e _e_n_c_t_y_p_e, _k_r_b_5___c_r_y_p_t_o _*_c_r_y_p_t_o) _k_r_b_5___e_r_r_o_r___c_o_d_e kkrrbb55__ccrryyppttoo__ddeessttrrooyy(_k_r_b_5___c_o_n_t_e_x_t _c_o_n_t_e_x_t, _k_r_b_5___c_r_y_p_t_o _c_r_y_p_t_o) DDEESSCCRRIIPPTTIIOONN These functions are used to initialize an encryption context that can be used to encrypt or checksum data. The kkrrbb55__ccrryypptt__iinniitt() initializes the encrytion context _c_r_y_p_t_o. The _k_e_y 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 _e_n_c_t_y_p_e _p_a_r_a_m_e_t_e_r. kkrrbb55__ccrryyppttoo__ddeessttrrooyy() frees a previously allocated encrypion context. SSEEEE AALLSSOO krb5_create_checksum(3), krb5_encrypt(3) HEIMDAL April 7, 1999 1