| /freebsd/crypto/openssl/include/openssl/ |
| H A D | params.h | 27 #define OSSL_PARAM_DEFN(key, type, addr, sz) \ argument 31 #define OSSL_PARAM_int(key, addr) \ argument 33 #define OSSL_PARAM_uint(key, addr) \ argument 36 #define OSSL_PARAM_long(key, addr) \ argument 38 #define OSSL_PARAM_ulong(key, addr) \ argument 41 #define OSSL_PARAM_int32(key, addr) \ argument 43 #define OSSL_PARAM_uint32(key, addr) \ argument 46 #define OSSL_PARAM_int64(key, addr) \ argument 48 #define OSSL_PARAM_uint64(key, addr) \ argument 51 #define OSSL_PARAM_size_t(key, addr) \ argument [all …]
|
| /freebsd/crypto/openssl/crypto/slh_dsa/ |
| H A D | slh_dsa_key.c | 23 static void slh_dsa_key_hash_cleanup(SLH_DSA_KEY *key) in slh_dsa_key_hash_cleanup() 34 static int slh_dsa_key_hash_init(SLH_DSA_KEY *key) in slh_dsa_key_hash_init() 85 OSSL_LIB_CTX *ossl_slh_dsa_key_get0_libctx(const SLH_DSA_KEY *key) in ossl_slh_dsa_key_get0_libctx() 128 void ossl_slh_dsa_key_free(SLH_DSA_KEY *key) in ossl_slh_dsa_key_free() 221 int ossl_slh_dsa_key_has(const SLH_DSA_KEY *key, int selection) in ossl_slh_dsa_key_has() 234 int ossl_slh_dsa_key_pairwise_check(const SLH_DSA_KEY *key) in ossl_slh_dsa_key_pairwise_check() 250 void ossl_slh_dsa_key_reset(SLH_DSA_KEY *key) in ossl_slh_dsa_key_reset() 268 int ossl_slh_dsa_key_fromdata(SLH_DSA_KEY *key, const OSSL_PARAM params[], in ossl_slh_dsa_key_fromdata() 335 const SLH_DSA_KEY *key = ctx->key; in slh_dsa_compute_pk_root() local 409 int ossl_slh_dsa_key_type_matches(const SLH_DSA_KEY *key, const char *alg) in ossl_slh_dsa_key_type_matches() [all …]
|
| H A D | slh_dsa_key.h | 13 #define SLH_DSA_SK_SEED(key) ((key)->priv) argument 14 #define SLH_DSA_SK_PRF(key) ((key)->priv + (key)->params->n) argument 15 #define SLH_DSA_PK_SEED(key) ((key)->priv + (key)->params->n * 2) argument 16 #define SLH_DSA_PK_ROOT(key) ((key)->priv + (key)->params->n * 3) argument 17 #define SLH_DSA_PUB(key) SLH_DSA_PK_SEED(key) argument 18 #define SLH_DSA_PRIV(key) SLH_DSA_SK_SEED(key) argument
|
| /freebsd/crypto/openssl/crypto/ml_dsa/ |
| H A D | ml_dsa_key.c | 21 const ML_DSA_PARAMS *ossl_ml_dsa_key_params(const ML_DSA_KEY *key) in ossl_ml_dsa_key_params() 27 const uint8_t *ossl_ml_dsa_key_get_seed(const ML_DSA_KEY *key) in ossl_ml_dsa_key_get_seed() 32 int ossl_ml_dsa_key_get_prov_flags(const ML_DSA_KEY *key) in ossl_ml_dsa_key_get_prov_flags() 37 int ossl_ml_dsa_set_prekey(ML_DSA_KEY *key, int flags_set, int flags_clr, in ossl_ml_dsa_set_prekey() 103 int ossl_ml_dsa_key_pub_alloc(ML_DSA_KEY *key) in ossl_ml_dsa_key_pub_alloc() 110 int ossl_ml_dsa_key_priv_alloc(ML_DSA_KEY *key) in ossl_ml_dsa_key_priv_alloc() 130 void ossl_ml_dsa_key_free(ML_DSA_KEY *key) in ossl_ml_dsa_key_free() 144 void ossl_ml_dsa_key_reset(ML_DSA_KEY *key) in ossl_ml_dsa_key_reset() 289 int ossl_ml_dsa_key_has(const ML_DSA_KEY *key, int selection) in ossl_ml_dsa_key_has() 315 static int public_from_private(const ML_DSA_KEY *key, EVP_MD_CTX *md_ctx, in public_from_private() [all …]
|
| /freebsd/contrib/ntp/sntp/ |
| H A D | crypto.h | 18 struct key { struct 19 struct key * next; argument 27 extern int auth_init(const char *keyfile, struct key **keys); argument 20 key_idkey global() argument 21 key_lenkey global() argument 24 key_seqkey global() argument
|
| /freebsd/crypto/krb5/src/lib/crypto/builtin/enc_provider/ |
| H A D | aes.c | 80 aesni_supported(krb5_key key) in aesni_supported() 86 aesni_expand_enc_key(krb5_key key) in aesni_expand_enc_key() 98 aesni_expand_dec_key(krb5_key key) in aesni_expand_dec_key() 110 aesni_enc(krb5_key key, unsigned char *data, size_t nblocks, unsigned char *iv) in aesni_enc() 127 aesni_dec(krb5_key key, unsigned char *data, size_t nblocks, unsigned char *iv) in aesni_dec() 146 #define aesni_supported(key) FALSE argument 147 #define aesni_expand_enc_key(key) argument 148 #define aesni_expand_dec_key(key) argument 149 #define aesni_enc(key, data, nblocks, iv) argument 150 #define aesni_dec(key, data, nblocks, iv) argument [all …]
|
| H A D | camellia.c | 54 init_key_cache(krb5_key key) in init_key_cache() 66 expand_enc_key(krb5_key key) in expand_enc_key() 76 expand_dec_key(krb5_key key) in expand_dec_key() 87 cbc_enc(krb5_key key, unsigned char *data, size_t nblocks, unsigned char *iv) in cbc_enc() 100 cbc_dec(krb5_key key, unsigned char *data, size_t nblocks, unsigned char *iv) in cbc_dec() 117 krb5int_camellia_encrypt(krb5_key key, const krb5_data *ivec, in krb5int_camellia_encrypt() 179 krb5int_camellia_decrypt(krb5_key key, const krb5_data *ivec, in krb5int_camellia_decrypt() 250 krb5int_camellia_cbc_mac(krb5_key key, const krb5_crypto_iov *data, in krb5int_camellia_cbc_mac() 280 camellia_init_state(const krb5_keyblock *key, krb5_keyusage usage, in camellia_init_state() 292 camellia_key_cleanup(krb5_key key) in camellia_key_cleanup()
|
| /freebsd/sys/compat/linuxkpi/common/src/ |
| H A D | linux_siphash.c | 48 u64 __siphash_aligned(const void *_data, size_t len, const siphash_key_t *key) in __siphash_aligned() 82 u64 __siphash_unaligned(const void *_data, size_t len, const siphash_key_t *key) in __siphash_unaligned() 120 u64 siphash_1u64(const u64 first, const siphash_key_t *key) in siphash_1u64() 137 u64 siphash_2u64(const u64 first, const u64 second, const siphash_key_t *key) in siphash_2u64() 160 const siphash_key_t *key) in siphash_3u64() 188 const u64 forth, const siphash_key_t *key) in siphash_4u64() 211 u64 siphash_1u32(const u32 first, const siphash_key_t *key) in siphash_1u32() 220 const siphash_key_t *key) in siphash_3u32() 251 u32 __hsiphash_aligned(const void *_data, size_t len, const hsiphash_key_t *key) in __hsiphash_aligned() 285 const hsiphash_key_t *key) in __hsiphash_unaligned() [all …]
|
| /freebsd/crypto/openssl/crypto/ |
| H A D | param_build.c | 25 const char *key; member 51 static OSSL_PARAM_BLD_DEF *param_push(OSSL_PARAM_BLD *bld, const char *key, in param_push() 74 static int param_push_num(OSSL_PARAM_BLD *bld, const char *key, in param_push_num() 122 int OSSL_PARAM_BLD_push_int(OSSL_PARAM_BLD *bld, const char *key, int num) in OSSL_PARAM_BLD_push_int() 132 int OSSL_PARAM_BLD_push_uint(OSSL_PARAM_BLD *bld, const char *key, in OSSL_PARAM_BLD_push_uint() 144 int OSSL_PARAM_BLD_push_long(OSSL_PARAM_BLD *bld, const char *key, in OSSL_PARAM_BLD_push_long() 155 int OSSL_PARAM_BLD_push_ulong(OSSL_PARAM_BLD *bld, const char *key, in OSSL_PARAM_BLD_push_ulong() 167 int OSSL_PARAM_BLD_push_int32(OSSL_PARAM_BLD *bld, const char *key, in OSSL_PARAM_BLD_push_int32() 178 int OSSL_PARAM_BLD_push_uint32(OSSL_PARAM_BLD *bld, const char *key, in OSSL_PARAM_BLD_push_uint32() 190 int OSSL_PARAM_BLD_push_int64(OSSL_PARAM_BLD *bld, const char *key, in OSSL_PARAM_BLD_push_int64() [all …]
|
| /freebsd/sys/crypto/des/ |
| H A D | des_setkey.c | 67 void des_set_odd_parity(unsigned char *key) in des_set_odd_parity() 75 int des_check_key_parity(const unsigned char *key) in des_check_key_parity() 117 int des_is_weak_key(const unsigned char *key) in des_is_weak_key() 142 int des_set_key(const unsigned char *key, des_key_schedule schedule) in des_set_key() 159 int des_set_key_checked(const unsigned char *key, des_key_schedule schedule) in des_set_key_checked() 169 void des_set_key_unchecked(const unsigned char *key, des_key_schedule schedule) in des_set_key_unchecked() 225 int des_key_sched(const unsigned char *key, des_key_schedule schedule) in des_key_sched() 230 void des_fixup_key_parity(unsigned char *key) in des_fixup_key_parity()
|
| /freebsd/crypto/openssl/crypto/rsa/ |
| H A D | rsa_chk.c | 22 static int rsa_validate_keypair_multiprime(const RSA *key, BN_GENCB *cb) in rsa_validate_keypair_multiprime() 237 int ossl_rsa_validate_public(const RSA *key) in ossl_rsa_validate_public() 242 int ossl_rsa_validate_private(const RSA *key) in ossl_rsa_validate_private() 247 int ossl_rsa_validate_pairwise(const RSA *key) in ossl_rsa_validate_pairwise() 256 int RSA_check_key(const RSA *key) in RSA_check_key() 261 int RSA_check_key_ex(const RSA *key, BN_GENCB *cb) in RSA_check_key_ex()
|
| /freebsd/crypto/openssl/crypto/ec/ |
| H A D | ec_key.c | 492 static int ec_key_public_range_check(BN_CTX *ctx, const EC_KEY *key) in ec_key_public_range_check() 690 int EC_KEY_set_public_key_affine_coordinates(EC_KEY *key, BIGNUM *x, in EC_KEY_set_public_key_affine_coordinates() 747 OSSL_LIB_CTX *ossl_ec_key_get_libctx(const EC_KEY *key) in ossl_ec_key_get_libctx() 752 const char *ossl_ec_key_get0_propq(const EC_KEY *key) in ossl_ec_key_get0_propq() 757 void ossl_ec_key_set0_libctx(EC_KEY *key, OSSL_LIB_CTX *libctx) in ossl_ec_key_set0_libctx() 763 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key) in EC_KEY_get0_group() 768 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group) in EC_KEY_set_group() 781 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key) in EC_KEY_get0_private_key() 786 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *priv_key) in EC_KEY_set_private_key() 881 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key) in EC_KEY_get0_public_key() [all …]
|
| /freebsd/crypto/openssl/crypto/evp/ |
| H A D | evp_pkey.c | 185 int EVP_PKEY_get_attr_count(const EVP_PKEY *key) in EVP_PKEY_get_attr_count() 190 int EVP_PKEY_get_attr_by_NID(const EVP_PKEY *key, int nid, int lastpos) in EVP_PKEY_get_attr_by_NID() 195 int EVP_PKEY_get_attr_by_OBJ(const EVP_PKEY *key, const ASN1_OBJECT *obj, in EVP_PKEY_get_attr_by_OBJ() 201 X509_ATTRIBUTE *EVP_PKEY_get_attr(const EVP_PKEY *key, int loc) in EVP_PKEY_get_attr() 206 X509_ATTRIBUTE *EVP_PKEY_delete_attr(EVP_PKEY *key, int loc) in EVP_PKEY_delete_attr() 211 int EVP_PKEY_add1_attr(EVP_PKEY *key, X509_ATTRIBUTE *attr) in EVP_PKEY_add1_attr() 218 int EVP_PKEY_add1_attr_by_OBJ(EVP_PKEY *key, in EVP_PKEY_add1_attr_by_OBJ() 227 int EVP_PKEY_add1_attr_by_NID(EVP_PKEY *key, in EVP_PKEY_add1_attr_by_NID() 236 int EVP_PKEY_add1_attr_by_txt(EVP_PKEY *key, in EVP_PKEY_add1_attr_by_txt() 245 const char *EVP_PKEY_get0_type_name(const EVP_PKEY *key) in EVP_PKEY_get0_type_name() [all …]
|
| /freebsd/contrib/wpa/src/crypto/ |
| H A D | crypto_internal-rsa.c | 22 struct crypto_public_key * crypto_public_key_import(const u8 *key, size_t len) in crypto_public_key_import() 38 struct crypto_private_key * crypto_private_key_import(const u8 *key, in crypto_private_key_import() 72 int crypto_public_key_encrypt_pkcs1_v15(struct crypto_public_key *key, in crypto_public_key_encrypt_pkcs1_v15() 81 int crypto_private_key_decrypt_pkcs1_v15(struct crypto_private_key *key, in crypto_private_key_decrypt_pkcs1_v15() 90 int crypto_private_key_sign_pkcs1(struct crypto_private_key *key, in crypto_private_key_sign_pkcs1() 99 void crypto_public_key_free(struct crypto_public_key *key) in crypto_public_key_free() 105 void crypto_private_key_free(struct crypto_private_key *key) in crypto_private_key_free() 111 int crypto_public_key_decrypt_pkcs1(struct crypto_public_key *key, in crypto_public_key_decrypt_pkcs1()
|
| /freebsd/lib/libnv/tests/ |
| H A D | cnv_tests.cc | 44 const char *key; in ATF_TEST_CASE_BODY() local 78 const char *key; in ATF_TEST_CASE_BODY() local 113 const char *key; in ATF_TEST_CASE_BODY() local 148 const char *key, *subkey; in ATF_TEST_CASE_BODY() local 216 const char *key; in ATF_TEST_CASE_BODY() local 248 const char *key; in ATF_TEST_CASE_BODY() local 294 const char *key; in ATF_TEST_CASE_BODY() local 336 const char *key; in ATF_TEST_CASE_BODY() local 378 const char *key; in ATF_TEST_CASE_BODY() local 421 const char *key; in ATF_TEST_CASE_BODY() local [all …]
|
| /freebsd/sys/compat/linuxkpi/common/include/linux/ |
| H A D | siphash.h | 20 u64 key[2]; member 25 static inline bool siphash_key_is_zero(const siphash_key_t *key) in siphash_key_is_zero() 44 const siphash_key_t *key) in siphash_2u32() 49 const u32 d, const siphash_key_t *key) in siphash_4u32() 56 const siphash_key_t *key) in ___siphash_aligned() 82 const siphash_key_t *key) in siphash() 92 unsigned long key[2]; member 108 const hsiphash_key_t *key) in ___hsiphash_aligned() 132 const hsiphash_key_t *key) in hsiphash()
|
| /freebsd/lib/libthr/thread/ |
| H A D | thr_pshared.c | 40 void *key; member 47 #define PSHARED_KEY_HASH(key) (((unsigned long)(key) >> 8) % HASH_SIZE) argument 125 pshared_lookup(void *key) in pshared_lookup() 139 pshared_insert(void *key, void **val) in pshared_insert() 186 pshared_remove(void *key) in pshared_remove() 205 pshared_clean(void *key, void *val) in pshared_clean() 214 pshared_destroy(struct pthread *curthread, void *key) in pshared_destroy() 225 __thr_pshared_offpage(void *key, int doalloc) in __thr_pshared_offpage() 261 __thr_pshared_destroy(void *key) in __thr_pshared_destroy()
|
| H A D | thr_spec.c | 57 _thr_key_create(pthread_key_t *key, void (*destructor)(void *)) in _thr_key_create() 88 int key, ret; in _thr_key_delete() local 111 int i, key; in _thread_cleanupspecific() local 172 pthread_key_t key; in _thr_setspecific() local 202 pthread_key_t key; in _thr_getspecific() local 230 int key; in _thr_tsd_unload() local
|
| /freebsd/lib/libstdthreads/ |
| H A D | tss.c | 35 tss_create(tss_t *key, tss_dtor_t dtor) in tss_create() 44 tss_delete(tss_t key) in tss_delete() 51 tss_get(tss_t key) in tss_get() 58 tss_set(tss_t key, void *val) in tss_set()
|
| /freebsd/usr.sbin/bluetooth/hcsecd/ |
| H A D | parser.y | 59 static link_key_p key = NULL; variable 231 link_key_p key = NULL; in clean_config() local 243 link_key_p key = NULL, defkey = NULL; in get_key() local 263 link_key_p key = NULL; in dump_config() local 295 link_key_t *key = NULL; in read_keys_file() local 356 link_key_p key = NULL; in dump_keys_file() local 400 free_key(link_key_p key) in free_key()
|
| /freebsd/crypto/openssl/crypto/des/ |
| H A D | set_key.c | 59 void DES_set_odd_parity(DES_cblock *key) in DES_set_odd_parity() 71 int DES_check_key_parity(const_DES_cblock *key) in DES_check_key_parity() 119 int DES_is_weak_key(const_DES_cblock *key) in DES_is_weak_key() 682 int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule) in DES_set_key() 699 int DES_set_key_checked(const_DES_cblock *key, DES_key_schedule *schedule) in DES_set_key_checked() 709 void DES_set_key_unchecked(const_DES_cblock *key, DES_key_schedule *schedule) in DES_set_key_unchecked() 768 int DES_key_sched(const_DES_cblock *key, DES_key_schedule *schedule) in DES_key_sched()
|
| /freebsd/crypto/krb5/src/lib/crypto/krb/ |
| H A D | key.c | 41 krb5_key key = NULL; in krb5_k_create_key() local 65 krb5_k_reference_key(krb5_context context, krb5_key key) in krb5_k_reference_key() 73 krb5_k_free_key(krb5_context context, krb5_key key) in krb5_k_free_key() 99 krb5_k_key_keyblock(krb5_context context, krb5_key key, in krb5_k_key_keyblock() 107 krb5_k_key_enctype(krb5_context context, krb5_key key) in krb5_k_key_enctype()
|
| /freebsd/usr.sbin/iovctl/ |
| H A D | parse.c | 46 report_config_error(const char *key, const ucl_object_t *obj, const char *type) in report_config_error() 58 add_bool_config(const char *key, const ucl_object_t *obj, nvlist_t *config) in add_bool_config() 73 add_string_config(const char *key, const ucl_object_t *obj, nvlist_t *config) in add_string_config() 88 add_uint_config(const char *key, const ucl_object_t *obj, nvlist_t *config, in add_uint_config() 113 add_unicast_mac_config(const char *key, const ucl_object_t *obj, nvlist_t *config) in add_unicast_mac_config() 164 add_vlan_config(const char *key, const ucl_object_t *obj, nvlist_t *config) in add_vlan_config() 191 add_config(const char *key, const ucl_object_t *obj, nvlist_t *config, in add_config() 231 const char *key; in parse_device_config() local 286 const char *errmsg, *key; in parse_config_file() local 363 const char *key, *device; in find_pf_device() local [all …]
|
| /freebsd/crypto/heimdal/lib/krb5/ |
| H A D | crypto-des.c | 41 krb5_keyblock *key) in krb5_DES_random_key() 53 struct _krb5_key_data *key) in krb5_DES_schedule_old() 60 krb5_keyblock *key, in krb5_DES_random_to_key() 101 struct _krb5_key_data *key, in CRC32_checksum() 120 struct _krb5_key_data *key, in RSA_MD4_checksum() 133 struct _krb5_key_data *key, in RSA_MD4_DES_checksum() 144 struct _krb5_key_data *key, in RSA_MD4_DES_verify() 155 struct _krb5_key_data *key, in RSA_MD5_DES_checksum() 166 struct _krb5_key_data *key, in RSA_MD5_DES_verify() 217 struct _krb5_key_data *key, in evp_des_encrypt_null_ivec() [all …]
|
| /freebsd/usr.bin/getconf/ |
| H A D | getconf.c | 62 int c, key, valid; in main() local 163 do_onestr(const char *name, int key) in do_onestr() 185 do_onesys(const char *name, int key) in do_onesys() 211 do_onepath(const char *name, int key, const char *path) in do_onepath() 234 do_confstr(const char *name, int key) in do_confstr() 257 do_sysconf(const char *name, int key) in do_sysconf() 272 do_pathconf(const char *name, int key, const char *path) in do_pathconf()
|