Lines Matching refs:digest

92     krb5_digest digest;  in digest_server_init()  local
94 ret = krb5_digest_alloc(context, &digest); in digest_server_init()
98 ret = krb5_digest_set_type(context, digest, opt->type_string); in digest_server_init()
103 ret = krb5_digest_set_server_cb(context, digest, in digest_server_init()
110 digest, in digest_server_init()
118 krb5_digest_get_server_nonce(context, digest)); in digest_server_init()
120 const char *s = krb5_digest_get_identifier(context, digest); in digest_server_init()
124 printf("opaque=%s\n", krb5_digest_get_opaque(context, digest)); in digest_server_init()
126 krb5_digest_free(digest); in digest_server_init()
136 krb5_digest digest; in digest_server_request() local
149 ret = krb5_digest_alloc(context, &digest); in digest_server_request()
157 ret = krb5_digest_set_identifier(context, digest, in digest_server_request()
163 ret = krb5_digest_set_type(context, digest, opt->type_string); in digest_server_request()
167 ret = krb5_digest_set_username(context, digest, opt->username_string); in digest_server_request()
171 ret = krb5_digest_set_server_nonce(context, digest, in digest_server_request()
177 ret = krb5_digest_set_client_nonce(context, digest, in digest_server_request()
184 ret = krb5_digest_set_opaque(context, digest, opt->opaque_string); in digest_server_request()
188 ret = krb5_digest_set_responseData(context, digest, in digest_server_request()
193 ret = krb5_digest_request(context, digest, in digest_server_request()
198 status = krb5_digest_rep_get_status(context, digest) ? "ok" : "failed"; in digest_server_request()
199 rsp = krb5_digest_get_rsp(context, digest); in digest_server_request()
206 ret = krb5_digest_get_session_key(context, digest, &session_key); in digest_server_request()
220 krb5_digest_free(digest); in digest_server_request()