| 1 |
|
|---|
| 2 | KRB5_MK_SAFE(3) BSD Library Functions Manual KRB5_MK_SAFE(3)
|
|---|
| 3 |
|
|---|
| 4 | NNAAMMEE
|
|---|
| 5 | kkrrbb55__mmkk__ssaaffee, kkrrbb55__mmkk__pprriivv -- generates integrity protected and/or
|
|---|
| 6 | encrypted messages
|
|---|
| 7 |
|
|---|
| 8 | LLIIBBRRAARRYY
|
|---|
| 9 | Kerberos 5 Library (libkrb5, -lkrb5)
|
|---|
| 10 |
|
|---|
| 11 | SSYYNNOOPPSSIISS
|
|---|
| 12 | ##iinncclluuddee <<kkrrbb55..hh>>
|
|---|
| 13 |
|
|---|
| 14 | _k_r_b_5___e_r_r_o_r___c_o_d_e
|
|---|
| 15 | kkrrbb55__mmkk__pprriivv(_k_r_b_5___c_o_n_t_e_x_t _c_o_n_t_e_x_t, _k_r_b_5___a_u_t_h___c_o_n_t_e_x_t _a_u_t_h___c_o_n_t_e_x_t,
|
|---|
| 16 | _c_o_n_s_t _k_r_b_5___d_a_t_a _*_u_s_e_r_d_a_t_a, _k_r_b_5___d_a_t_a _*_o_u_t_b_u_f,
|
|---|
| 17 | _k_r_b_5___r_e_p_l_a_y___d_a_t_a _*_o_u_t_d_a_t_a);
|
|---|
| 18 |
|
|---|
| 19 | _k_r_b_5___e_r_r_o_r___c_o_d_e
|
|---|
| 20 | kkrrbb55__mmkk__ssaaffee(_k_r_b_5___c_o_n_t_e_x_t _c_o_n_t_e_x_t, _k_r_b_5___a_u_t_h___c_o_n_t_e_x_t _a_u_t_h___c_o_n_t_e_x_t,
|
|---|
| 21 | _c_o_n_s_t _k_r_b_5___d_a_t_a _*_u_s_e_r_d_a_t_a, _k_r_b_5___d_a_t_a _*_o_u_t_b_u_f,
|
|---|
| 22 | _k_r_b_5___r_e_p_l_a_y___d_a_t_a _*_o_u_t_d_a_t_a);
|
|---|
| 23 |
|
|---|
| 24 | DDEESSCCRRIIPPTTIIOONN
|
|---|
| 25 | kkrrbb55__mmkk__ssaaffee() and kkrrbb55__mmkk__pprriivv() formats KRB-SAFE (integrity protected)
|
|---|
| 26 | and KRB-PRIV (also encrypted) messages into _o_u_t_b_u_f. The actual message
|
|---|
| 27 | data is taken from _u_s_e_r_d_a_t_a. If the KRB5_AUTH_CONTEXT_DO_SEQUENCE or
|
|---|
| 28 | KRB5_AUTH_CONTEXT_DO_TIME flags are set in the _a_u_t_h___c_o_n_t_e_x_t, sequence
|
|---|
| 29 | numbers and time stamps are generated. If the
|
|---|
| 30 | KRB5_AUTH_CONTEXT_RET_SEQUENCE or KRB5_AUTH_CONTEXT_RET_TIME flags are
|
|---|
| 31 | set they are also returned in the _o_u_t_d_a_t_a parameter.
|
|---|
| 32 |
|
|---|
| 33 | SSEEEE AALLSSOO
|
|---|
| 34 | krb5_auth_con_init(3), krb5_rd_priv(3), krb5_rd_safe(3)
|
|---|
| 35 |
|
|---|
| 36 | HEIMDAL May 1, 2006 HEIMDAL
|
|---|