/osnet-11/usr/src/lib/libsasl/lib/ |
H A D | saslutil.c | 14 * Redistribution and use in source and binary forms, with or without 21 * 2. Redistributions in binary form must reproduce the above copyright 22 * notice, this list of conditions and the following disclaimer in 112 * in -- input data 125 const unsigned char *in = (const unsigned char *)_in; local 135 if (((inlen >0) && (in == NULL)) || _out == NULL) return SASL_BADPARAM; 137 if ((inlen >0) && (in == NULL)) return SASL_BADPARAM; 153 *out++ = basis_64[in[0] >> 2]; 154 *out++ = basis_64[((in[0] << 4) & 0x30) | (in[ 189 sasl_decode64(const char *in, unsigned inlen, char *out, unsigned outmax, unsigned *outlen) argument [all...] |
/osnet-11/usr/src/lib/libsctp/common/ |
H A D | sctp.c | 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 44 #include <netinet/in.h> 49 struct sockaddr_in in; member in union:sockaddr_storage_v6 371 * of the new association is returned in aid. 412 * in the iov vector. The sender of the message is stored in from. The 413 * receive attriute is stoed in info. The type of attribute is stored in 436 * Just in cas [all...] |
/osnet-11/usr/src/lib/libsldap/common/ |
H A D | ns_sasl.c | 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 37 #include <netinet/in.h> 71 * and causing a recursive hang in nscd. 209 * returns in the same situation. 287 void *in) 290 sasl_interact_t *interact = in; 319 * available in 'defaults' and libldap won't 336 * Find "dbase: service1 [...] services2" in fname and return 445 gettext("%s: dns is not defined in 281 __s_api_sasl_bind_callback( LDAP *ld, unsigned flags, void *defaults, void *in) argument [all...] |
/osnet-11/usr/src/lib/libsmbfs/common/ |
H A D | smbfs_gss.c | 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 100 * where SAM account is in the format of <NetBIOS name>$ 150 smbfs_gss_tok2mbdata(gss_buffer_desc *in, struct mbdata *out) argument 155 length = in->length; 163 m->m_data = in->value; 176 smbfs_gss_mbdata2tok(struct mbdata *in, gss_buffer_desc *out) argument 180 m = in->mb_top; 243 * result in re-acquiring of Kerberos credentials. 326 * SMBFS client needs to acquire the credentials of the user in orde [all...] |
/osnet-11/usr/src/lib/libsoftcrypto/common/ |
H A D | crypt.c | 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 40 * in the version. 61 static int ucrypto_common_update(crypto_ctx_t *context, uchar_t *in, 66 size_t key_len, void *iv, size_t iv_len, uchar_t *in, size_t in_len, 219 * If the mechanism is defined in this function, then it is supported. 220 * If it is supported, sets up the initialization vector in crypto_mechanism_t. 274 ucrypto_common_update(crypto_ctx_t *context, uchar_t *in, size_t in_len, argument 282 CRYPTO_SET_RAW_DATA(idata, in, in_len); 463 void *iv, size_t iv_len, uchar_t *in, size_ 462 ucrypto_atomic(ucrypto_mech_t mech_type, uchar_t *key_str, size_t key_len, void *iv, size_t iv_len, uchar_t *in, size_t in_len, uchar_t *out, size_t *out_len, ucrypto_op_t op_type) argument 622 ucrypto_encrypt_update(crypto_ctx_t *context, uchar_t *in, size_t in_len, uchar_t *out, size_t *out_len) argument 667 ucrypto_encrypt(ucrypto_mech_t mech_type, uchar_t *key_str, size_t key_len, void *iv, size_t iv_len, uchar_t *in, size_t in_len, uchar_t *out, size_t *out_len) argument 698 ucrypto_decrypt_update(crypto_ctx_t *context, uchar_t *in, size_t in_len, uchar_t *out, size_t *out_len) argument 728 ucrypto_decrypt(ucrypto_mech_t mech_type, uchar_t *key_str, size_t key_len, void *iv, size_t iv_len, uchar_t *in, size_t in_len, uchar_t *out, size_t *out_len) argument [all...] |
/osnet-11/usr/src/lib/libnisdb/ |
H A D | nis_parse_ldap_yp_util.c | 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 42 __nis_mapping_rule_t *in); 44 static int merge_table_mapping(__nis_table_mapping_t *in, 52 static int copy_object_dn(__nis_object_dn_t *in, 136 __nis_table_mapping_t *in, 144 if (in == NULL) 147 if (in->dbId == NULL) 151 * If 'in' is generic (non-expanded) and 'out' is domain-specific, 152 * then rules from 'in' shoul 135 merge_table_mapping( __nis_table_mapping_t *in, __nis_table_mapping_t *out) argument 306 copy_object_dn( __nis_object_dn_t *in, __nis_object_dn_t *newdn) argument [all...] |
/osnet-11/usr/src/lib/libnsl/rpc/ |
H A D | svc_door.c | 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 70 * kept in xprt->xp_p2 544 * Propagate any error flags. This is done in both directions to 654 svc_door_control(SVCXPRT *xprt, const uint_t rq, void *in) argument 663 tmp = __rpc_legal_connmaxrec(*(int *)in); 685 *(int *)in = tmp;
|
/osnet-11/usr/src/lib/libeti/form/common/ |
H A D | regex.c | 6 * (the "License"). You may not use this file except in compliance 14 * When distributing Covered Code, include this CDDL HEADER in each 84 intptr_t cur, in; local 88 for (in = 0; in < NBRA; in++) { 89 __braslist[in] = 0; 90 __bravar[in] = -1; 95 for (in = 0; in < NBR [all...] |
/osnet-11/usr/src/lib/libfedfs/common/ |
H A D | nsdb_primitives.c | 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 48 saslcallback(LDAP *ld, unsigned flags, void *defaults, void *in) argument 51 sasl_interact_t *interact = in; 80 * available in 'defaults' and libldap won't 123 * See what info we have in SMF
|
/osnet-11/usr/src/lib/fm/topo/libtopo/common/ |
H A D | cpu.c | 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 356 nvlist_t *in, nvlist_t **out) 365 if (nvlist_lookup_uint8(in, FM_VERSION, &fver) != 0) 368 if ((len = fmri_nvl2str(in, fver, NULL, 0)) == 0 || 370 fmri_nvl2str(in, fver, name, len + 1) == 0) 390 nvlist_t *in, nvlist_t **out) 406 if (nvlist_lookup_string(in, "fmri-string", &str) != 0) 533 nvlist_t *in, nvlist_t **out) 540 if ((rc = nvlist_lookup_uint32(in, FM_FMRI_CPU_I 355 cpu_nvl2str(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 389 cpu_str2nvl(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 532 cpu_fmri_asru(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 557 cpu_fmri_create_meth(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 595 cpu_fmri_service_state(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 628 cpu_fmri_strhash_path(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 652 cpu_fmri_strcmp_path(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 699 cpu_fmri_strcmp_ident(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument [all...] |
H A D | dev.c | 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 164 * in the string form of an fmri. It is meaningless to 234 nvlist_t *in, nvlist_t **out) 246 if (nvlist_lookup_string(in, "fmri-string", &str) != 0) 270 * info. They could be in either order. 356 /* step over repeated initial / in the devpath */ 375 nvlist_t *in, nvlist_t **out) 388 if (nvlist_lookup_uint8(in, FM_VERSION, &fmversion) != 0 || 390 nvlist_lookup_string(in, FM_FMRI_DEV_PAT 233 dev_fmri_str2nvl(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 374 dev_fmri_service_state(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 469 dev_fmri_create_meth(topo_mod_t *mp, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 493 dev_fmri_strhash_path(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 515 dev_fmri_strcmp_path(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 548 dev_fmri_strcmp_ident(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument [all...] |
H A D | svc.c | 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 339 nvlist_t *in, nvlist_t **out) 352 err = nvlist_lookup_string(in, TOPO_PROP_GROUP, &pgroup); 353 err |= nvlist_lookup_string(in, TOPO_PROP_VAL_NAME, &pname); 354 err |= nvlist_lookup_nvlist(in, TOPO_PROP_RESOURCE, &rsrc); 361 if ((err = nvlist_lookup_nvlist(in, TOPO_PROP_PARGS, &args)) != 0) { 456 * through we fill it in. 508 nvlist_t *in, nvlist_t **out) 516 if (nvlist_lookup_string(in, "fmr 338 svc_fmri_prop_get(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 507 svc_fmri_str2nvl(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 801 svc_fmri_presence_state(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 831 svc_fmri_service_state(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument [all...] |
H A D | sw.c | 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 129 nvlist_t *in, nvlist_t **out) 150 if (nvlist_lookup_nvlist(in, TOPO_METH_FMRI_ARG_NVL, &args) != 0) 317 * Lookup a string in an nvlist. Possible return values: 326 * So 0 is an error condition in both cases. 128 sw_fmri_create(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument
|
/osnet-11/usr/src/lib/fm/topo/modules/common/ses/common/ |
H A D | ses_facility.c | 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 132 * property. Either of these conditions will result in the indicator being 137 nvlist_t *in, nvlist_t **out) 150 if (nvlist_lookup_nvlist(in, TOPO_PROP_ARGS, &args) != 0 || 162 topo_mod_dprintf(mod, "failed to lookup ses node in 'mode' " 168 if (nvlist_lookup_nvlist(in, TOPO_PROP_PARGS, &pargs) == 0 && 208 topo_mod_dprintf(mod, "failed to lookup %s in node " 242 * Read the given sensor value. This just looks up the value in the node 248 nvlist_t *in, nvlist_ 136 ses_indicator_mode(topo_mod_t *mod, tnode_t *tn, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument 247 ses_sensor_reading(topo_mod_t *mod, tnode_t *tn, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument 317 ses_sensor_state(topo_mod_t *mod, tnode_t *tn, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument 406 ses_psu_state(topo_mod_t *mod, tnode_t *tn, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument 764 ses_node_enum_facility(topo_mod_t *mod, tnode_t *tn, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument 965 ses_enc_enum_facility(topo_mod_t *mod, tnode_t *tn, topo_version_t vers, nvlist_t *in, nvlist_t **out) argument [all...] |
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/common/ |
H A D | pi_meth.c | 6 * You may not use this file except in compliance with the License. 13 * When distributing Covered Code, include this CDDL HEADER in each 328 nvlist_t *in, nvlist_t **out) 336 if (is_cacheline_fmri(in)) 337 return (cacheline_retire(mod, node, in, out)); 369 nvlist_t *in, nvlist_t **out) 377 if (is_cacheline_fmri(in)) 378 return (cacheline_unretire(mod, node, in, out)); 413 nvlist_t *in, nvlist_t **out) 421 if (is_cacheline_fmri(in)) 327 cpu_retire(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 368 cpu_unretire(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 412 cpu_service_state(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 464 chip_core_asru_compute(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 508 mem_asru_compute(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 601 dimm_page_service_state(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 626 dimm_page_retire(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument 651 dimm_page_unretire(topo_mod_t *mod, tnode_t *node, topo_version_t version, nvlist_t *in, nvlist_t **out) argument [all...] |
/osnet-11/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
H A D | crypto.c | 6 * (the "License"). You may not use this file except in compliance 14 * When distributing Covered Code, include this CDDL HEADER in each 95 * In each [en/de]cription above we will used the passed in CBC initialization 99 * In the decryption case we reverse the proccess. Note in this case 118 /* Save the passed in ivec */ 174 * on both sides and start again. Theres no mechanism for this in 218 * MD5_verifier: This is a verifier routine suitable for use in a 221 * the result in signature. 361 * in a preallocate signature, that was allocated using __alloc_sig. 384 /* Package the token for use in 461 wrap_msg_body(gss_buffer_t in, gss_buffer_t out) argument 532 unwrap_msg_body(gss_buffer_t in, gss_buffer_t out) argument [all...] |
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | an_to_ln.c | 16 * notice appear in all copies and that both that copyright notice and 17 * this permission notice appear in supporting documentation, and that 18 * the name of M.I.T. not be used in advertising or publicity pertaining 21 * your software as modified software and not distribute it in such a 98 * The entries in the database are normal C strings, and include the trailing 99 * null in the DBM datum.size. 276 * If no regcomp() then just return the input string verbatim in the output 284 do_replacement(char *regexp, char *repl, int doall, char *in, char *out) argument 295 cp = in; 333 cp = in; 384 char *in = NULL, *out = NULL, *rule = NULL, *repl = NULL; local [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/efiemu/runtime/ |
H A D | efiemu.c | 11 * GRUB is distributed in the hope that it will be useful, 200 /* The function that implement runtime services as specified in 203 bcd_to_hex (grub_uint8_t in) argument 205 return 10 * ((in & 0xf0) >> 4) + (in & 0x0f);
|
/osnet-11/usr/src/grub/grub2/grub-core/fs/ |
H A D | romfs.c | 10 * GRUB is distributed in the hope that it will be useful, 70 do_checksum (void *in, grub_size_t insize) argument 72 grub_uint32_t *a = in; 385 /* XXX: The file is stored in as a single extent. */
|
/osnet-11/usr/src/grub/grub2/grub-core/fs/zfs/ |
H A D | zfscrypt.c | 10 * GRUB is distributed in the hope that it will be useful, 95 grub_uint8_t *out, const grub_uint8_t *in, 128 grub_crypto_xor (out + 16 * i, in + 16 * i, mul, csize); 178 grub_uint8_t *out, const grub_uint8_t *in, 228 grub_crypto_xor (mac, mac, in + 16 * i, csize); 233 grub_crypto_xor (out + 16 * i, in + 16 * i, mul, csize); 248 grub_uint8_t *out, const grub_uint8_t *in, 256 return grub_ccm_decrypt (cipher, out, in, psize, mac_out, nonce, l, m); 258 return grub_gcm_decrypt (cipher, out, in, psize, mac_out, nonce, 464 N_("Import ZFS wrapping key stored in FIL 94 grub_ccm_decrypt(grub_crypto_cipher_handle_t cipher, grub_uint8_t *out, const grub_uint8_t *in, grub_size_t psize, void *mac_out, const void *nonce, unsigned l, unsigned m) argument 177 grub_gcm_decrypt(grub_crypto_cipher_handle_t cipher, grub_uint8_t *out, const grub_uint8_t *in, grub_size_t psize, void *mac_out, const void *nonce, unsigned nonce_len, unsigned m) argument 247 algo_decrypt(grub_crypto_cipher_handle_t cipher, grub_uint64_t algo, grub_uint8_t *out, const grub_uint8_t *in, grub_size_t psize, void *mac_out, const void *nonce, unsigned l, unsigned m) argument [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/lib/ |
H A D | crypto.c | 11 * GRUB is distributed in the hope that it will be useful, 98 grub_crypto_hash (const gcry_md_spec_t *hash, void *out, const void *in, argument 103 hash->write (&ctx, in, inlen); 174 void *out, const void *in, grub_size_t size) 182 end = (grub_uint8_t *) in + size; 183 for (inptr = in, outptr = out; inptr < end; 191 void *out, const void *in, grub_size_t size) 199 end = (grub_uint8_t *) in + size; 200 for (inptr = in, outptr = out; inptr < end; 208 void *out, void *in, grub_size_ 173 grub_crypto_ecb_decrypt(grub_crypto_cipher_handle_t cipher, void *out, const void *in, grub_size_t size) argument 190 grub_crypto_ecb_encrypt(grub_crypto_cipher_handle_t cipher, void *out, const void *in, grub_size_t size) argument 207 grub_crypto_cbc_encrypt(grub_crypto_cipher_handle_t cipher, void *out, void *in, grub_size_t size, void *iv_in) argument 231 grub_crypto_cbc_decrypt(grub_crypto_cipher_handle_t cipher, void *out, const void *in, grub_size_t size, void *iv) argument 384 grub_crypto_gcry_error(gcry_err_code_t in) argument 410 FILE *in; local [all...] |
H A D | reed_solomon.c | 10 * GRUB is distributed in the hope that it will be useful, 534 FILE *in, *out; local 549 in = fopen ("tst.bin", "rb"); 550 if (!in) 552 fseek (in, 0, SEEK_END); 553 s = ftell (in); 554 fseek (in, 0, SEEK_SET); 557 fread (buf, 1, s, in); 558 fclose (in);
|
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt/cipher/ |
H A D | twofish.c | 14 * Libgcrypt is distributed in the hope that it will be useful, 29 * For background information on multiplication in finite fields, used for 30 * the matrix operations in the key schedule, see the book _Contemporary 31 * Abstract Algebra_ by Joseph A. Gallian, especially chapter 22 in the 37 * some cost in memory consumption. */ 60 /* These two tables are the q0 and q1 permutations, exactly as described in 117 * GF(2^8) multiplication involved in the MDS matrix multiply; by looking 118 * things up in these tables we reduce the matrix multiply to four lookups 122 * where ^T means "transpose", the matrix multiply is performed in GF(2^8) 307 * operations in G 778 do_twofish_encrypt(const TWOFISH_context *ctx, byte *out, const byte *in) argument 810 twofish_encrypt(void *context, byte *out, const byte *in) argument 821 do_twofish_decrypt(const TWOFISH_context *ctx, byte *out, const byte *in) argument 853 twofish_decrypt(void *context, byte *out, const byte *in) argument [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt-grub/cipher/ |
H A D | twofish.c | 18 * Libgcrypt is distributed in the hope that it will be useful, 33 * For background information on multiplication in finite fields, used for 34 * the matrix operations in the key schedule, see the book _Contemporary 35 * Abstract Algebra_ by Joseph A. Gallian, especially chapter 22 in the 41 * some cost in memory consumption. */ 59 /* These two tables are the q0 and q1 permutations, exactly as described in 116 * GF(2^8) multiplication involved in the MDS matrix multiply; by looking 117 * things up in these tables we reduce the matrix multiply to four lookups 121 * where ^T means "transpose", the matrix multiply is performed in GF(2^8) 306 * operations in G 777 do_twofish_encrypt(const TWOFISH_context *ctx, byte *out, const byte *in) argument 809 twofish_encrypt(void *context, byte *out, const byte *in) argument 820 do_twofish_decrypt(const TWOFISH_context *ctx, byte *out, const byte *in) argument 852 twofish_decrypt(void *context, byte *out, const byte *in) argument [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/lib/xzembed/ |
H A D | xz_dec_stream.c | 11 * GRUB is distributed in the hope that it will be useful, 43 /* Position in dec_main() */ 57 /* Position in variable-length integers and Check fields */ 67 /* CRC32 value in Block or Index */ 85 /* True if we are operating in single-call mode. */ 94 /* Information stored in Block Header */ 97 * Value stored in the Compressed Size field, or 103 * Value stored in the Uncompressed Size field, or 132 /* Position in dec_index() */ 139 /* Size of the Index in byte 197 dec_vli(struct xz_dec *s, const uint8_t *in, size_t *in_pos, size_t in_size) argument [all...] |