/freebsd-10.2-release/crypto/heimdal/lib/kadm5/ |
H A D | server_glue.c | 57 kadm5_init_with_password_ctx(krb5_context context, argument 66 return kadm5_s_init_with_password_ctx(context, 95 kadm5_init_with_skey_ctx(krb5_context context, argument 104 return kadm5_s_init_with_skey_ctx(context, 133 kadm5_init_with_creds_ctx(krb5_context context, argument 142 return kadm5_s_init_with_creds_ctx(context,
|
H A D | get_s.c | 73 kadm5_server_context *context = server_handle; local 78 ret = context->db->hdb_open(context->context, context->db, O_RDONLY, 0); 81 ret = context->db->hdb_fetch_kvno(context->context, context->db, princ, 83 context [all...] |
/freebsd-10.2-release/crypto/heimdal/lib/krb5/ |
H A D | aname_to_localname.c | 37 krb5_aname_to_localname (krb5_context context, argument 48 ret = krb5_get_default_realms (context, &lrealms); 59 krb5_free_host_realm (context, lrealms); 72 ret = krb5_copy_principal(context, aname, &rootprinc); 76 userok = krb5_kuserok(context, rootprinc, res); 77 krb5_free_principal(context, rootprinc);
|
H A D | salt-arcfour.c | 37 ARCFOUR_string_to_key(krb5_context context, argument 52 krb5_set_error_message(context, ret, N_("malloc: out of memory", "")); 60 krb5_set_error_message (context, ret, 67 krb5_set_error_message (context, ENOMEM, 75 krb5_set_error_message (context, ret, 92 krb5_set_error_message (context, ENOMEM, N_("malloc: out of memory", ""));
|
H A D | acache.c | 55 cc_context_t context; member in struct:krb5_acc 79 translate_cc_error(krb5_context context, cc_int32 error) argument 82 krb5_clear_error_message(context); 90 init_ccapi(krb5_context context) argument 97 if (context) 98 krb5_clear_error_message(context); 102 if (context) 103 lib = krb5_config_get_string(context, NULL, 128 if (_krb5_expand_path_tokens(context, lib, &explib) == 0) { 139 if (context) 188 make_cred_from_ccred(krb5_context context, const cc_credentials_v5_t *incred, krb5_creds *cred) argument 335 make_ccred_from_cred(krb5_context context, const krb5_creds *incred, cc_credentials_v5_t *cred) argument 457 acc_get_name(krb5_context context, krb5_ccache id) argument 494 acc_alloc(krb5_context context, krb5_ccache *id) argument 524 acc_resolve(krb5_context context, krb5_ccache *id, const char *res) argument 564 acc_gen_new(krb5_context context, krb5_ccache *id) argument 582 acc_initialize(krb5_context context, krb5_ccache id, krb5_principal primary_principal) argument 636 acc_close(krb5_context context, krb5_ccache id) argument 658 acc_destroy(krb5_context context, krb5_ccache id) argument 676 acc_store_cred(krb5_context context, krb5_ccache id, krb5_creds *creds) argument 711 acc_get_principal(krb5_context context, krb5_ccache id, krb5_principal *principal) argument 739 acc_get_first(krb5_context context, krb5_ccache id, krb5_cc_cursor *cursor) argument 764 acc_get_next(krb5_context context, krb5_ccache id, krb5_cc_cursor *cursor, krb5_creds *creds) argument 791 acc_end_get(krb5_context context, krb5_ccache id, krb5_cc_cursor *cursor) argument 801 acc_remove_cred(krb5_context context, krb5_ccache id, krb5_flags which, krb5_creds *cred) argument 877 acc_set_flags(krb5_context context, krb5_ccache id, krb5_flags flags) argument 885 acc_get_version(krb5_context context, krb5_ccache id) argument 892 cc_context_t context; member in struct:cache_iter 897 acc_get_cache_first(krb5_context context, krb5_cc_cursor *cursor) argument 931 acc_get_cache_next(krb5_context context, krb5_cc_cursor cursor, krb5_ccache *id) argument 969 acc_end_cache_get(krb5_context context, krb5_cc_cursor cursor) argument 982 acc_move(krb5_context context, krb5_ccache from, krb5_ccache to) argument 1014 acc_get_default_name(krb5_context context, char **str) argument 1047 acc_set_default(krb5_context context, krb5_ccache id) argument 1066 acc_lastchange(krb5_context context, krb5_ccache id, krb5_timestamp *mtime) argument [all...] |
H A D | get_for_creds.c | 37 add_addrs(krb5_context context, argument 53 krb5_set_error_message(context, ret, N_("malloc: out of memory", "")); 65 ret = krb5_sockaddr2address (context, a->ai_addr, &ad); 67 if (krb5_address_search(context, &ad, addr)) 68 krb5_free_address(context, &ad); 73 krb5_clear_error_message (context); 80 krb5_free_addresses (context, addr); 89 * @param context A kerberos 5 context. 90 * @param auth_context the auth context wit 104 krb5_fwd_tgt_creds(krb5_context context, krb5_auth_context auth_context, const char *hostname, krb5_principal client, krb5_principal server, krb5_ccache ccache, int forwardable, krb5_data *out_data) argument 187 krb5_get_forwarded_creds(krb5_context context, krb5_auth_context auth_context, krb5_ccache ccache, krb5_flags flags, const char *hostname, krb5_creds *in_creds, krb5_data *out_data) argument [all...] |
H A D | acl.c | 73 acl_parse_format(krb5_context context, argument 84 krb5_set_error_message(context, ENOMEM, 100 krb5_set_error_message(context, EINVAL, 119 acl_match_field(krb5_context context, argument 135 acl_match_acl(krb5_context context, argument 145 if(!acl_match_field(context, buf, acl)) { 173 * @param context Kerberos 5 context 184 * ret = krb5_acl_match_string(context, "foo", "s", "foo"); 186 * krb5_errx(context, 202 krb5_acl_match_string(krb5_context context, const char *string, const char *format, ...) argument 245 krb5_acl_match_file(krb5_context context, const char *file, const char *format, ...) argument [all...] |
H A D | crypto-pk.c | 39 _krb5_pk_octetstring2key(krb5_context context, argument 56 krb5_set_error_message(context, KRB5_PROG_ETYPE_NOSUPP, 65 krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", "")); 72 krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", "")); 102 ret = krb5_random_to_key(context, type, keydata, keylen, key); 109 encode_uvinfo(krb5_context context, krb5_const_principal p, krb5_data *data) argument 122 krb5_set_error_message(context, ret, 127 krb5_abortx(context, "asn1 compiler internal error"); 132 encode_otherinfo(krb5_context context, argument 159 krb5_set_error_message(context, re 198 _krb5_pk_kdf(krb5_context context, const struct AlgorithmIdentifier *ai, const void *dhdata, size_t dhsize, krb5_const_principal client, krb5_const_principal server, krb5_enctype enctype, const krb5_data *as_req, const krb5_data *pk_as_rep, const Ticket *ticket, krb5_keyblock *key) argument [all...] |
/freebsd-10.2-release/contrib/wpa/src/crypto/ |
H A D | fips_prf_openssl.c | 18 SHA_CTX context; local 19 os_memset(&context, 0, sizeof(context)); 20 os_memcpy(&context.h0, state, 5 * 4); 21 SHA1_Transform(&context, data); 22 os_memcpy(state, &context.h0, 5 * 4);
|
/freebsd-10.2-release/sys/dev/drm2/ |
H A D | drm_lock.c | 43 static int drm_lock_take(struct drm_lock_data *lock_data, unsigned int context); 64 if (lock->context == DRM_KERNEL_CONTEXT) { 65 DRM_ERROR("Process %d using kernel context %d\n", 66 DRM_CURRENTPID, lock->context); 71 lock->context, DRM_CURRENTPID, 87 if (drm_lock_take(&master->lock, lock->context)) { 107 DRM_DEBUG("%d %s\n", lock->context, 121 dev->sigdata.context = lock->context; 131 lock->context); 183 drm_lock_take(struct drm_lock_data *lock_data, unsigned int context) argument 232 drm_lock_transfer(struct drm_lock_data *lock_data, unsigned int context) argument 258 drm_lock_free(struct drm_lock_data *lock_data, unsigned int context) argument [all...] |
/freebsd-10.2-release/sys/ofed/drivers/infiniband/core/ |
H A D | sa.h | 67 void *context), 68 void *context, 82 void *context), 83 void *context, 95 void *context), 96 void *context,
|
/freebsd-10.2-release/usr.bin/hesinfo/ |
H A D | hesinfo.c | 37 void *context; local 61 if (hesiod_init(&context) < 0) { 72 bindname = hesiod_to_bind(context, name, type); 91 list = hesiod_resolve(context, name, type); 105 hesiod_free_list(context, list); 106 hesiod_end(context);
|
/freebsd-10.2-release/sys/contrib/ia64/libuwx/src/ |
H A D | uwx_context.c | 42 env->context.special[UWX_REG_IP] = ip; 43 env->context.special[UWX_REG_SP] = sp; 44 env->context.special[UWX_REG_BSP] = bsp; 45 env->context.special[UWX_REG_CFM] = cfm; 47 env->context.special[i] = 0; 49 env->context.gr[i] = 0; 50 env->context.valid_regs = VALID_BASIC4; 51 env->context.valid_frs = 0; 72 if (regid < NSPECIALREG && (env->context.valid_regs & (1 << regid))) 73 *valp = env->context [all...] |
/freebsd-10.2-release/contrib/bsnmp/lib/ |
H A D | snmpagent.c | 77 * Set context 79 struct context { struct 93 * Allocate a context 98 struct context *context; local 100 if ((context = malloc(sizeof(*context))) == NULL) 103 memset(context, 0, sizeof(*context)); 104 TAILQ_INIT(&context 206 struct context context; local 327 do_getnext(struct context *context, const struct snmp_value *inb, struct snmp_value *outb, struct snmp_pdu *pdu) argument 399 struct context context; local 448 struct context context; local 552 rollback(struct context *context, struct snmp_pdu *pdu, u_int i) argument 584 struct context *context = (struct context *)ctx; local 611 struct context *context = (struct context *)ctx; local 641 struct context *context = (struct context *)ctx; local 662 struct context context; local 912 struct context *context; local [all...] |
/freebsd-10.2-release/contrib/gcc/ |
H A D | unwind-c.c | 50 parse_lsda_header (struct _Unwind_Context *context, const unsigned char *p, argument 56 info->Start = (context ? _Unwind_GetRegionStart (context) : 0); 61 p = read_encoded_value (context, lpstart_encoding, p, &info->LPStart); 89 if (__gnu_unwind_frame (ue_header, context) != _URC_OK) \ 113 struct _Unwind_Context * context) 124 struct _Unwind_Context *context) 136 /* The dwarf unwinder assumes the context structure holds things like the 141 _Unwind_SetGR (context, 12, ip); 152 _Unwind_GetLanguageSpecificData (context); 111 PERSONALITY_FUNCTION(_Unwind_State state, struct _Unwind_Exception * ue_header, struct _Unwind_Context * context) argument [all...] |
/freebsd-10.2-release/contrib/ofed/libmlx4/src/ |
H A D | dbrec.c | 57 static struct mlx4_db_page *__add_page(struct mlx4_context *context, argument 61 int ps = to_mdev(context->ibv_ctx.device)->page_size; 82 page->next = context->db_list[type]; 83 context->db_list[type] = page; 90 uint32_t *mlx4_alloc_db(struct mlx4_context *context, enum mlx4_db_type type) argument 96 pthread_mutex_lock(&context->db_list_mutex); 98 for (page = context->db_list[type]; page; page = page->next) 102 page = __add_page(context, type); 117 pthread_mutex_unlock(&context->db_list_mutex); 122 void mlx4_free_db(struct mlx4_context *context, enu argument [all...] |
/freebsd-10.2-release/crypto/heimdal/admin/ |
H A D | add.c | 66 ret = krb5_parse_name(context, opt->principal_string, &entry.principal); 68 krb5_warn(context, ret, "%s", opt->principal_string); 78 ret = krb5_string_to_enctype(context, opt->enctype_string, &enctype); 84 krb5_warn(context, ret, "%s", opt->enctype_string); 112 krb5_warn(context, ENOMEM, "malloc"); 118 krb5_warn(context, ENOMEM, "hex decode failed"); 122 ret = krb5_keyblock_init(context, enctype, 134 ret = krb5_string_to_key_data_salt(context, enctype, pw, salt, 137 ret = krb5_string_to_key(context, enctype, opt->password_string, 142 ret = krb5_generate_random_keyblock(context, enctyp [all...] |
/freebsd-10.2-release/crypto/heimdal/lib/hdb/ |
H A D | db3.c | 51 DB_close(krb5_context context, HDB *db) argument 63 DB_destroy(krb5_context context, HDB *db) argument 67 ret = hdb_clear_master_key (context, db); 74 DB_lock(krb5_context context, HDB *db, int operation) argument 84 DB_unlock(krb5_context context, HDB *db) argument 95 DB_seq(krb5_context context, HDB *db, argument 105 if ((*db->hdb_lock)(context, db, HDB_RLOCK)) 108 (*db->hdb_unlock)(context, db); /* XXX check value */ 119 if (hdb_value2entry(context, &data, &entry->entry)) 120 return DB_seq(context, d 141 DB_firstkey(krb5_context context, HDB *db, unsigned flags, hdb_entry_ex *entry) argument 148 DB_nextkey(krb5_context context, HDB *db, unsigned flags, hdb_entry_ex *entry) argument 154 DB_rename(krb5_context context, HDB *db, const char *new_name) argument 173 DB__get(krb5_context context, HDB *db, krb5_data key, krb5_data *reply) argument 198 DB__put(krb5_context context, HDB *db, int replace, krb5_data key, krb5_data value) argument 225 DB__del(krb5_context context, HDB *db, krb5_data key) argument 247 DB_open(krb5_context context, HDB *db, int flags, mode_t mode) argument 329 hdb_db_create(krb5_context context, HDB **db, const char *filename) argument [all...] |
H A D | hdb.c | 97 hdb_next_enctype2key(krb5_context context, argument 113 krb5_set_error_message(context, KRB5_PROG_ETYPE_NOSUPP, 120 hdb_enctype2key(krb5_context context, argument 126 return hdb_next_enctype2key(context, e, enctype, key); 169 hdb_free_entry(krb5_context context, hdb_entry_ex *ent) argument 174 (*ent->free_entry)(context, ent); 185 hdb_foreach(krb5_context context, argument 193 ret = db->hdb_firstkey(context, db, flags, &entry); 195 krb5_clear_error_message(context); 197 ret = (*func)(context, d 208 hdb_check_db_format(krb5_context context, HDB *db) argument 238 hdb_init_db(krb5_context context, HDB *db) argument 276 find_dynamic_method(krb5_context context, const char *filename, const char **rest) argument 393 hdb_list_builtin(krb5_context context, char **list) argument 423 _hdb_keytab2hdb_entry(krb5_context context, const krb5_keytab_entry *ktentry, hdb_entry_ex *entry) argument 452 hdb_create(krb5_context context, HDB **db, const char *filename) argument [all...] |
H A D | dbinfo.c | 48 get_dbinfo(krb5_context context, argument 58 p = krb5_config_get_string(context, db_binding, "dbname", NULL); 64 krb5_set_error_message(context, ENOMEM, "malloc: out of memory"); 70 p = krb5_config_get_string(context, db_binding, "realm", NULL); 73 p = krb5_config_get_string(context, db_binding, "mkey_file", NULL); 76 p = krb5_config_get_string(context, db_binding, "acl_file", NULL); 79 p = krb5_config_get_string(context, db_binding, "log_file", NULL); 91 hdb_get_dbinfo(krb5_context context, struct hdb_dbinfo **dbp) argument 105 db_binding = krb5_config_get_list(context, NULL, 111 ret = get_dbinfo(context, db_bindin 181 hdb_dbinfo_get_label(krb5_context context, struct hdb_dbinfo *dbp) argument 187 hdb_dbinfo_get_realm(krb5_context context, struct hdb_dbinfo *dbp) argument 193 hdb_dbinfo_get_dbname(krb5_context context, struct hdb_dbinfo *dbp) argument 199 hdb_dbinfo_get_mkey_file(krb5_context context, struct hdb_dbinfo *dbp) argument 205 hdb_dbinfo_get_acl_file(krb5_context context, struct hdb_dbinfo *dbp) argument 211 hdb_dbinfo_get_log_file(krb5_context context, struct hdb_dbinfo *dbp) argument 217 hdb_dbinfo_get_binding(krb5_context context, struct hdb_dbinfo *dbp) argument 223 hdb_free_dbinfo(krb5_context context, struct hdb_dbinfo **dbp) argument 249 hdb_db_dir(krb5_context context) argument 263 hdb_default_db(krb5_context context) argument [all...] |
/freebsd-10.2-release/crypto/heimdal/lib/hx509/ |
H A D | req.c | 49 hx509_request_init(hx509_context context, hx509_request *req) argument 72 hx509_request_set_name(hx509_context context, argument 79 int ret = hx509_name_copy(context, name, &req->name); 87 hx509_request_get_name(hx509_context context, argument 92 hx509_set_error_string(context, 0, EINVAL, "Request have no name"); 95 return hx509_name_copy(context, req->name, name); 99 hx509_request_set_SubjectPublicKeyInfo(hx509_context context, argument 108 hx509_request_get_SubjectPublicKeyInfo(hx509_context context, argument 116 _hx509_request_add_eku(hx509_context context, argument 138 _hx509_request_add_dns_name(hx509_context context, argument 153 _hx509_request_add_email(hx509_context context, hx509_request req, const char *email) argument 170 _hx509_request_to_pkcs10(hx509_context context, const hx509_request req, const hx509_private_key signer, heim_octet_string *request) argument 241 _hx509_request_parse(hx509_context context, const char *path, hx509_request *req) argument 309 _hx509_request_print(hx509_context context, hx509_request req, FILE *f) argument [all...] |
H A D | ks_p12.c | 69 keyBag_parser(hx509_context context, argument 87 _hx509_collector_private_key_add(context, 98 ShroudedKeyBag_parser(hx509_context context, argument 113 ret = _hx509_pbe_decrypt(context, 122 ret = keyBag_parser(context, c, content.data, content.length, attrs); 128 certBag_parser(hx509_context context, argument 155 ret = hx509_cert_init_data(context, os.data, os.length, &cert); 160 ret = _hx509_collector_certs_add(context, c, cert); 177 _hx509_set_cert_attribute(context, cert, oid, 188 parse_safe_content(hx509_context context, argument 215 safeContent_parser(hx509_context context, struct hx509_collector *c, const void *data, size_t length, const PKCS12_Attributes *attrs) argument 232 encryptedData_parser(hx509_context context, struct hx509_collector *c, const void *data, size_t length, const PKCS12_Attributes *attrs) argument 260 envelopedData_parser(hx509_context context, struct hx509_collector *c, const void *data, size_t length, const PKCS12_Attributes *attrs) argument 308 parse_pkcs12_type(hx509_context context, struct hx509_collector *c, const heim_oid *oid, const void *data, size_t length, const PKCS12_Attributes *attrs) argument 322 p12_init(hx509_context context, hx509_certs certs, void **data, int flags, const char *residue, hx509_lock lock) argument 448 addBag(hx509_context context, PKCS12_AuthenticatedSafe *as, const heim_oid *oid, void *data, size_t length) argument 486 store_func(hx509_context context, void *ctx, hx509_cert c) argument 564 p12_store(hx509_context context, hx509_certs certs, void *data, int flags, hx509_lock lock) argument 653 p12_add(hx509_context context, hx509_certs certs, void *data, hx509_cert c) argument 660 p12_iter_start(hx509_context context, hx509_certs certs, void *data, void **cursor) argument 670 p12_iter(hx509_context context, hx509_certs certs, void *data, void *cursor, hx509_cert *cert) argument 681 p12_iter_end(hx509_context context, hx509_certs certs, void *data, void *cursor) argument 704 _hx509_ks_pkcs12_register(hx509_context context) argument [all...] |
H A D | hxtool.c | 41 static hx509_context context; variable 194 hx509_context_set_missing_revoke(context, 1); 196 hx509_lock_init(context, &lock); 199 ret = hx509_verify_init_ctx(context, &ctx); 201 hx509_err(context, 1, ret, "hx509_verify_init_ctx"); 203 ret = hx509_certs_init(context, "MEMORY:cms-anchors", 0, NULL, &anchors); 205 hx509_err(context, 1, ret, "hx509_certs_init: MEMORY"); 206 ret = hx509_certs_init(context, "MEMORY:cert-store", 0, NULL, &store); 208 hx509_err(context, 1, ret, "hx509_certs_init: MEMORY"); 210 certs_strings(context, "anchor [all...] |
/freebsd-10.2-release/crypto/openssh/openbsd-compat/ |
H A D | sha2.c | 282 SHA256_Init(SHA256_CTX *context) argument 284 if (context == NULL) 286 memcpy(context->state, sha256_initial_hash_value, 288 memset(context->buffer, 0, sizeof(context->buffer)); 289 context->bitcount = 0; 451 SHA256_Update(SHA256_CTX *context, const u_int8_t *data, size_t len) argument 459 usedspace = (context->bitcount >> 3) % SHA256_BLOCK_LENGTH; 466 memcpy(&context->buffer[usedspace], data, freespace); 467 context 497 SHA256_Pad(SHA256_CTX *context) argument 540 SHA256_Final(u_int8_t digest[SHA256_DIGEST_LENGTH], SHA256_CTX *context) argument 562 SHA512_Init(SHA512_CTX *context) argument 732 SHA512_Update(SHA512_CTX *context, const u_int8_t *data, size_t len) argument 778 SHA512_Pad(SHA512_CTX *context) argument 821 SHA512_Final(u_int8_t digest[SHA512_DIGEST_LENGTH], SHA512_CTX *context) argument [all...] |
/freebsd-10.2-release/contrib/subversion/subversion/svn/ |
H A D | props.c | 130 apr_size_t diff; /* Number of chars different from context.name */ 131 struct simprop_context_t *context; /* Sorting context for qsort() */ 154 struct simprop_context_t *const context = keya->context; 157 keya->score = simprop_key_diff(&keya->name, &context->name, 158 &context->buffer, &keya->diff); 160 keyb->score = simprop_key_diff(&keyb->name, &context->name, 161 &context->buffer, &keyb->diff); 248 struct simprop_context_t context; 129 struct simprop_context_t *context; /* Sorting context for qsort() */ member in struct:simprop_t 152 struct simprop_context_t *const context = keya->context; local 246 struct simprop_context_t context; local [all...] |