/macosx-10.10/xnu-2782.1.97/osfmk/corecrypto/cchmac/src/ |
H A D | cchmac_init.c | 22 unsigned long key_len, const void *key_data) { 27 if (key_len <= di->block_size) { 28 for (;byte < key_len; ++byte) { 34 ccdigest_update(di, cchmac_digest_ctx(di, hc), key_len, key); 36 key_len = di->output_size; 37 for (;byte < key_len; ++byte) { 42 if (key_len < di->block_size) { 43 CC_MEMSET(cchmac_data(di, hc) + key_len, 0x5c, di->block_size - key_len); 21 cchmac_init(const struct ccdigest_info *di, cchmac_ctx_t hc, unsigned long key_len, const void *key_data) argument
|
H A D | cchmac.c | 13 unsigned long key_len, const void *key, 16 cchmac_init(di, hc, key_len, key); 12 cchmac(const struct ccdigest_info *di, unsigned long key_len, const void *key, unsigned long data_len, const void *data, unsigned char *mac) argument
|
/macosx-10.10/passwordserver_sasl-193/cyrus_sasl/include/ |
H A D | hmac-md5.h | 31 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.10/postfix-255/postfix/src/util/ |
H A D | binhash.c | 12 /* 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 D | binhash.h | 18 int key_len; /* key length */ member in struct:BINHASH_INFO
|
/macosx-10.10/Security-57031.1.35/securityd/securityd_service/securityd_service/ |
H A D | securityd_service_client.h | 38 int service_client_stash_set_key(service_context_t *context, const void * key, int key_len); 39 int service_client_stash_load_key(service_context_t *context, const void * key, int key_len); 40 int service_client_stash_get_key(service_context_t *context, void ** key, int * key_len);
|
/macosx-10.10/tcpdump-61/tcpdump/ |
H A D | signature.c | 53 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.10/OpenSSL098-52/src/crypto/evp/ |
H A D | p_enc.c | 69 int EVP_PKEY_encrypt(unsigned char *ek, const unsigned char *key, int key_len, argument 82 ret=RSA_public_encrypt(key_len,key,ek,pubk->pkey.rsa,RSA_PKCS1_PADDING);
|
H A D | evp_locl.h | 106 key_len, iv_len, flags, init_key, cleanup, \ 109 nid##_##nmode, block_size, key_len, iv_len, \ 121 #define BLOCK_CIPHER_def_cbc(cname, kstruct, nid, block_size, key_len, \ 124 BLOCK_CIPHER_def1(cname, cbc, cbc, CBC, kstruct, nid, block_size, key_len, \ 127 #define BLOCK_CIPHER_def_cfb(cname, kstruct, nid, key_len, \ 131 key_len, iv_len, flags, init_key, cleanup, set_asn1, \ 134 #define BLOCK_CIPHER_def_ofb(cname, kstruct, nid, key_len, \ 138 key_len, iv_len, flags, init_key, cleanup, set_asn1, \ 141 #define BLOCK_CIPHER_def_ecb(cname, kstruct, nid, block_size, key_len, \ 144 BLOCK_CIPHER_def1(cname, ecb, ecb, ECB, kstruct, nid, block_size, key_len, \ [all...] |
/macosx-10.10/bind9-45.101/bind9/lib/dns/rdata/generic/ |
H A D | hip_55.h | 32 isc_uint16_t key_len; member in struct:dns_rdata_hip
|
H A D | hip_55.c | 34 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(®ion); 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.10/xnu-2782.1.97/EXTERNAL_HEADERS/corecrypto/ |
H A D | ccmode.h | 34 size_t key_len, const void *key) 36 mode->init(mode, ctx, key_len, key); 46 size_t key_len, const void *key, 50 mode->init(mode, ctx, key_len, key); 92 size_t key_len, const void *key) 94 mode->init(mode, ctx, key_len, key); 114 unsigned long key_len, const void *key, 120 mode->init(mode, ctx, key_len, key); 147 size_t key_len, const void *key, 150 mode->init(mode, ctx, key_len, ke 33 ccecb_init(const struct ccmode_ecb *mode, ccecb_ctx *ctx, size_t key_len, const void *key) argument 45 ccecb_one_shot(const struct ccmode_ecb *mode, size_t key_len, const void *key, unsigned long nblocks, const void *in, void *out) argument 91 cccbc_init(const struct ccmode_cbc *mode, cccbc_ctx *ctx, size_t 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 146 cccfb_init(const struct ccmode_cfb *mode, cccfb_ctx *ctx, size_t key_len, const void *key, const void *iv) argument 159 cccfb_one_shot(const struct ccmode_cfb *mode, size_t key_len, const void *key, const void *iv, size_t nbytes, const void *in, void *out) argument 186 cccfb8_init(const struct ccmode_cfb8 *mode, cccfb8_ctx *ctx, size_t key_len, const void *key, const void *iv) argument 198 cccfb8_one_shot(const struct ccmode_cfb8 *mode, size_t key_len, const void *key, const void *iv, size_t nbytes, const void *in, void *out) argument 229 ccctr_init(const struct ccmode_ctr *mode, ccctr_ctx *ctx, size_t key_len, const void *key, const void *iv) argument 241 ccctr_one_shot(const struct ccmode_ctr *mode, size_t key_len, const void *key, const void *iv, size_t nbytes, const void *in, void *out) argument 269 ccofb_init(const struct ccmode_ofb *mode, ccofb_ctx *ctx, size_t key_len, const void *key, const void *iv) argument 281 ccofb_one_shot(const struct ccmode_ofb *mode, size_t key_len, const void *key, const void *iv, size_t nbytes, const void *in, void *out) argument 328 ccxts_init(const struct ccmode_xts *mode, ccxts_ctx *ctx, size_t key_len, const void *key, const void *tweak_key) argument 347 ccxts_one_shot(const struct ccmode_xts *mode, size_t key_len, const void *key, const void *tweak_key, const void *iv, unsigned long nblocks, const void *in, void *out) argument 378 ccgcm_init(const struct ccmode_gcm *mode, ccgcm_ctx *ctx, size_t key_len, const void *key) argument 414 ccgcm_one_shot(const struct ccmode_gcm *mode, size_t key_len, const void *key, size_t iv_len, const void *iv, size_t adata_len, const void *adata, size_t nbytes, const void *in, void *out, size_t tag_len, void *tag) argument 450 ccccm_init(const struct ccmode_ccm *mode, ccccm_ctx *ctx, size_t key_len, const void *key) argument 487 ccccm_one_shot(const struct ccmode_ccm *mode, unsigned long key_len, const void *key, unsigned nonce_len, const void *nonce, unsigned long nbytes, const void *in, void *out, unsigned adata_len, const void* adata, unsigned mac_size, void *mac) argument 524 ccomac_init(const struct ccmode_omac *mode, ccomac_ctx *ctx, size_t tweak_len, size_t key_len, const void *key) argument 536 ccomac_one_shot(const struct ccmode_omac *mode, size_t tweak_len, size_t key_len, const void *key, const void *tweak, unsigned long nblocks, const void *in, void *out) argument [all...] |
H A D | ccmode_impl.h | 24 size_t key_len, const void *key); 37 size_t key_len, const void *key); 51 size_t key_len, const void *key, const void *iv); 64 size_t key_len, const void *key, const void *iv); 77 size_t key_len, const void *key, const void *iv); 90 size_t key_len, const void *key, const void *iv); 111 size_t key_len, const void *key, const void *tweak_key); 133 size_t key_len, const void *key); 152 size_t key_len, const void *key); 171 size_t tweak_len, size_t key_len, cons [all...] |
H A D | ccrc4.h | 24 void (*init)(ccrc4_ctx *ctx, size_t key_len, const void *key);
|
/macosx-10.10/curl-83.1.2/curl/lib/ |
H A D | hash.c | 48 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 D | hash.h | 62 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.10/ntp-92/sntp/ |
H A D | crypto.h | 22 int key_len; member in struct:key
|
H A D | crypto.c | 28 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.10/passwordserver_sasl-193/cyrus_sasl/sasldb/ |
H A D | allockey.c | 63 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 = 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 D | sasldb.h | 121 LIBSASL_API int _sasldb_parse_key(const char *key, const size_t key_len, 132 size_t *key_len);
|
/macosx-10.10/curl-83.1.2/curl/tests/unit/ |
H A D | unit1305.c | 125 size_t key_len; variable 131 key_len = strlen(data_key); 133 nodep = Curl_hash_add(hp, data_key, key_len+1, data_node);
|
/macosx-10.10/xnu-2782.1.97/libkern/crypto/ |
H A D | corecrypto_aes.c | 35 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.10/groff-38/groff/src/utils/indxbib/ |
H A D | indxbib.cpp | 389 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.10/Security-57031.1.35/Security/sec/Security/ |
H A D | SecPBKDF.c | 17 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 D | SecPBKDF.h | 14 size_t key_len,
|