Searched refs:key (Results 101 - 125 of 2805) sorted by relevance

1234567891011>>

/freebsd-current/contrib/wpa/src/crypto/
H A Daes.h14 void * aes_encrypt_init(const u8 *key, size_t len);
17 void * aes_decrypt_init(const u8 *key, size_t len);
H A Dmd5.h14 int hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem,
16 int hmac_md5(const u8 *key, size_t key_len, const u8 *data, size_t data_len,
/freebsd-current/crypto/heimdal/lib/hx509/
H A Dtest_req.in53 --key=FILE:$srcdir/data/key.der \
62 --key=FILE:$srcdir/data/key.der \
/freebsd-current/crypto/heimdal/lib/krb5/
H A Dsalt-aes.c44 krb5_keyblock *key)
65 ALLOC(kd.key, 1);
66 if(kd.key == NULL) {
70 kd.key->keytype = enctype;
71 ret = krb5_data_alloc(&kd.key->keyvalue, et->keytype->size);
80 et->keytype->size, kd.key->keyvalue.data);
90 ret = krb5_copy_keyblock_contents(context, kd.key, key);
39 AES_string_to_key(krb5_context context, krb5_enctype enctype, krb5_data password, krb5_salt salt, krb5_data opaque, krb5_keyblock *key) argument
H A Dcrypto-des.c41 krb5_keyblock *key)
43 DES_cblock *k = key->keyvalue.data;
53 struct _krb5_key_data *key)
55 DES_set_key_unchecked(key->key->keyvalue.data, key->schedule->data);
60 krb5_keyblock *key,
64 DES_cblock *k = key->keyvalue.data;
65 memcpy(k, data, key->keyvalue.length);
101 struct _krb5_key_data *key,
40 krb5_DES_random_key(krb5_context context, krb5_keyblock *key) argument
51 krb5_DES_schedule_old(krb5_context context, struct _krb5_key_type *kt, struct _krb5_key_data *key) argument
59 krb5_DES_random_to_key(krb5_context context, krb5_keyblock *key, const void *data, size_t size) argument
100 CRC32_checksum(krb5_context context, struct _krb5_key_data *key, const void *data, size_t len, unsigned usage, Checksum *C) argument
119 RSA_MD4_checksum(krb5_context context, struct _krb5_key_data *key, const void *data, size_t len, unsigned usage, Checksum *C) argument
132 RSA_MD4_DES_checksum(krb5_context context, struct _krb5_key_data *key, const void *data, size_t len, unsigned usage, Checksum *cksum) argument
143 RSA_MD4_DES_verify(krb5_context context, struct _krb5_key_data *key, const void *data, size_t len, unsigned usage, Checksum *C) argument
154 RSA_MD5_DES_checksum(krb5_context context, struct _krb5_key_data *key, const void *data, size_t len, unsigned usage, Checksum *C) argument
165 RSA_MD5_DES_verify(krb5_context context, struct _krb5_key_data *key, const void *data, size_t len, unsigned usage, Checksum *C) argument
216 evp_des_encrypt_null_ivec(krb5_context context, struct _krb5_key_data *key, void *data, size_t len, krb5_boolean encryptp, int usage, void *ignore_ivec) argument
235 evp_des_encrypt_key_ivec(krb5_context context, struct _krb5_key_data *key, void *data, size_t len, krb5_boolean encryptp, int usage, void *ignore_ivec) argument
254 DES_CFB64_encrypt_null_ivec(krb5_context context, struct _krb5_key_data *key, void *data, size_t len, krb5_boolean encryptp, int usage, void *ignore_ivec) argument
272 DES_PCBC_encrypt_key_ivec(krb5_context context, struct _krb5_key_data *key, void *data, size_t len, krb5_boolean encryptp, int usage, void *ignore_ivec) argument
[all...]
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/
H A Dcleanup.ksh29 . $STF_SUITE/tests/functional/cli_root/zfs_load-key/zfs_load-key_common.kshlib
/freebsd-current/crypto/openssl/crypto/camellia/
H A Dcmll_ctr.c20 size_t length, const CAMELLIA_KEY *key,
26 CRYPTO_ctr128_encrypt(in, out, length, key, ivec, ecount_buf, num,
19 Camellia_ctr128_encrypt(const unsigned char *in, unsigned char *out, size_t length, const CAMELLIA_KEY *key, unsigned char ivec[CAMELLIA_BLOCK_SIZE], unsigned char ecount_buf[CAMELLIA_BLOCK_SIZE], unsigned int *num) argument
H A Dcmll_ofb.c25 size_t length, const CAMELLIA_KEY *key,
28 CRYPTO_ofb128_encrypt(in, out, length, key, ivec, num,
24 Camellia_ofb128_encrypt(const unsigned char *in, unsigned char *out, size_t length, const CAMELLIA_KEY *key, unsigned char *ivec, int *num) argument
/freebsd-current/crypto/openssl/crypto/aes/
H A Daes_ofb.c20 size_t length, const AES_KEY *key,
23 CRYPTO_ofb128_encrypt(in, out, length, key, ivec, num,
19 AES_ofb128_encrypt(const unsigned char *in, unsigned char *out, size_t length, const AES_KEY *key, unsigned char *ivec, int *num) argument
/freebsd-current/crypto/openssl/crypto/poly1305/
H A Dpoly1305_ppc.c15 void poly1305_init_int(void *ctx, const unsigned char key[16]);
20 void poly1305_init_fpu(void *ctx, const unsigned char key[16]);
25 void poly1305_init_vsx(void *ctx, const unsigned char key[16]);
30 int poly1305_init(void *ctx, const unsigned char key[16], void *func[2]);
31 int poly1305_init(void *ctx, const unsigned char key[16], void *func[2]) argument
34 poly1305_init_int(ctx, key);
38 poly1305_init_fpu(ctx, key);
42 poly1305_init_int(ctx, key);
/freebsd-current/libexec/revnetgroup/
H A Dhash.h43 char *key; member in struct:member_entry
51 char *key; member in struct:group_entry
/freebsd-current/crypto/openssl/test/recipes/
H A D20-test_passwd.t23 key => 'Hello world!',
27 key => 'Hello world!',
31 key => 'This is just a test',
35 key => 'a very much longer text to encrypt. This one even stretches over morethan one line.',
39 key => 'the minimum number is still observed',
43 key => 'Hello world!',
47 key => 'Hello world!',
51 key => 'This is just a test',
55 key => 'a very much longer text to encrypt. This one even stretches over morethan one line.',
59 key
[all...]
/freebsd-current/crypto/openssl/crypto/ec/
H A Decx_backend.c28 int ossl_ecx_public_from_private(ECX_KEY *key) argument
30 switch (key->type) {
32 ossl_x25519_public_from_private(key->pubkey, key->privkey);
35 if (!ossl_ed25519_public_from_private(key->libctx, key->pubkey,
36 key->privkey, key->propq)) {
42 ossl_x448_public_from_private(key->pubkey, key
109 ossl_ecx_key_dup(const ECX_KEY *key, int selection) argument
163 ECX_KEY *key = NULL; local
[all...]
/freebsd-current/tests/sys/sys/
H A Darb_test.c39 int key; member in struct:node
47 if (a->key < b->key) return (-1);
48 else if (a->key > b->key) return (1);
76 tmp->key = arc4random_uniform(MAX-MIN);
77 tmp->key += MIN;
80 max = min = tmp->key;
82 if (tmp->key > max)
83 max = tmp->key;
[all...]
/freebsd-current/contrib/llvm-project/lldb/bindings/interface/
H A DSBTypeEnumMemberExtensions.i32 def __getitem__(self, key):
34 if type(key) is int:
35 if -num_elements <= key < num_elements:
36 key %= num_elements
37 return self.GetTypeEnumMemberAtIndex(key)
38 elif type(key) is str:
41 if item.name == key:
/freebsd-current/contrib/ofed/libibnetdisc/
H A Dg_hash_table.cpp70 GHashTableInsert(GHashTable *ght, void *key, void *value) argument
73 ht->map[key] = value;
77 GHashTableLookup(GHashTable *ght, void *key) argument
81 if (ht->map.find(key) == ht->map.end())
83 return (ht->map[key]);
/freebsd-current/sys/contrib/openzfs/include/sys/crypto/
H A Dapi.h49 crypto_key_t *key, crypto_ctx_template_t *tmpl);
56 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *mac);
57 extern int crypto_mac_init(crypto_mechanism_t *mech, crypto_key_t *key,
66 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *ciphertext);
68 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *plaintext);
/freebsd-current/contrib/wireguard-tools/
H A Dpubkey.c16 uint8_t key[WG_KEY_LEN] __attribute__((aligned(sizeof(uintptr_t)))); local
38 fprintf(stderr, "%s: Trailing characters found after key\n", PROG_NAME);
42 if (!key_from_base64(key, base64)) {
46 curve25519_generate_public(key, key);
47 key_to_base64(base64, key);
H A Dencoding.c24 void key_to_base64(char base64[static WG_KEY_LEN_BASE64], const uint8_t key[static WG_KEY_LEN])
29 encode_base64(&base64[i * 4], &key[i * 3]);
30 encode_base64(&base64[i * 4], (const uint8_t[]){ key[i * 3 + 0], key[i * 3 + 1], 0 });
50 bool key_from_base64(uint8_t key[static WG_KEY_LEN], const char *base64)
62 key[i * 3 + 0] = (val >> 16) & 0xff;
63 key[i * 3 + 1] = (val >> 8) & 0xff;
64 key[i * 3 + 2] = val & 0xff;
68 key[i * 3 + 0] = (val >> 16) & 0xff;
69 key[
[all...]
/freebsd-current/contrib/netbsd-tests/include/sys/
H A Dt_tree.c38 int key; member in struct:mist
46 return (b->key - a->key); /* wrong, can overflow */
48 if (b->key > a->key)
50 else if (b->key < a->key)
61 addmist(int key) argument
66 m->key = key;
[all...]
/freebsd-current/contrib/lua/src/
H A Dltable.h38 LUAI_FUNC const TValue *luaH_getint (Table *t, lua_Integer key);
39 LUAI_FUNC void luaH_setint (lua_State *L, Table *t, lua_Integer key,
41 LUAI_FUNC const TValue *luaH_getshortstr (Table *t, TString *key);
42 LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key);
43 LUAI_FUNC const TValue *luaH_get (Table *t, const TValue *key);
44 LUAI_FUNC void luaH_newkey (lua_State *L, Table *t, const TValue *key,
46 LUAI_FUNC void luaH_set (lua_State *L, Table *t, const TValue *key,
48 LUAI_FUNC void luaH_finishset (lua_State *L, Table *t, const TValue *key,
55 LUAI_FUNC int luaH_next (lua_State *L, Table *t, StkId key);
61 LUAI_FUNC Node *luaH_mainposition (const Table *t, const TValue *key);
[all...]
/freebsd-current/lib/librpcsvc/
H A Dxcrypt.c52 * Encrypt a secret key given passwd
53 * The secret key is passed and returned in hex notation.
59 char key[8]; local
71 passwd2des(passwd, key);
74 err = cbc_crypt(key, buf, len, DES_ENCRYPT | DES_HW, ivec);
85 * Decrypt secret key using passwd
86 * The secret key is passed and returned in hex notation.
92 char key[8]; local
104 passwd2des(passwd, key);
107 err = cbc_crypt(key, bu
122 passwd2des(char *pw, char *key) argument
[all...]
/freebsd-current/usr.sbin/yp_mkdb/
H A Dyp_mkdb.c80 DBT key, data; local
87 key.data = NULL;
88 while (yp_next_record(dbp, &key, &data, 1, 1) == YP_TRUE)
89 printf("%.*s %.*s\n", (int)key.size, (char *)key.data,
111 DBT key, data; local
196 key.data = "YP_INTERDOMAIN";
197 key.size = sizeof("YP_INTERDOMAIN") - 1;
200 yp_put_record(dbp, &key, &data, 0);
204 key
[all...]
/freebsd-current/contrib/jemalloc/src/
H A Dckh.c59 * Search bucket for key and return the cell number if found; SIZE_T_MAX
63 ckh_bucket_search(ckh_t *ckh, size_t bucket, const void *key) { argument
69 if (cell->key != NULL && ckh->keycomp(key, cell->key)) {
78 * Search table for key and return cell number if found; SIZE_T_MAX otherwise.
81 ckh_isearch(ckh_t *ckh, const void *key) { argument
86 ckh->hash(key, hashes);
90 cell = ckh_bucket_search(ckh, bucket, key);
97 cell = ckh_bucket_search(ckh, bucket, key);
102 ckh_try_bucket_insert(ckh_t *ckh, size_t bucket, const void *key, const void *data) argument
136 const void *key, *data, *tkey, *tdata; local
207 const void *key = *argkey; local
237 const void *key, *data; local
446 ckh_iter(ckh_t *ckh, size_t *tabind, void **key, void **data) argument
467 ckh_insert(tsd_t *tsd, ckh_t *ckh, const void *key, const void *data) argument
490 ckh_remove(tsd_t *tsd, ckh_t *ckh, const void *searchkey, void **key, void **data) argument
523 ckh_search(ckh_t *ckh, const void *searchkey, void **key, void **data) argument
543 ckh_string_hash(const void *key, size_t r_hash[2]) argument
556 ckh_pointer_hash(const void *key, size_t r_hash[2]) argument
[all...]
/freebsd-current/contrib/wpa/wpa_supplicant/dbus/
H A Ddbus_dict_helpers.h27 const char *key, const char *value);
30 const char *key,
34 const char *key,
38 const char *key,
42 const char *key,
46 const char *key,
50 const char *key,
54 const char *key,
60 const char *key, const char *type,
66 const char *key,
119 const char *key; /** key of the dict entry */ member in struct:wpa_dbus_dict_entry
[all...]

Completed in 351 milliseconds

1234567891011>>