/freebsd/crypto/heimdal/kcm/ |
H A D | acquire.c | 42 kcm_ccache ccache, in kcm_ccache_acquire() argument 54 KCM_ASSERT_VALID(ccache); in kcm_ccache_acquire() 62 if (ccache->key.keytab == NULL) in kcm_ccache_acquire() 67 ccache->name); in kcm_ccache_acquire() 77 if (ccache->server != NULL) { in kcm_ccache_acquire() 92 if (ccache->tkt_life != 0) in kcm_ccache_acquire() 94 if (ccache->renew_life != 0) in kcm_ccache_acquire() 100 ccache->client, in kcm_ccache_acquire() 101 &ccache->key.keyblock, in kcm_ccache_acquire() 109 ccache->client, in kcm_ccache_acquire() [all …]
|
H A D | acl.c | 41 kcm_ccache ccache) in kcm_access() argument 48 KCM_ASSERT_VALID(ccache); in kcm_access() 114 if (kcm_is_same_session(client, ccache->uid, ccache->session)) { in kcm_access() 149 kcm_ccache ccache, in kcm_chmod() argument 152 KCM_ASSERT_VALID(ccache); in kcm_chmod() 158 if (ccache->uid != client->uid) in kcm_chmod() 166 ccache->mode = mode; in kcm_chmod() 176 kcm_ccache ccache, in kcm_chown() argument 180 KCM_ASSERT_VALID(ccache); in kcm_chown() 194 ccache->uid = uid; in kcm_chown() [all …]
|
H A D | client.c | 43 kcm_ccache *ccache) in kcm_ccache_resolve_client() argument 57 kcm_release_ccache(context, *ccache); in kcm_ccache_resolve_client() 69 kcm_ccache ccache; in kcm_ccache_destroy_client() local 94 kcm_ccache ccache; in kcm_ccache_new_client() local 120 if ((ccache->uid != client->uid || in kcm_ccache_new_client() 136 ccache->uid = client->uid; in kcm_ccache_new_client() 137 ccache->gid = client->gid; in kcm_ccache_new_client() 138 ccache->session = client->session; in kcm_ccache_new_client() 147 kcm_cleanup_events(context, ccache); in kcm_ccache_new_client() 152 kcm_release_ccache(context, ccache); in kcm_ccache_new_client() [all …]
|
H A D | cache.c | 58 kcm_ccache *ccache) in kcm_ccache_resolve() argument 63 *ccache = NULL; in kcm_ccache_resolve() 80 *ccache = p; in kcm_ccache_resolve() 96 *ccache = NULL; in kcm_ccache_resolve_by_uuid() 113 *ccache = p; in kcm_ccache_resolve_by_uuid() 251 ccache = *p; in kcm_ccache_destroy() 254 free(ccache); in kcm_ccache_destroy() 271 *ccache = NULL; in kcm_ccache_alloc() 326 *ccache = slot; in kcm_ccache_alloc() 362 kcm_ccache ccache) in kcm_ccache_remove_creds() argument [all …]
|
H A D | renew.c | 39 kcm_ccache ccache, in kcm_ccache_refresh() argument 50 KCM_ASSERT_VALID(ccache); in kcm_ccache_refresh() 52 if (ccache->client == NULL) { in kcm_ccache_refresh() 58 HEIMDAL_MUTEX_lock(&ccache->mutex); in kcm_ccache_refresh() 61 kcm_internal_ccache(context, ccache, &ccdata); in kcm_ccache_refresh() 64 in.client = ccache->client; in kcm_ccache_refresh() 66 if (ccache->server != NULL) { in kcm_ccache_refresh() 84 if (ccache->tkt_life) in kcm_ccache_refresh() 86 if (ccache->renew_life) in kcm_ccache_refresh() 102 ccache->name, krb5_get_err_text(context, ret)); in kcm_ccache_refresh() [all …]
|
H A D | events.c | 84 event->ccache->name); in log_event() 113 (*e)->ccache = event->ccache; in kcm_enqueue_event_internal() 175 kcm_ccache ccache, in is_primary_credential_p() argument 188 if (ccache->creds == NULL) in is_primary_credential_p() 207 kcm_ccache ccache = event->ccache; in kcm_ccache_make_default_event() local 244 kcm_ccache ccache, in kcm_ccache_enqueue_default() argument 251 event.ccache = ccache; in kcm_ccache_enqueue_default() 298 kcm_ccache ccache) in kcm_cleanup_events() argument 302 KCM_ASSERT_VALID(ccache); in kcm_cleanup_events() 307 if ((*e)->valid && (*e)->ccache == ccache) { in kcm_cleanup_events() [all …]
|
H A D | config.c | 205 ccache->uid = uid; in parse_owners() 207 ccache->uid = 0; /* geteuid() XXX */ in parse_owners() 210 ccache->gid = gid; in parse_owners() 212 ccache->gid = 0; /* getegid() XXX */ in parse_owners() 227 kcm_ccache ccache; in ccache_init_system() local 235 &ccache); in ccache_init_system() 242 ret = parse_owners(ccache); in ccache_init_system() 248 kcm_release_ccache(kcm_context, ccache); in ccache_init_system() 284 if (ccache->renew_life < 0) { in ccache_init_system() 295 if (ccache->tkt_life < 0) { in ccache_init_system() [all …]
|
H A D | protocol.c | 82 kcm_ccache ccache; in kcm_op_get_name() local 91 name, &ccache); in kcm_op_get_name() 153 kcm_ccache ccache; in kcm_op_initialize() local 195 event.ccache = ccache; in kcm_op_initialize() 254 kcm_ccache ccache; in kcm_op_store() local 270 name, &ccache); in kcm_op_store() 313 kcm_ccache ccache; in kcm_op_retrieve() local 402 kcm_ccache ccache; in kcm_op_get_principal() local 446 kcm_ccache ccache; in kcm_op_get_cred_uuid_list() local 491 kcm_ccache ccache; in kcm_op_get_cred_by_uuid() local [all …]
|
/freebsd/crypto/heimdal/appl/ftp/ftpd/ |
H A D | klist.c | 70 krb5_ccache ccache, in print_tickets() argument 86 krb5_cc_get_type(context, ccache), in print_tickets() 87 krb5_cc_get_name(context, ccache)); in print_tickets() 91 ret = krb5_cc_start_seq_get (context, ccache, &cursor); in print_tickets() 100 ccache, in print_tickets() 111 ret = krb5_cc_end_seq_get (context, ccache, &cursor); in print_tickets() 125 krb5_ccache ccache; in klist5() local 136 ret = krb5_cc_resolve(context, k5ccname, &ccache); in klist5() 138 ret = krb5_cc_default (context, &ccache); in klist5() 148 krb5_cc_get_name(context, ccache)); in klist5() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/cache/ |
H A D | sifive,ccache0.yaml | 25 - sifive,fu540-c000-ccache 26 - sifive,fu740-c000-ccache 37 - sifive,fu540-c000-ccache 38 - sifive,fu740-c000-ccache 42 - starfive,jh7100-ccache 43 - starfive,jh7110-ccache 47 - const: microchip,mpfs-ccache 93 - starfive,jh7100-ccache 94 - starfive,jh7110-ccache 95 - microchip,mpfs-ccache [all …]
|
/freebsd/crypto/heimdal/lib/krb5/ |
H A D | acache.c | 444 error = (*a->ccache->func->get_name)(a->ccache, &name); in get_cc_name() 546 error = (*a->ccache->func->get_kdc_time_offset)(a->ccache, in acc_resolve() 617 (*a->ccache->func->remove_credentials)(a->ccache, ccred); in acc_initialize() 622 error = (*a->ccache->func->set_principal)(a->ccache, in acc_initialize() 628 error = (*a->ccache->func->set_kdc_time_offset)(a->ccache, in acc_initialize() 642 (*a->ccache->func->release)(a->ccache); in acc_close() 665 error = (*a->ccache->func->destroy)(a->ccache); in acc_destroy() 726 error = (*a->ccache->func->get_principal)(a->ccache, in acc_get_principal() 858 (*a->ccache->func->remove_credentials)(a->ccache, ccred); in acc_remove_cred() 1006 error = (*ato->ccache->func->move)(afrom->ccache, ato->ccache); in acc_move() [all …]
|
H A D | verify_user.c | 39 krb5_ccache ccache, in verify_common() argument 67 if(ccache == NULL) in verify_common() 70 id = ccache; in verify_common() 76 if(ccache == NULL) in verify_common() 119 krb5_verify_opt_set_ccache(krb5_verify_opt *opt, krb5_ccache ccache) in krb5_verify_opt_set_ccache() argument 121 opt->ccache = ccache; in krb5_verify_opt_set_ccache() 178 return verify_common (context, principal, OPT(ccache, NULL), in verify_user_opt_int() 221 krb5_ccache ccache, in krb5_verify_user() argument 230 krb5_verify_opt_set_ccache(&opt, ccache); in krb5_verify_user() 245 krb5_ccache ccache, in krb5_verify_user_lrealm() argument [all …]
|
H A D | verify_init.c | 75 krb5_ccache *ccache, in krb5_verify_init_creds() argument 115 if (ccache && *ccache) in krb5_verify_init_creds() 116 local_ccache = *ccache; in krb5_verify_init_creds() 190 (ccache == NULL in krb5_verify_init_creds() 191 || (ret != 0 && *ccache == NULL))) in krb5_verify_init_creds() 194 if (ret == 0 && ccache != NULL && *ccache == NULL) in krb5_verify_init_creds() 195 *ccache = local_ccache; in krb5_verify_init_creds() 218 krb5_ccache ccache, in krb5_get_validated_creds() argument
|
H A D | sendauth.c | 73 krb5_ccache ccache, in krb5_sendauth() argument 123 if (ccache == NULL) { in krb5_sendauth() 124 ret = krb5_cc_default (context, &ccache); in krb5_sendauth() 131 ret = krb5_cc_get_principal (context, ccache, &this_client); in krb5_sendauth() 134 krb5_cc_close(context, ccache); in krb5_sendauth() 147 ret = krb5_get_credentials (context, 0, ccache, in_creds, &creds); in krb5_sendauth() 150 krb5_cc_close(context, ccache); in krb5_sendauth() 157 krb5_cc_close(context, ccache); in krb5_sendauth()
|
/freebsd/sys/contrib/device-tree/Bindings/riscv/ |
H A D | sifive,ccache0.yaml | 25 - sifive,fu540-c000-ccache 26 - sifive,fu740-c000-ccache 37 - sifive,fu540-c000-ccache 38 - sifive,fu740-c000-ccache 41 - const: starfive,jh7110-ccache 45 - const: microchip,mpfs-ccache 90 - sifive,fu740-c000-ccache 91 - starfive,jh7110-ccache 92 - microchip,mpfs-ccache 113 - sifive,fu740-c000-ccache [all …]
|
H A D | sifive-l2-cache.yaml | 25 - sifive,fu540-c000-ccache 26 - sifive,fu740-c000-ccache 36 - sifive,fu540-c000-ccache 37 - sifive,fu740-c000-ccache 40 - const: microchip,mpfs-ccache 41 - const: sifive,fu540-c000-ccache 85 - sifive,fu740-c000-ccache 86 - microchip,mpfs-ccache 106 const: sifive,fu740-c000-ccache 133 compatible = "sifive,fu540-c000-ccache", "cache";
|
/freebsd/crypto/openssh/ |
H A D | gss-serv-krb5.c | 119 krb5_ccache ccache; local 137 NULL, &ccache)) != 0) { 141 if ((problem = krb5_cc_gen_new(krb_context, &krb5_fcc_ops, &ccache))) { 149 if ((problem = ssh_krb5_cc_gen(krb_context, &ccache))) { 165 if ((problem = krb5_cc_initialize(krb_context, ccache, princ))) { 170 krb5_cc_destroy(krb_context, ccache); 177 client->creds, ccache))) { 179 krb5_cc_destroy(krb_context, ccache); 183 client->store.filename = xstrdup(krb5_cc_get_name(krb_context, ccache)); 194 krb5_cc_close(krb_context, ccache);
|
H A D | auth-krb5.c | 79 krb5_ccache ccache = NULL; in auth_krb5_password() local 102 krb5_mcc_ops.prefix, NULL, &ccache); in auth_krb5_password() 109 problem = krb5_cc_initialize(authctxt->krb5_ctx, ccache, in auth_krb5_password() 117 ccache, password, 1, NULL); in auth_krb5_password() 134 problem = krb5_cc_copy_cache(authctxt->krb5_ctx, ccache, in auth_krb5_password() 136 krb5_cc_destroy(authctxt->krb5_ctx, ccache); in auth_krb5_password() 137 ccache = NULL; in auth_krb5_password() 200 if (ccache) in auth_krb5_password() 201 krb5_cc_destroy(authctxt->krb5_ctx, ccache); in auth_krb5_password() 243 ssh_krb5_cc_gen(krb5_context ctx, krb5_ccache *ccache) { in ssh_krb5_cc_gen() argument [all …]
|
/freebsd/crypto/heimdal/kuser/ |
H A D | kdestroy.c | 75 krb5_ccache ccache; in main() local 111 while (krb5_cccol_cursor_next (context, cursor, &ccache) == 0 && ccache != NULL) { in main() 113 ret = krb5_cc_destroy (context, ccache); in main() 123 ret = krb5_cc_default(context, &ccache); in main() 129 &ccache); in main() 145 ret = krb5_cc_remove_cred(context, ccache, 0, &mcred); in main() 150 krb5_cc_close(context, ccache); in main() 156 ret = krb5_cc_destroy (context, ccache); in main()
|
H A D | kinit.c | 350 krb5_ccache ccache, in get_new_tickets() argument 621 krb5_cc_switch(context, ccache); in get_new_tickets() 689 krb5_ccache ccache; member 712 ctx->ccache, ctx->ticket_life, 0); in renew_func() 729 krb5_ccache ccache; in main() local 817 krb5_cc_get_type(context, ccache), in main() 835 krb5_cc_close(context, ccache); in main() 878 ccache, server_str, ticket_life); in main() 895 ctx.ccache = ccache; in main() 908 krb5_cc_destroy(context, ccache); in main() [all …]
|
H A D | klist.c | 228 krb5_ccache ccache, in print_tickets() argument 248 krb5_cc_get_type(context, ccache), in print_tickets() 249 krb5_cc_get_name(context, ccache)); in print_tickets() 262 krb5_cc_get_version(context, ccache)); in print_tickets() 267 ret = krb5_cc_get_kdc_offset(context, ccache, &sec); in print_tickets() 303 ccache, in print_tickets() 317 ret = krb5_cc_end_seq_get (context, ccache, &cursor); in print_tickets() 333 krb5_ccache ccache, in check_for_tgt() argument 463 krb5_cc_get_name(context, ccache)); in display_v5_ccache() 471 print_tickets (context, ccache, principal, do_verbose, in display_v5_ccache() [all …]
|
/freebsd/crypto/heimdal/lib/gssapi/krb5/ |
H A D | acquire_cred.c | 120 krb5_ccache ccache; in acquire_initiator_cred() local 125 ccache = NULL; in acquire_initiator_cred() 145 &ccache); in acquire_initiator_cred() 152 if (ccache == NULL) { in acquire_initiator_cred() 160 krb5_cc_close(context, ccache); in acquire_initiator_cred() 172 krb5_cc_close(context, ccache); in acquire_initiator_cred() 173 ccache = NULL; in acquire_initiator_cred() 211 NULL, &ccache); in acquire_initiator_cred() 230 ccache, in acquire_initiator_cred() 234 krb5_cc_close(context, ccache); in acquire_initiator_cred() [all …]
|
H A D | add_cred.c | 110 handle->ccache = NULL; in _gsskrb5_add_cred() 145 if (cred->ccache) { in _gsskrb5_add_cred() 151 type = krb5_cc_get_type(context, cred->ccache); in _gsskrb5_add_cred() 159 NULL, &handle->ccache); in _gsskrb5_add_cred() 165 ret = krb5_cc_copy_cache(context, cred->ccache, in _gsskrb5_add_cred() 166 handle->ccache); in _gsskrb5_add_cred() 173 name = krb5_cc_get_name(context, cred->ccache); in _gsskrb5_add_cred() 186 &handle->ccache); in _gsskrb5_add_cred() 230 if (handle->ccache) in _gsskrb5_add_cred() 231 krb5_cc_destroy(context, handle->ccache); in _gsskrb5_add_cred()
|
H A D | init_sec_context.c | 124 ctx->ccache = NULL; in _gsskrb5_create_ctx() 205 krb5_ccache ccache, in gsskrb5_get_creds() argument 248 ccache, in gsskrb5_get_creds() 287 krb5_cc_close(context, ctx->ccache); in gsskrb5_initiator_ready() 288 ctx->ccache = NULL; in gsskrb5_initiator_ready() 314 krb5_ccache ccache, in do_delegation() argument 353 ccache, in do_delegation() 416 ctx->ccache = cred->ccache; in init_auth() 501 krb5_cc_close(context, ctx->ccache); in init_auth() 502 ctx->ccache = NULL; in init_auth() [all …]
|
/freebsd/crypto/heimdal/lib/kadm5/ |
H A D | init_c.c | 322 krb5_ccache ccache, in _kadm5_c_get_cred_cache() argument 341 if(ccache != NULL) { in _kadm5_c_get_cred_cache() 342 id = ccache; in _kadm5_c_get_cred_cache() 389 if(ccache != NULL) in _kadm5_c_get_cred_cache() 459 ctx->ccache, &cc); in kadm_connect() 584 ccache = cc; in kadm5_c_init_with_context() 598 ctx->ccache = ccache; in kadm5_c_init_with_context() 630 ccache, in init_context() 749 ccache, in kadm5_c_init_with_creds_ctx() 759 krb5_ccache ccache, in kadm5_c_init_with_creds() argument [all …]
|