Searched refs:key_len (Results 1 - 25 of 95) sorted by relevance

1234

/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/include/
H A Dhmac-md5.h31 const unsigned char *key, int key_len,
37 const unsigned char *key, int key_len);
42 const unsigned char *key, int key_len);
/macosx-10.9.5/postfix-252/postfix/src/util/
H A Dbinhash.c12 /* int key_len;
21 /* BINHASH_INFO *binhash_enter(table, key, key_len, value)
24 /* int key_len;
27 /* char *binhash_find(table, key, key_len)
30 /* int key_len;
32 /* BINHASH_INFO *binhash_locate(table, key, key_len)
35 /* int key_len;
37 /* void binhash_delete(table, key, key_len, free_fn)
40 /* int key_len;
149 BINHASH_INFO **_h = table->data + binhash_hash(elm->key, elm->key_len, tabl
207 binhash_enter(BINHASH *table, const char *key, int key_len, char *value) argument
223 binhash_find(BINHASH *table, const char *key, int key_len) argument
238 binhash_locate(BINHASH *table, const char *key, int key_len) argument
253 binhash_delete(BINHASH *table, const char *key, int key_len, void (*free_fn) (char *)) argument
[all...]
H A Dbinhash.h18 int key_len; /* key length */ member in struct:BINHASH_INFO
/macosx-10.9.5/tcpdump-56/tcpdump/
H A Dsignature.c53 unsigned int key_len, u_int8_t *digest)
62 if (key_len > 64) {
67 CC_MD5_Update(&tctx, key, key_len);
71 key_len = 16;
88 memcpy(k_ipad, key, key_len);
89 memcpy(k_opad, key, key_len);
52 signature_compute_hmac_md5(const u_int8_t *text, int text_len, unsigned char *key, unsigned int key_len, u_int8_t *digest) argument
/macosx-10.9.5/bind9-45.100/bind9/lib/dns/rdata/generic/
H A Dhip_55.h32 isc_uint16_t key_len; member in struct:dns_rdata_hip
H A Dhip_55.c34 isc_buffer_t key_len; local
62 key_len = *target;
95 RETERR(uint16_tobuffer(len, &key_len));
125 size_t length, key_len, hit_len; local
140 key_len = uint16_fromregion(&region);
165 INSIST(key_len <= region.length);
167 region.length = key_len;
169 region.length = length - key_len;
194 isc_uint16_t key_len; local
210 key_len
456 isc_uint16_t key_len; local
[all...]
/macosx-10.9.5/curl-78.94.1/curl/lib/
H A Dhash.c48 e->key_len = 0;
123 mk_hash_element(const void *key, size_t key_len, const void *p) argument
128 void *dupkey = malloc(key_len);
131 memcpy(dupkey, key, key_len);
134 he->key_len = key_len;
154 Curl_hash_add(struct curl_hash *h, void *key, size_t key_len, void *p) argument
158 struct curl_llist *l = FETCH_LIST (h, key, key_len);
162 if(h->comp_func(he->key, he->key_len, key, key_len)) {
189 Curl_hash_delete(struct curl_hash *h, void *key, size_t key_len) argument
207 Curl_hash_pick(struct curl_hash *h, void *key, size_t key_len) argument
[all...]
H A Dhash.h62 size_t key_len; member in struct:curl_hash_element
82 void *Curl_hash_add(struct curl_hash *h, void *key, size_t key_len, void *p);
83 int Curl_hash_delete(struct curl_hash *h, void *key, size_t key_len);
84 void *Curl_hash_pick(struct curl_hash *, void * key, size_t key_len);
/macosx-10.9.5/xnu-2422.115.4/EXTERNAL_HEADERS/corecrypto/
H A Dccmode.h34 unsigned long key_len, const void *key)
36 mode->init(mode, ctx, key_len, key);
47 unsigned long key_len, const void *key, unsigned long in_len,
52 mode->init(mode, ctx, key_len, key);
94 unsigned long key_len, const void *key)
96 mode->init(mode, ctx, key_len, key);
114 unsigned long key_len, const void *key, const void *iv, unsigned long nblocks,
119 mode->init(mode, ctx, key_len, key);
146 unsigned long key_len, const void *key, const void *iv)
148 mode->init(mode, ctx, key_len, ke
33 ccecb_init(const struct ccmode_ecb *mode, ccecb_ctx *ctx, unsigned long key_len, const void *key) argument
46 ccecb_one_shot(const struct ccmode_ecb *mode, unsigned long key_len, const void *key, unsigned long in_len, const void *in, void *out) argument
93 cccbc_init(const struct ccmode_cbc *mode, cccbc_ctx *ctx, unsigned long key_len, const void *key) argument
113 cccbc_one_shot(const struct ccmode_cbc *mode, unsigned long key_len, const void *key, const void *iv, unsigned long nblocks, const void *in, void *out) argument
145 cccfb_init(const struct ccmode_cfb *mode, cccfb_ctx *ctx, unsigned long key_len, const void *key, const void *iv) argument
157 cccfb_one_shot(const struct ccmode_cfb *mode, unsigned long key_len, const void *key, const void *iv, unsigned long in_len, const void *in, void *out) argument
184 cccfb8_init(const struct ccmode_cfb8 *mode, cccfb8_ctx *ctx, unsigned long key_len, const void *key, const void *iv) argument
196 cccfb8_one_shot(const struct ccmode_cfb8 *mode, unsigned long key_len, const void *key, const void *iv, unsigned long in_len, const void *in, void *out) argument
227 ccctr_init(const struct ccmode_ctr *mode, ccctr_ctx *ctx, unsigned long key_len, const void *key, const void *iv) argument
240 ccctr_one_shot(const struct ccmode_ctr *mode, unsigned long key_len, const void *key, const void *iv, unsigned long in_len, const void *in, void *out) argument
269 ccofb_init(const struct ccmode_ofb *mode, ccofb_ctx *ctx, unsigned long key_len, const void *key, const void *iv) argument
281 ccofb_one_shot(const struct ccmode_ofb *mode, unsigned long key_len, const void *key, const void *iv, unsigned long in_len, const void *in, void *out) argument
328 ccxts_init(const struct ccmode_xts *mode, ccxts_ctx *ctx, unsigned long key_len, const void *key, const void *tweak_key) argument
345 ccxts_one_shot(const struct ccmode_xts *mode, unsigned long key_len, const void *key, const void *tweak_key, const void* iv, unsigned long in_len, const void *in, void *out) argument
376 ccgcm_init(const struct ccmode_gcm *mode, ccgcm_ctx *ctx, unsigned long key_len, const void *key) argument
411 ccgcm_one_shot(const struct ccmode_gcm *mode, unsigned long key_len, const void *key, unsigned long iv_len, const void *iv, unsigned long nbytes, const void *in, void *out, unsigned long adata_len, const void* adata, size_t tag_len, void *tag) argument
445 ccomac_init(const struct ccmode_omac *mode, ccomac_ctx *ctx, unsigned long tweak_len, unsigned long key_len, const void *key) argument
457 ccomac_one_shot(const struct ccmode_omac *mode, unsigned long tweak_len, unsigned long key_len, const void *key, const void *tweak, unsigned long in_len, const void *in, void *out) argument
[all...]
H A Dccmode_impl.h24 unsigned long key_len, const void *key);
37 unsigned long key_len, const void *key);
51 unsigned long key_len, const void *key,
66 unsigned long key_len, const void *key,
81 unsigned long key_len, const void *key,
96 unsigned long key_len, const void *key,
119 unsigned long key_len, const void *key,
142 unsigned long key_len, const void *key);
159 unsigned long tweak_len, unsigned long key_len,
H A Dccrc4.h24 void (*init)(ccrc4_ctx *ctx, unsigned long key_len, const void *key);
/macosx-10.9.5/securityd-55199.3/securityd_service/securityd_service/
H A Dsecurityd_service_client.h38 int service_client_stash_set_key(service_context_t *context, const void * key, int key_len);
39 int service_client_stash_get_key(service_context_t *context, void ** key, int * key_len);
/macosx-10.9.5/ntp-88/sntp/
H A Dcrypto.h22 int key_len; member in struct:key
H A Dcrypto.c28 digest_data = emalloc(sizeof(char) * (LEN_PKT_NOMAC + cmp_key->key_len));
33 for (a = 0; a < cmp_key->key_len; a++)
36 MD5Update(&ctx, (u_char *)digest_data, LEN_PKT_NOMAC + cmp_key->key_len);
103 act->key_len = strlen(act->key_seq);
139 kptr->key_id, kptr->type, kptr->key_seq, kptr->key_len);
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/sasldb/
H A Dallockey.c63 size_t *key_len)
67 if(!utils || !auth_identity || !realm || !propName || !key || !key_len)
74 *key_len = auth_id_len + realm_len + prop_len + 2;
75 *key = utils->malloc(*key_len);
90 int _sasldb_parse_key(const char *key, const size_t key_len, argument
99 if(!key || !key_len
105 for(i=0; i<key_len; i++) {
113 pnlen = (unsigned int)key_len - alen - rlen - 2;
212 size_t key_len; local
231 &key_len);
58 _sasldb_alloc_key(const sasl_utils_t *utils, const char *auth_identity, const char *realm, const char *propName, char **key, size_t *key_len) argument
[all...]
H A Dsasldb.h115 LIBSASL_API int _sasldb_parse_key(const char *key, const size_t key_len,
126 size_t *key_len);
/macosx-10.9.5/curl-78.94.1/curl/tests/unit/
H A Dunit1305.c126 size_t key_len; variable
132 key_len = strlen(data_key);
134 nodep = Curl_hash_add(hp, data_key, key_len+1, data_node);
/macosx-10.9.5/xnu-2422.115.4/libkern/crypto/
H A Dcorecrypto_aes.c35 aes_rval aes_encrypt_key(const unsigned char *key, int key_len, aes_encrypt_ctx cx[1]) argument
43 cccbc_init(cbc, cx[0].ctx, key_len, key);
68 aes_rval aes_decrypt_key(const unsigned char *key, int key_len, aes_decrypt_ctx cx[1]) argument
76 cccbc_init(cbc, cx[0].ctx, key_len, key);
/macosx-10.9.5/groff-38/groff/src/utils/indxbib/
H A Dindxbib.cpp389 int key_len = 0;
397 if (key_len < truncate_len)
398 key_buffer[key_len++] = cmlower(c);
401 if (key_len >= shortest_len) {
402 int h = hash(key_buffer, key_len) % hash_table_size;
403 common_words_table[h] = new word_list(key_buffer, key_len,
408 key_len = 0;
425 int key_len = 0;
429 key_len = 1;
434 if (key_len < truncate_le
[all...]
/macosx-10.9.5/Security-55471.14.18/sec/Security/
H A DSecPBKDF.c17 size_t key_len,
24 CCHmacInit(&hmac_sha1_context, kCCHmacAlgSHA1, key, key_len);
16 hmac_sha1_PRF(const uint8_t *key, size_t key_len, const uint8_t *text, size_t text_len, uint8_t digest[CC_SHA1_DIGEST_LENGTH]) argument
H A DSecPBKDF.h14 size_t key_len,
/macosx-10.9.5/xnu-2422.115.4/libkern/libkern/crypto/
H A Daes.h69 /* Key lengths in the range 16 <= key_len <= 32 are given in bytes, */
70 /* those in the range 128 <= key_len <= 256 are given in bits */
72 aes_rval aes_encrypt_key(const unsigned char *key, int key_len, aes_encrypt_ctx cx[1]);
84 aes_rval aes_decrypt_key(const unsigned char *key, int key_len, aes_decrypt_ctx cx[1]);
/macosx-10.9.5/ntfs-83/kext/
H A Dntfs_index.h362 const int key_len, ntfs_index_context **ictx);
365 const int key_len, ntfs_index_context **index_ctx);
379 u32 entry_size, const void *key, const u32 key_len,
386 * @key_len: size of key @key in bytes
391 * length @key_len bytes in the directory index at the position specified by
396 * If @ictx belongs to a view index, insert the key @key of length @key_len
414 const void *key, const u32 key_len,
417 return ntfs_index_entry_add_or_node_split(ictx, FALSE, 0, key, key_len,
413 ntfs_index_entry_add(ntfs_index_context *ictx, const void *key, const u32 key_len, const void *data, const u32 data_len) argument
/macosx-10.9.5/OpenSSH-186/osslshim/ossl/
H A Dossl-evp-cc.c371 .key_len = kCCKeySize3DES,
406 .key_len = kCCKeySize3DES,
486 .key_len = kCCKeySizeDES,
521 .key_len = kCCKeySizeDES,
550 return (init_cc_key(encp, kCCAlgorithmBlowfish, kCCOptionECBMode, key, ctx->cipher->key_len, iv, &cc->href));
563 return (init_cc_key(encp, kCCAlgorithmBlowfish, 0, key, ctx->cipher->key_len, iv, &cc->href));
591 .key_len = 16,
620 .key_len = 8,
649 return (init_cc_key(encp, kCCAlgorithmCAST, kCCOptionECBMode, key, ctx->key_len, iv, &cc->href));
662 return (init_cc_key(encp, kCCAlgorithmCAST, 0, key, ctx->key_len, i
[all...]
/macosx-10.9.5/bootp-268.1/IPConfiguration.bproj/
H A DCGA.c172 uint16_t key_len; local
182 key_len = CFDataGetLength(priv);
183 bcopy(&key_len, offset, sizeof(key_len));
184 offset += sizeof(key_len);
187 CFDataGetBytes(priv, CFRangeMake(0, key_len), offset);
188 offset += key_len;
191 key_len = CFDataGetLength(pub);
192 bcopy(&key_len, offset, sizeof(key_len));
[all...]

Completed in 277 milliseconds

1234