/freebsd-10.0-release/usr.sbin/bluetooth/hcsecd/ |
H A D | parser.y | 49 static void free_key (link_key_p key); 57 static link_key_p key = NULL; 75 key = (link_key_p) malloc(sizeof(*key)); 76 if (key == NULL) { 82 memset(key, 0, sizeof(*key)); 86 if (get_key(&key->bdaddr, 1) != NULL) { 89 bt_ntoa(&key->bdaddr, NULL)); 90 free_key(key); 132 key: T_KEY T_HEXSTRING label [all...] |
/freebsd-10.0-release/lib/libstdthreads/ |
H A D | tss.c | 37 tss_create(tss_t *key, tss_dtor_t dtor) argument 40 if (pthread_key_create(key, dtor) != 0) 46 tss_delete(tss_t key) argument 49 (void)pthread_key_delete(key); 53 tss_get(tss_t key) argument 56 return (pthread_getspecific(key)); 60 tss_set(tss_t key, void *val) argument 63 if (pthread_setspecific(key, val) != 0)
|
/freebsd-10.0-release/contrib/apr/threadproc/unix/ |
H A D | threadpriv.c | 24 APR_DECLARE(apr_status_t) apr_threadkey_private_create(apr_threadkey_t **key, 28 (*key) = (apr_threadkey_t *)apr_pcalloc(pool, sizeof(apr_threadkey_t)); 30 if ((*key) == NULL) { 34 (*key)->pool = pool; 36 return pthread_key_create(&(*key)->key, dest); 41 apr_threadkey_t *key) 44 if (pthread_getspecific(key->key,new)) 47 (*new) = pthread_getspecific(key [all...] |
/freebsd-10.0-release/crypto/openssl/crypto/camellia/ |
H A D | cmll_misc.c | 60 CAMELLIA_KEY *key) 62 if(!userKey || !key) 66 key->grand_rounds = Camellia_Ekeygen(bits , userKey, key->u.rd_key); 71 const CAMELLIA_KEY *key) 73 Camellia_EncryptBlock_Rounds(key->grand_rounds, in , key->u.rd_key , out); 77 const CAMELLIA_KEY *key) 79 Camellia_DecryptBlock_Rounds(key->grand_rounds, in , key 59 private_Camellia_set_key(const unsigned char *userKey, const int bits, CAMELLIA_KEY *key) argument 70 Camellia_encrypt(const unsigned char *in, unsigned char *out, const CAMELLIA_KEY *key) argument 76 Camellia_decrypt(const unsigned char *in, unsigned char *out, const CAMELLIA_KEY *key) argument [all...] |
/freebsd-10.0-release/contrib/texinfo/info/ |
H A D | funs.h | 7 extern void info_next_line (WINDOW *window, int count, unsigned char key); 9 extern void info_prev_line (WINDOW *window, int count, unsigned char key); 11 extern void info_end_of_line (WINDOW *window, int count, unsigned char key); 13 extern void info_beginning_of_line (WINDOW *window, int count, unsigned char key); 15 extern void info_forward_char (WINDOW *window, int count, unsigned char key); 17 extern void info_backward_char (WINDOW *window, int count, unsigned char key); 19 extern void info_forward_word (WINDOW *window, int count, unsigned char key); 21 extern void info_backward_word (WINDOW *window, int count, unsigned char key); 23 extern void info_global_next_node (WINDOW *window, int count, unsigned char key); 25 extern void info_global_prev_node (WINDOW *window, int count, unsigned char key); [all...] |
H A D | echo-area.h | 60 extern void ea_insert (WINDOW *window, int count, unsigned char key); 61 extern void ea_quoted_insert (WINDOW *window, int count, unsigned char key); 62 extern void ea_beg_of_line (WINDOW *window, int count, unsigned char key); 63 extern void ea_backward (WINDOW *window, int count, unsigned char key); 64 extern void ea_delete (WINDOW *window, int count, unsigned char key); 65 extern void ea_end_of_line (WINDOW *window, int count, unsigned char key); 66 extern void ea_forward (WINDOW *window, int count, unsigned char key); 67 extern void ea_abort (WINDOW *window, int count, unsigned char key); 68 extern void ea_rubout (WINDOW *window, int count, unsigned char key); 69 extern void ea_complete (WINDOW *window, int count, unsigned char key); [all...] |
H A D | session.h | 36 void name (WINDOW *window, int count, unsigned char key) 64 extern void info_dispatch_on_key (unsigned char key, Keymap map); 119 extern void info_next_line (WINDOW *window, int count, unsigned char key); 120 extern void info_prev_line (WINDOW *window, int count, unsigned char key); 121 extern void info_end_of_line (WINDOW *window, int count, unsigned char key); 122 extern void info_beginning_of_line (WINDOW *window, int count, unsigned char key); 123 extern void info_forward_char (WINDOW *window, int count, unsigned char key); 124 extern void info_backward_char (WINDOW *window, int count, unsigned char key); 125 extern void info_forward_word (WINDOW *window, int count, unsigned char key); 126 extern void info_backward_word (WINDOW *window, int count, unsigned char key); [all...] |
/freebsd-10.0-release/contrib/telnet/libtelnet/ |
H A D | encrypt.h | 73 #define VALIDKEY(key) ( key[0] | key[1] | key[2] | key[3] | \ 74 key[4] | key[5] | key[6] | key[7])
|
/freebsd-10.0-release/crypto/heimdal/appl/telnet/libtelnet/ |
H A D | encrypt.h | 66 #define VALIDKEY(key) ( key[0] | key[1] | key[2] | key[3] | \ 67 key[4] | key[5] | key[6] | key[7])
|
/freebsd-10.0-release/etc/bluetooth/ |
H A D | hcsecd.conf | 18 # key 0x11223344 | nokey ; - to set link key for the device 27 # "nokey" means that no link key has been defined and we should 39 key nokey; 46 key nokey; 53 key 0x00112233445566778899aabbccddeeff; # 16 bytes key (hex string)
|
/freebsd-10.0-release/sys/netipsec/ |
H A D | key_var.h | 53 #define _KEYLEN(key) ((u_int)((key)->bits >> 3)) 54 #define _KEYBITS(key) ((u_int)((key)->bits)) 55 #define _KEYBUF(key) ((caddr_t)((caddr_t)(key) + sizeof(struct sadb_key)))
|
/freebsd-10.0-release/sys/opencrypto/ |
H A D | skipjack.h | 17 extern void skipjack_forwards(u_int8_t *plain, u_int8_t *cipher, u_int8_t **key); 18 extern void skipjack_backwards(u_int8_t *cipher, u_int8_t *plain, u_int8_t **key); 19 extern void subkey_table_gen(u_int8_t *key, u_int8_t **key_tables);
|
/freebsd-10.0-release/crypto/openssl/crypto/des/ |
H A D | des_old2.c | 79 void _ossl_096_des_random_seed(DES_cblock *key) argument 81 RAND_seed(key, sizeof(DES_cblock));
|
/freebsd-10.0-release/contrib/wpa/src/tls/ |
H A D | rsa.c | 18 int private_key; /* whether private key is set */ 56 * crypto_rsa_import_public_key - Import an RSA public key 57 * @buf: Key buffer (DER encoded RSA public key) 59 * Returns: Pointer to the public key or %NULL on failure 64 struct crypto_rsa_key *key; local 68 key = os_zalloc(sizeof(*key)); 69 if (key == NULL) 72 key->n = bignum_init(); 73 key 128 struct crypto_rsa_key *key; local 226 crypto_rsa_get_modulus_len(struct crypto_rsa_key *key) argument 242 crypto_rsa_exptmod(const u8 *in, size_t inlen, u8 *out, size_t *outlen, struct crypto_rsa_key *key, int use_private) argument 339 crypto_rsa_free(struct crypto_rsa_key *key) argument [all...] |
/freebsd-10.0-release/contrib/gcc/ |
H A D | prefix.h | 28 extern char *update_path (const char *path, const char *key);
|
/freebsd-10.0-release/sys/contrib/octeon-sdk/ |
H A D | cvmx-crypto.h | 54 * enabled and it is possible to enable it, write the enable key. 56 * @param key The dormant crypto enable key value. 60 extern int cvmx_crypto_dormant_enable(uint64_t key);
|
/freebsd-10.0-release/sys/ofed/include/linux/ |
H A D | lockdep.h | 35 #define lockdep_set_class(lock, key)
|
/freebsd-10.0-release/contrib/binutils/gas/ |
H A D | hash.h | 45 const char *key, PTR value); 52 const char *key, PTR value); 58 extern PTR hash_replace (struct hash_control *, const char *key, 64 extern PTR hash_find (struct hash_control *, const char *key); 69 extern PTR hash_find_n (struct hash_control *, const char *key, size_t len); 74 extern PTR hash_delete (struct hash_control *, const char *key); 80 void (*pfn) (const char *key, PTR value));
|
/freebsd-10.0-release/lib/libthr/thread/ |
H A D | thr_spec.c | 53 _pthread_key_create(pthread_key_t *key, void (*destructor) (void *)) argument 62 /* Lock the key table: */ 71 /* Unlock the key table: */ 73 *key = i + 1; 78 /* Unlock the key table: */ 87 int key = userkey - 1; local 90 if ((unsigned int)key < PTHREAD_KEYS_MAX) { 91 /* Lock the key table: */ 94 if (_thread_keytable[key].allocated) 95 _thread_keytable[key] 112 int key; local 185 pthread_key_t key = userkey - 1; local 217 pthread_key_t key = userkey - 1; local 248 int key; local [all...] |
/freebsd-10.0-release/crypto/openssl/crypto/evp/ |
H A D | e_rc4_hmac_md5.c | 80 void rc4_md5_enc (RC4_KEY *key, const void *in0, void *out, 89 EVP_RC4_HMAC_MD5 *key = data(ctx); local 91 RC4_set_key(&key->ks,EVP_CIPHER_CTX_key_length(ctx), 94 MD5_Init(&key->head); /* handy when benchmarking */ 95 key->tail = key->head; 96 key->md = key->head; 98 key->payload_length = NO_PAYLOAD_LENGTH; 119 EVP_RC4_HMAC_MD5 *key local 222 EVP_RC4_HMAC_MD5 *key = data(ctx); local [all...] |
/freebsd-10.0-release/contrib/wpa/src/crypto/ |
H A D | crypto_internal-rsa.c | 22 struct crypto_public_key * crypto_public_key_import(const u8 *key, size_t len) argument 25 crypto_rsa_import_public_key(key, len); 29 struct crypto_private_key * crypto_private_key_import(const u8 *key, argument 36 res = pkcs8_key_import(key, len); 42 res = pkcs8_enc_key_import(key, len, passwd); 47 /* Not PKCS#8, so try to import PKCS #1 encoded RSA private key */ 49 "key"); 51 crypto_rsa_import_private_key(key, len); 63 int crypto_public_key_encrypt_pkcs1_v15(struct crypto_public_key *key, argument 67 return pkcs1_encrypt(2, (struct crypto_rsa_key *) key, 72 crypto_private_key_decrypt_pkcs1_v15(struct crypto_private_key *key, const u8 *in, size_t inlen, u8 *out, size_t *outlen) argument 81 crypto_private_key_sign_pkcs1(struct crypto_private_key *key, const u8 *in, size_t inlen, u8 *out, size_t *outlen) argument 90 crypto_public_key_free(struct crypto_public_key *key) argument 96 crypto_private_key_free(struct crypto_private_key *key) argument 102 crypto_public_key_decrypt_pkcs1(struct crypto_public_key *key, const u8 *crypt, size_t crypt_len, u8 *plain, size_t *plain_len) argument [all...] |
/freebsd-10.0-release/crypto/openssh/regress/ |
H A D | keygen-convert.sh | 7 # generate user key for agent 8 trace "generating $t key" 9 rm -f $OBJ/$t-key 10 ${SSHKEYGEN} -q -N "" -t $t -f $OBJ/$t-key 13 ${SSHKEYGEN} -q -e -f $OBJ/$t-key >$OBJ/$t-key-rfc || \ 17 ${SSHKEYGEN} -q -e -f $OBJ/$t-key.pub >$OBJ/$t-key-rfc.pub || \ 20 cmp $OBJ/$t-key-rfc $OBJ/$t-key [all...] |
/freebsd-10.0-release/crypto/openssl/crypto/aes/ |
H A D | aes.h | 89 AES_KEY *key); 91 AES_KEY *key); 94 AES_KEY *key); 96 AES_KEY *key); 99 const AES_KEY *key); 101 const AES_KEY *key); 104 const AES_KEY *key, const int enc); 106 size_t length, const AES_KEY *key, 109 size_t length, const AES_KEY *key, 112 size_t length, const AES_KEY *key, [all...] |
/freebsd-10.0-release/libexec/mknetid/ |
H A D | hash.c | 56 const u_char *key; local 60 #define HASHC h = *key++ + 65599 * h 63 key = keyarg; 99 * Generate a hash value for a given key (character string). 103 u_int32_t hashkey(char *key) argument 106 if (key == NULL) 108 return(hash((void *)key, strlen(key)) & HASH_MASK); 112 struct grouplist *lookup(struct member_entry *table[], char *key) argument 116 cur = table[hashkey(key)]; 132 mstore(struct member_entry *table[], char *key, int gid, int dup) argument [all...] |
/freebsd-10.0-release/contrib/llvm/tools/lldb/include/lldb/Core/ |
H A D | ThreadSafeSTLMap.h | 58 Erase (const _Key& key) argument 61 return EraseNoLock (key); 65 EraseNoLock (const _Key& key) argument 67 return m_collection.erase (key); 71 GetValueForKey (const _Key& key, _Tp &value) const argument 74 return GetValueForKeyNoLock (key, value); 80 GetValueForKeyNoLock (const _Key& key, _Tp &value) const argument 82 const_iterator pos = m_collection.find(key); 92 GetFirstKeyForValue (const _Tp &value, _Key& key) const 95 return GetFirstKeyForValueNoLock (value, key); 114 LowerBound(const _Key& key, _Key& match_key, _Tp &match_value, bool decrement_if_not_equal) const argument 124 LowerBoundNoLock(const _Key& key, _Key& match_key, _Tp &match_value, bool decrement_if_not_equal) const argument 145 lower_bound_unsafe(const _Key& key) argument 151 SetValueForKey(const _Key& key, const _Tp &value) argument 160 SetValueForKeyNoLock(const _Key& key, const _Tp &value) argument [all...] |