Home
last modified time | relevance | path

Searched defs:key (Results 51 – 75 of 1914) sorted by relevance

12345678910>>...77

/freebsd/crypto/openssl/crypto/evp/
H A De_sm4.c26 static int sm4_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, in sm4_init_key()
34 size_t len, const SM4_KEY *key, in sm4_cbc_encrypt()
46 size_t length, const SM4_KEY *key, in sm4_cfb128_encrypt()
54 const SM4_KEY *key, const int enc) in sm4_ecb_encrypt()
63 size_t length, const SM4_KEY *key, in sm4_ofb128_encrypt()
/freebsd/contrib/ofed/opensm/opensm/
H A Dst.c52 st_data_t key; member
79 static inline st_ptr_t st_strhash(void *key) in st_strhash()
107 #define do_hash_bin(key,table) (do_hash(key, table)%(table)->num_bins) argument
251 #define PTR_NOT_EQUAL(table, ptr, hash_val, key) \ argument
273 int st_lookup(st_table *table, st_data_t key, st_data_t *value) in st_lookup()
290 #define ADD_DIRECT(table, key, value, hash_val, bin_pos)\ argument
309 int st_insert(st_table *table, st_data_t key, st_data_t value) in st_insert()
326 void st_add_direct(st_table *table, st_data_t key, st_data_t value) in st_add_direct()
402 int st_delete(st_table *table, st_data_t *key, st_data_t *value) in st_delete()
443 int st_delete_safe(st_table *table, st_data_t *key, st_data_t *value, in st_delete_safe()
[all …]
/freebsd/contrib/wpa/src/crypto/
H A Dcrypto_gnutls.c48 int des_encrypt(const u8 *clear, const u8 *key, u8 *cypher) in des_encrypt()
101 static int gnutls_hmac_vector(int algo, const u8 *key, size_t key_len, in gnutls_hmac_vector()
128 int hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_md5_vector()
143 int hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha1_vector()
160 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha256_vector()
168 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, in hmac_sha256()
187 int hmac_sha384(const u8 *key, size_t key_len, const u8 *data, in hmac_sha384()
206 int hmac_sha512(const u8 *key, size_t key_len, const u8 *data, in hmac_sha512()
215 void * aes_encrypt_init(const u8 *key, size_t len) in aes_encrypt_init()
252 void * aes_decrypt_init(const u8 *key, size_t len) in aes_decrypt_init()
[all …]
H A Dcrypto_nettle.c29 int des_encrypt(const u8 *clear, const u8 *key, u8 *cypher) in des_encrypt()
108 int hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_md5_vector()
133 int hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha1_vector()
160 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha256_vector()
178 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, in hmac_sha256()
189 int hmac_sha384_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha384_vector()
207 int hmac_sha384(const u8 *key, size_t key_len, const u8 *data, in hmac_sha384()
236 int hmac_sha512(const u8 *key, size_t key_len, const u8 *data, in hmac_sha512()
245 void * aes_encrypt_init(const u8 *key, size_t len) in aes_encrypt_init()
276 void * aes_decrypt_init(const u8 *key, size_t len) in aes_decrypt_init()
[all …]
H A Daes-omac1.c43 int omac1_aes_vector(const u8 *key, size_t key_len, size_t num_elem, in omac1_aes_vector()
133 int omac1_aes_128_vector(const u8 *key, size_t num_elem, in omac1_aes_128_vector()
152 int omac1_aes_128(const u8 *key, const u8 *data, size_t data_len, u8 *mac) in omac1_aes_128()
170 int omac1_aes_256(const u8 *key, const u8 *data, size_t data_len, u8 *mac) in omac1_aes_256()
/freebsd/crypto/heimdal/lib/krb5/
H A Dsalt-des.c52 DES_cblock *key) in krb5_DES_AFS3_CMU_string_to_key()
81 DES_cblock *key) in krb5_DES_AFS3_Transarc_string_to_key()
123 krb5_keyblock *key) in DES_AFS3_string_to_key()
138 DES_string_to_key_int(unsigned char *data, size_t length, DES_cblock *key) in DES_string_to_key_int()
176 krb5_keyblock *key) in krb5_DES_string_to_key()
H A Dsalt.c142 krb5_keyblock *key) in krb5_string_to_key_data()
160 krb5_keyblock *key) in krb5_string_to_key()
173 krb5_keyblock *key) in krb5_string_to_key_data_salt()
193 krb5_keyblock *key) in krb5_string_to_key_data_salt_opaque()
225 krb5_keyblock *key) in krb5_string_to_key_salt()
239 krb5_keyblock *key) in krb5_string_to_key_salt_opaque()
254 krb5_keyblock *key) in krb5_string_to_key_derived()
H A Dcrypto-des-common.c43 _krb5_xor (DES_cblock *key, const unsigned char *b) in _krb5_xor()
60 struct _krb5_key_data *key, in _krb5_des_checksum()
93 struct _krb5_key_data *key, in _krb5_des_verify()
133 struct _krb5_key_data *key, in RSA_MD5_checksum()
/freebsd/sys/dev/drm2/
H A Ddrm_hashtab.c57 void drm_ht_verbose_list(struct drm_open_hash *ht, unsigned long key) in drm_ht_verbose_list()
72 unsigned long key) in drm_ht_find_key()
95 unsigned long key = item->key; in drm_ht_insert_item() local
145 int drm_ht_find_item(struct drm_open_hash *ht, unsigned long key, in drm_ht_find_item()
159 int drm_ht_remove_key(struct drm_open_hash *ht, unsigned long key) in drm_ht_remove_key()
/freebsd/crypto/openssh/
H A Dxmss_hash.c38 int core_hash_SHA2(unsigned char *out, const unsigned int type, const unsigned char *key, unsigned … in core_hash_SHA2()
71 int prf(unsigned char *out, const unsigned char *in, const unsigned char *key, unsigned int keylen) in prf()
79 …d char *out, const unsigned char *in, unsigned long long inlen, const unsigned char *key, const un… in h_msg()
95 unsigned char key[n]; in hash_h() local
119 unsigned char key[n]; in hash_f() local
H A Dssh-ecdsa.c49 ssh_ecdsa_size(const struct sshkey *key) in ssh_ecdsa_size()
95 ssh_ecdsa_serialize_public(const struct sshkey *key, struct sshbuf *b, in ssh_ecdsa_serialize_public()
111 ssh_ecdsa_serialize_private(const struct sshkey *key, struct sshbuf *b, in ssh_ecdsa_serialize_private()
158 struct sshkey *key) in ssh_ecdsa_deserialize_public()
201 struct sshkey *key) in ssh_ecdsa_deserialize_private()
226 ssh_ecdsa_sign(struct sshkey *key, in ssh_ecdsa_sign()
291 ssh_ecdsa_verify(const struct sshkey *key, in ssh_ecdsa_verify()
/freebsd/lib/libc/iconv/
H A Dcitrus_db.c98 _citrus_db_lookup(struct _citrus_db *db, struct _citrus_region *key, in _citrus_db_lookup()
181 _citrus_db_lookup_by_string(struct _citrus_db *db, const char *key, in _citrus_db_lookup_by_string()
192 _citrus_db_lookup8_by_string(struct _citrus_db *db, const char *key, in _citrus_db_lookup8_by_string()
212 _citrus_db_lookup16_by_string(struct _citrus_db *db, const char *key, in _citrus_db_lookup16_by_string()
235 _citrus_db_lookup32_by_string(struct _citrus_db *db, const char *key, in _citrus_db_lookup32_by_string()
258 _citrus_db_lookup_string_by_string(struct _citrus_db *db, const char *key, in _citrus_db_lookup_string_by_string()
293 _citrus_db_get_entry(struct _citrus_db *db, int idx, struct _region *key, in _citrus_db_get_entry()
/freebsd/contrib/nvi/common/
H A Dline.c83 DBT data, key; in db_get() local
201 DBT key; in db_delete() local
255 DBT data, key; in db_append() local
326 DBT data, key; in db_insert() local
389 DBT data, key; in db_set() local
478 DBT data, key; in db_last() local
551 DBT data, key; in db_rget() local
576 DBT data, key; in db_rset() local
/freebsd/sys/net80211/
H A Dieee80211_crypto.c102 cipher_detach(struct ieee80211_key *key) in cipher_detach()
108 cipher_attach(struct ieee80211vap *vap, struct ieee80211_key *key) in cipher_attach()
118 struct ieee80211_key *key, in dev_key_alloc()
126 const struct ieee80211_key *key) in dev_key_delete()
132 dev_key_set(struct ieee80211vap *vap, const struct ieee80211_key *key) in dev_key_set()
338 int cipher, int flags, struct ieee80211_key *key) in ieee80211_crypto_newkey()
496 _ieee80211_crypto_delkey(struct ieee80211vap *vap, struct ieee80211_key *key) in _ieee80211_crypto_delkey()
530 ieee80211_crypto_delkey(struct ieee80211vap *vap, struct ieee80211_key *key) in ieee80211_crypto_delkey()
562 ieee80211_crypto_setkey(struct ieee80211vap *vap, struct ieee80211_key *key) in ieee80211_crypto_setkey()
686 struct ieee80211_key **key) in ieee80211_crypto_decap()
/freebsd/lib/libc/db/hash/
H A Dhash_func.c63 hash1(const void *key, size_t len) in hash1()
83 hash2(const void *key, size_t len) in hash2()
109 hash3(const void *key, size_t len) in hash3()
149 hash4(const void *key, size_t len) in hash4()
/freebsd/stand/libsa/geli/
H A Dgeliboot_crypto.c37 const u_char *key, size_t keysize, u_char *iv) in geliboot_crypt()
105 const u_char *key, size_t keysize) in g_eli_crypto_cipher()
115 const u_char *key, size_t keysize) in g_eli_crypto_encrypt()
128 const u_char *key, size_t keysize) in g_eli_crypto_decrypt()
/freebsd/sys/opencrypto/
H A Dxform_aes_icm.c146 aes_icm_reinit(void *key, const uint8_t *iv, size_t ivlen) in aes_icm_reinit()
190 aes_icm_crypt(void *key, const uint8_t *in, uint8_t *out) in aes_icm_crypt()
206 aes_icm_crypt_multi(void *key, const uint8_t *in, uint8_t *out, size_t len) in aes_icm_crypt_multi()
231 aes_icm_crypt_last(void *key, const uint8_t *in, uint8_t *out, size_t len) in aes_icm_crypt_last()
245 aes_icm_setkey(void *sched, const uint8_t *key, int len) in aes_icm_setkey()
258 aes_gcm_setkey(void *vctx, const uint8_t *key, int len) in aes_gcm_setkey()
272 aes_ccm_setkey(void *vctx, const uint8_t *key, int len) in aes_ccm_setkey()
/freebsd/crypto/openssl/crypto/
H A Dparams.c29 OSSL_PARAM *OSSL_PARAM_locate(OSSL_PARAM *p, const char *key) in OSSL_PARAM_locate()
245 OSSL_PARAM OSSL_PARAM_construct_int(const char *key, int *buf) in OSSL_PARAM_construct_int()
276 OSSL_PARAM OSSL_PARAM_construct_uint(const char *key, unsigned int *buf) in OSSL_PARAM_construct_uint()
308 OSSL_PARAM OSSL_PARAM_construct_long(const char *key, long int *buf) in OSSL_PARAM_construct_long()
463 OSSL_PARAM OSSL_PARAM_construct_int32(const char *key, int32_t *buf) in OSSL_PARAM_construct_int32()
589 OSSL_PARAM OSSL_PARAM_construct_uint32(const char *key, uint32_t *buf) in OSSL_PARAM_construct_uint32()
719 OSSL_PARAM OSSL_PARAM_construct_int64(const char *key, int64_t *buf) in OSSL_PARAM_construct_int64()
884 OSSL_PARAM OSSL_PARAM_construct_size_t(const char *key, size_t *buf) in OSSL_PARAM_construct_size_t()
916 OSSL_PARAM OSSL_PARAM_construct_time_t(const char *key, time_t *buf) in OSSL_PARAM_construct_time_t()
1091 OSSL_PARAM OSSL_PARAM_construct_double(const char *key, double *buf) in OSSL_PARAM_construct_double()
[all …]
/freebsd/sys/contrib/openzfs/module/lua/
H A Dltable.c96 static Node *mainposition (const Table *t, const TValue *key) { in mainposition()
126 static int arrayindex (const TValue *key) { in arrayindex()
143 static int findindex (lua_State *L, Table *t, StkId key) { in findindex()
168 int luaH_next (lua_State *L, Table *t, StkId key) { in luaH_next()
217 static int countint (const TValue *key, int *nums) { in countint()
404 TValue *luaH_newkey (lua_State *L, Table *t, const TValue *key) { in luaH_newkey()
447 const TValue *luaH_getint (Table *t, int key) { in luaH_getint()
467 const TValue *luaH_getstr (Table *t, TString *key) { in luaH_getstr()
482 const TValue *luaH_get (Table *t, const TValue *key) { in luaH_get()
512 TValue *luaH_set (lua_State *L, Table *t, const TValue *key) { in luaH_set()
[all …]
/freebsd/crypto/openssl/test/
H A Drsa_mp_test.c139 static int key2048_key(RSA *key) in key2048_key()
150 static int key2048p3_v1(RSA *key) in key2048p3_v1()
200 static int key2048p3_v2(RSA *key) in key2048p3_v2()
253 RSA *key; in test_rsa_mp() local
/freebsd/crypto/heimdal/lib/hdb/
H A Dmkey.c61 int kvno, krb5_keyblock *key, krb5_enctype etype, in hdb_process_master_key()
92 hdb_add_master_key(krb5_context context, krb5_keyblock *key, in hdb_add_master_key()
155 krb5_keyblock key; in read_master_mit() local
198 krb5_keyblock key; in read_master_encryptionkey() local
245 krb5_keyblock key; in read_master_krb4() local
389 _hdb_mkey_decrypt(krb5_context context, hdb_master_key key, in _hdb_mkey_decrypt()
398 _hdb_mkey_encrypt(krb5_context context, hdb_master_key key, in _hdb_mkey_encrypt()
414 hdb_master_key key; in hdb_unseal_key_mkey() local
495 hdb_master_key key; in hdb_seal_key_mkey() local
561 krb5_keyblock *key) in hdb_set_master_key()
[all …]
H A Dcommon.c37 hdb_principal2key(krb5_context context, krb5_const_principal p, krb5_data *key) in hdb_principal2key()
56 hdb_key2principal(krb5_context context, krb5_data *key, krb5_principal p) in hdb_key2principal()
106 krb5_data key, value; in _hdb_fetch_kvno() local
168 hdb_remove_aliases(krb5_context context, HDB *db, krb5_data *key) in hdb_remove_aliases()
213 krb5_data key, value; in hdb_add_aliases() local
284 krb5_data key, value; in _hdb_store() local
333 krb5_data key; in _hdb_remove() local
/freebsd/sys/contrib/openzfs/lib/libzfsbootenv/
H A Dlzbe_pair.c27 lzbe_nvlist_get(const char *pool, const char *key, void **ptr) in lzbe_nvlist_get()
74 lzbe_nvlist_set(const char *pool, const char *key, void *ptr) in lzbe_nvlist_set()
182 lzbe_add_pair(void *ptr, const char *key, const char *type, void *value, in lzbe_add_pair()
344 lzbe_remove_pair(void *ptr, const char *key) in lzbe_remove_pair()
/freebsd/sys/geom/eli/
H A Dg_eli_crypto.c59 const u_char *key, size_t keysize) in g_eli_crypto_cipher()
108 const u_char *key, size_t keysize) in g_eli_crypto_cipher()
186 const u_char *key, size_t keysize) in g_eli_crypto_encrypt()
198 const u_char *key, size_t keysize) in g_eli_crypto_decrypt()
/freebsd/crypto/heimdal/lib/gssapi/krb5/
H A Dwrap.c43 krb5_keyblock **key) in _gsskrb5i_get_initiator_subkey()
71 krb5_keyblock **key) in _gsskrb5i_get_acceptor_subkey()
95 krb5_keyblock **key) in _gsskrb5i_get_token_key()
148 krb5_keyblock *key; in _gsskrb5_wrap_size_limit() local
207 krb5_keyblock *key in wrap_des()
355 krb5_keyblock *key in wrap_des3()
548 krb5_keyblock *key; in _gsskrb5_wrap() local

12345678910>>...77