/freebsd-9.3-release/contrib/ntp/lib/isc/include/isc/ |
H A D | hash.h | 158 isc_hash_ctxcalc(isc_hash_t *hctx, const unsigned char *key, 161 isc_hash_calc(const unsigned char *key, unsigned int keylen, 172 * 'key' is the hash key, which is a variable length buffer. 174 * 'keylen' specifies the key length, which must not be larger than the limit 177 * 'case_sensitive' specifies whether the hash key should be treated as 178 * case_sensitive values. It should typically be ISC_FALSE if the hash key
|
/freebsd-9.3-release/crypto/openssl/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 RSA_public_encrypt(key_len, key, ek, pubk->pkey.rsa,
|
H A D | p_dec.c | 69 int EVP_PKEY_decrypt(unsigned char *key, const unsigned char *ek, int ekl, argument 83 RSA_private_decrypt(ekl, ek, key, priv->pkey.rsa, RSA_PKCS1_PADDING);
|
H A D | e_null.c | 64 static int null_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 87 static int null_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, argument
|
/freebsd-9.3-release/crypto/openssl/crypto/aes/ |
H A D | aes_cbc.c | 64 const unsigned long length, const AES_KEY *key, 73 assert(in && out && key && ivec); 80 AES_encrypt(out, out, key); 91 AES_encrypt(out, out, key); 97 AES_decrypt(in, out, key); 106 AES_decrypt(in, tmp, key); 115 AES_decrypt(in, out, key); 125 AES_decrypt(tmp, out, key); 63 AES_cbc_encrypt(const unsigned char *in, unsigned char *out, const unsigned long length, const AES_KEY *key, unsigned char *ivec, const int enc) argument
|
/freebsd-9.3-release/crypto/heimdal/lib/gssapi/ntlm/ |
H A D | init_sec_context.c | 40 char **username, struct ntlm_buf *key) 65 heim_ntlm_nt_key(p, key); 78 char **username, struct ntlm_buf *key) 88 if (from_file(fn, target_name->domain, username, key) == 0) 99 get_user_ccache(const ntlm_name name, char **username, struct ntlm_buf *key) argument 108 key->length = 0; 109 key->data = NULL; 134 "@ntlm-key", name->domain, NULL); 148 key->data = malloc(creds.session.keyvalue.length); 149 if (key 39 from_file(const char *fn, const char *target_domain, char **username, struct ntlm_buf *key) argument 77 get_user_file(const ntlm_name target_name, char **username, struct ntlm_buf *key) argument [all...] |
/freebsd-9.3-release/contrib/bind9/lib/dns/ |
H A D | openssldsa_link.c | 54 static isc_result_t openssldsa_todns(const dst_key_t *key, isc_buffer_t *data); 57 openssldsa_createctx(dst_key_t *key, dst_context_t *dctx) { argument 61 UNUSED(key); 78 UNUSED(key); 134 dst_key_t *key = dctx->key; local 135 DSA *dsa = key->keydata.dsa; 213 klen = (key->key_size - 512)/64; 231 dst_key_t *key = dctx->key; local 356 openssldsa_generate(dst_key_t *key, int unused, void (*callback)(int)) argument 420 openssldsa_isprivate(const dst_key_t *key) argument 426 openssldsa_destroy(dst_key_t *key) argument 434 openssldsa_todns(const dst_key_t *key, isc_buffer_t *data) argument 472 openssldsa_fromdns(dst_key_t *key, isc_buffer_t *data) argument 525 openssldsa_tofile(const dst_key_t *key, const char *directory) argument 576 openssldsa_parse(dst_key_t *key, isc_lex_t *lexer, dst_key_t *pub) argument [all...] |
/freebsd-9.3-release/contrib/bind9/lib/isccc/ |
H A D | alist.c | 107 isccc_alist_assq(isccc_sexpr_t *alist, const char *key) argument 124 strcmp(caar->value.as_string, key) == 0) 133 isccc_alist_delete(isccc_sexpr_t *alist, const char *key) argument 147 strcmp(caar->value.as_string, key) == 0) { 159 isccc_alist_define(isccc_sexpr_t *alist, const char *key, isccc_sexpr_t *value) argument 163 kv = isccc_alist_assq(alist, key); 168 k = isccc_sexpr_fromstring(key); 183 * We've already got an entry for this key. Replace it. 193 isccc_alist_definestring(isccc_sexpr_t *alist, const char *key, const char *str) argument 200 kv = isccc_alist_define(alist, key, 208 isccc_alist_definebinary(isccc_sexpr_t *alist, const char *key, isccc_region_t *r) argument 223 isccc_alist_lookup(isccc_sexpr_t *alist, const char *key) argument 234 isccc_alist_lookupstring(isccc_sexpr_t *alist, const char *key, char **strp) argument 253 isccc_alist_lookupbinary(isccc_sexpr_t *alist, const char *key, isccc_region_t **r) argument [all...] |
/freebsd-9.3-release/contrib/sendmail/src/ |
H A D | udb.c | 135 DBT key; local 144 memset(&key, '\0', sizeof(key)); 184 /* build actual database key */ 216 key.data = keybuf; 217 key.size = keylen; 222 i = (*up->udb_dbp->seq)(up->udb_dbp, &key, &info, R_CURSOR); 235 (errno = dbc->c_get(dbc, &key, 255 (int) key.size, (char *) key 601 DBT key, info; local 842 char *key; local [all...] |
/freebsd-9.3-release/usr.bin/csup/ |
H A D | idcache.c | 134 uidc_insert(struct uidc **tbl, struct uidc *uidc, uint32_t key) argument 137 uidc->next = tbl[key]; 138 tbl[key] = uidc; 142 gidc_insert(struct gidc **tbl, struct gidc *gidc, uint32_t key) argument 145 gidc->next = tbl[key]; 146 tbl[key] = gidc; 155 uint32_t key, key2; local 157 key = uid % UIDTONAME_SZ; 159 uidc = uidtoname[key]; 187 uidc_insert(uidtoname, uidc, key); 201 uint32_t key, key2; local 248 uint32_t key, key2; local 297 uint32_t key, key2; local [all...] |
/freebsd-9.3-release/crypto/heimdal/kadmin/ |
H A D | load.c | 42 char *key; member in struct:entry 166 Key *key; local 167 key = realloc(ent->keys.val, 169 if(key == NULL) 171 ent->keys.val = key; 172 key = ent->keys.val + ent->keys.len; 174 memset(key, 0, sizeof(*key)); 176 key->mkvno = malloc(sizeof(*key [all...] |
/freebsd-9.3-release/crypto/openssh/ |
H A D | key.c | 1 /* $OpenBSD: key.c,v 1.116 2014/02/02 03:44:31 djm Exp $ */ 52 #include "key.h" 135 fatal("key_new: bad key type %d", k->type); 217 fatal("key_free: key is NULL"); 258 fatal("key_free: bad key type %d", k->type); 286 * Compare public portions of key only, allowing comparisons between 341 fatal("key_equal: bad key type %d", a->type); 410 fatal("%s: bad key type %d", __func__, k->type); 505 * If you see the picture is different, the key is different. 520 * fail, too, because the key typ 867 key_write(const Key *key, FILE *f) argument 1402 cert_parse(Buffer *b, Key *key, const u_char *blob, u_int blen) argument 1533 Key *key = NULL; local 1681 to_blob(const Key *key, u_char **blobp, u_int *lenp, int force_plain) argument 1753 key_to_blob(const Key *key, u_char **blobp, u_int *lenp) argument 1759 key_sign( const Key *key, u_char **sigp, u_int *lenp, const u_char *data, u_int datalen) argument 1792 key_verify( const Key *key, const u_char *signature, u_int signaturelen, const u_char *data, u_int datalen) argument 2314 key_ec_validate_private(const EC_KEY *key) argument 2383 key_dump_ec_key(const EC_KEY *key) argument 2399 key_private_serialize(const Key *key, Buffer *b) argument [all...] |
H A D | poly1305.h | 17 const u_char key[POLY1305_KEYLEN])
|
/freebsd-9.3-release/contrib/bind9/lib/isc/ |
H A D | symtab.c | 33 char * key; member in struct:elt 112 (symtab->undefine_action)(elt->key, 128 hash(const char *key, isc_boolean_t case_sensitive) { argument 139 for (s = key; *s != '\0'; s++) { 143 for (s = key; *s != '\0'; s++) { 158 strcmp(e->key, (k)) == 0) \ 164 strcasecmp(e->key, (k)) == 0) \ 170 isc_symtab_lookup(isc_symtab_t *symtab, const char *key, unsigned int type, argument 177 REQUIRE(key != NULL); 179 FIND(symtab, key, typ 231 isc_symtab_define(isc_symtab_t *symtab, const char *key, unsigned int type, isc_symvalue_t value, isc_symexists_t exists_policy) argument 283 isc_symtab_undefine(isc_symtab_t *symtab, const char *key, unsigned int type) argument [all...] |
/freebsd-9.3-release/contrib/ntp/lib/isc/ |
H A D | symtab.c | 33 char * key; member in struct:elt 110 (symtab->undefine_action)(elt->key, 126 hash(const char *key, isc_boolean_t case_sensitive) { argument 137 for (s = key; *s != '\0'; s++) { 141 for (s = key; *s != '\0'; s++) { 156 strcmp(e->key, (k)) == 0) \ 162 strcasecmp(e->key, (k)) == 0) \ 168 isc_symtab_lookup(isc_symtab_t *symtab, const char *key, unsigned int type, argument 175 REQUIRE(key != NULL); 177 FIND(symtab, key, typ 229 isc_symtab_define(isc_symtab_t *symtab, const char *key, unsigned int type, isc_symvalue_t value, isc_symexists_t exists_policy) argument 281 isc_symtab_undefine(isc_symtab_t *symtab, const char *key, unsigned int type) argument [all...] |
/freebsd-9.3-release/contrib/bind9/lib/dns/include/dns/ |
H A D | ds.h | 44 dns_ds_buildrdata(dns_name_t *owner, dns_rdata_t *key, 51 *\li key Points to a valid DNS KEY record.
|
/freebsd-9.3-release/contrib/bind9/lib/dns/rdata/generic/ |
H A D | hip_55.h | 28 unsigned char * key; member in struct:dns_rdata_hip
|
H A D | ipseckey_45.h | 31 unsigned char *key; member in struct:dns_rdata_ipseckey
|
H A D | tkey_249.h | 35 unsigned char * key; member in struct:dns_rdata_tkey
|
/freebsd-9.3-release/contrib/bind9/lib/isccc/include/isccc/ |
H A D | cc.h | 92 isccc_cc_definestring(isccc_sexpr_t *alist, const char *key, const char *str); 96 isccc_cc_defineuint32(isccc_sexpr_t *alist, const char *key, isc_uint32_t i); 100 isccc_cc_lookupstring(isccc_sexpr_t *alist, const char *key, char **strp); 104 isccc_cc_lookupuint32(isccc_sexpr_t *alist, const char *key,
|
/freebsd-9.3-release/contrib/sendmail/contrib/ |
H A D | socketmapServer.pl | 54 my ($mapName, $key) = split(' ', $request); 55 my $value = mapLookup($mapName, $key); 70 my $key = shift; 71 my $value = ($mapName eq "virtuser") ? $mapping{$key} : undef;
|
/freebsd-9.3-release/contrib/wpa/src/crypto/ |
H A D | aes-cbc.c | 24 * @key: Encryption key 30 int aes_128_cbc_encrypt(const u8 *key, const u8 *iv, u8 *data, size_t data_len) argument 37 ctx = aes_encrypt_init(key, 16); 57 * @key: Decryption key 63 int aes_128_cbc_decrypt(const u8 *key, const u8 *iv, u8 *data, size_t data_len) argument 70 ctx = aes_decrypt_init(key, 16);
|
/freebsd-9.3-release/crypto/heimdal/lib/hx509/ |
H A D | test_pkcs11.in | 44 certificate cert User certificate FILE:$srcdir/data/test.crt,$srcdir/data/test.key 54 certificate cert User certificate FILE:$srcdir/data/test.crt,$srcdir/data/test-pw.key
|
/freebsd-9.3-release/crypto/heimdal/lib/krb5/ |
H A D | test_prf.c | 42 * key: string2key(aes256, "testkey", "testkey", default_params) 46 * key: string2key(aes128, "testkey", "testkey", default_params) 56 krb5_keyblock key; local 66 ret = krb5_generate_random_keyblock(context, etype, &key); 74 ret = krb5_crypto_init(context, &key, 0, &crypto); 97 krb5_free_keyblock_contents(context, &key);
|
/freebsd-9.3-release/include/rpcsvc/ |
H A D | ypupdate_prot.x | 74 yp_buf key; 80 yp_buf key;
|