Home
last modified time | relevance | path

Searched refs:keydata (Results 26 - 50 of 65) sorted by relevance

123

/third_party/node/deps/openssl/openssl/providers/implementations/keymgmt/
H A Decx_kmgmt.c122 static int ecx_has(const void *keydata, int selection) in ecx_has() argument
124 const ECX_KEY *key = keydata; in ecx_has()
191 static int ecx_import(void *keydata, int selection, const OSSL_PARAM params[]) in ecx_import() argument
193 ECX_KEY *key = keydata; in ecx_import()
230 static int ecx_export(void *keydata, int selection, OSSL_CALLBACK *param_cb, in ecx_export() argument
233 ECX_KEY *key = keydata; in ecx_export()
749 static int ecx_validate(const void *keydata, int selection, int type, size_t keylen) in ecx_validate() argument
751 const ECX_KEY *ecx = keydata; in ecx_validate()
777 static int x25519_validate(const void *keydata, int selection, int checktype) in x25519_validate() argument
779 return ecx_validate(keydata, selectio in x25519_validate()
782 x448_validate(const void *keydata, int selection, int checktype) x448_validate() argument
787 ed25519_validate(const void *keydata, int selection, int checktype) ed25519_validate() argument
792 ed448_validate(const void *keydata, int selection, int checktype) ed448_validate() argument
[all...]
H A Ddh_kmgmt.c124 static void dh_freedata(void *keydata) in dh_freedata() argument
126 DH_free(keydata); in dh_freedata()
129 static int dh_has(const void *keydata, int selection) in dh_has() argument
131 const DH *dh = keydata; in dh_has()
190 static int dh_import(void *keydata, int selection, const OSSL_PARAM params[]) in dh_import() argument
192 DH *dh = keydata; in dh_import()
214 static int dh_export(void *keydata, int selection, OSSL_CALLBACK *param_cb, in dh_export() argument
217 DH *dh = keydata; in dh_export()
409 static int dh_validate(const void *keydata, int selection, int checktype) in dh_validate() argument
411 const DH *dh = keydata; in dh_validate()
[all...]
H A Dkdf_legacy_kmgmt.c94 static int kdf_has(const void *keydata, int selection) in kdf_has() argument
/third_party/openssl/providers/implementations/keymgmt/
H A Dec_kmgmt.c298 void ec_freedata(void *keydata) in ec_freedata() argument
300 EC_KEY_free(keydata); in ec_freedata()
304 int ec_has(const void *keydata, int selection) in ec_has() argument
306 const EC_KEY *ec = keydata; in ec_has()
390 int common_import(void *keydata, int selection, const OSSL_PARAM params[], in common_import() argument
393 EC_KEY *ec = keydata; in common_import()
400 * In this implementation, we can export/import only keydata in the in common_import()
433 int ec_import(void *keydata, int selection, const OSSL_PARAM params[]) in ec_import() argument
435 return common_import(keydata, selection, params, 0); in ec_import()
441 int sm2_import(void *keydata, in argument
449 ec_export(void *keydata, int selection, OSSL_CALLBACK *param_cb, void *cbarg) ec_export() argument
897 sm2_validate(const void *keydata, int selection, int checktype) sm2_validate() argument
936 ec_validate(const void *keydata, int selection, int checktype) ec_validate() argument
[all...]
H A Decx_kmgmt.c122 static int ecx_has(const void *keydata, int selection) in ecx_has() argument
124 const ECX_KEY *key = keydata; in ecx_has()
191 static int ecx_import(void *keydata, int selection, const OSSL_PARAM params[]) in ecx_import() argument
193 ECX_KEY *key = keydata; in ecx_import()
230 static int ecx_export(void *keydata, int selection, OSSL_CALLBACK *param_cb, in ecx_export() argument
233 ECX_KEY *key = keydata; in ecx_export()
746 static int ecx_validate(const void *keydata, int selection, int type, size_t keylen) in ecx_validate() argument
748 const ECX_KEY *ecx = keydata; in ecx_validate()
774 static int x25519_validate(const void *keydata, int selection, int checktype) in x25519_validate() argument
776 return ecx_validate(keydata, selectio in x25519_validate()
779 x448_validate(const void *keydata, int selection, int checktype) x448_validate() argument
784 ed25519_validate(const void *keydata, int selection, int checktype) ed25519_validate() argument
789 ed448_validate(const void *keydata, int selection, int checktype) ed448_validate() argument
[all...]
H A Ddh_kmgmt.c124 static void dh_freedata(void *keydata) in dh_freedata() argument
126 DH_free(keydata); in dh_freedata()
129 static int dh_has(const void *keydata, int selection) in dh_has() argument
131 const DH *dh = keydata; in dh_has()
190 static int dh_import(void *keydata, int selection, const OSSL_PARAM params[]) in dh_import() argument
192 DH *dh = keydata; in dh_import()
214 static int dh_export(void *keydata, int selection, OSSL_CALLBACK *param_cb, in dh_export() argument
217 DH *dh = keydata; in dh_export()
406 static int dh_validate(const void *keydata, int selection, int checktype) in dh_validate() argument
408 const DH *dh = keydata; in dh_validate()
[all...]
H A Dkdf_legacy_kmgmt.c94 static int kdf_has(const void *keydata, int selection) in kdf_has() argument
/third_party/node/deps/openssl/openssl/providers/implementations/encode_decode/
H A Ddecode_msblob2key.c223 void *keydata; in msblob2key_export_object() local
225 if (reference_sz == sizeof(keydata) && export != NULL) { in msblob2key_export_object()
231 keydata = *(void **)reference; in msblob2key_export_object()
233 return export(keydata, selection, export_cb, export_cbarg); in msblob2key_export_object()
H A Ddecode_pvk2key.c190 void *keydata; in pvk2key_export_object() local
192 if (reference_sz == sizeof(keydata) && export != NULL) { in pvk2key_export_object()
198 keydata = *(void **)reference; in pvk2key_export_object()
200 return export(keydata, selection, export_cb, export_cbarg); in pvk2key_export_object()
H A Ddecode_der2key.c316 void *keydata; in der2key_export_object() local
318 if (reference_sz == sizeof(keydata) && export != NULL) { in der2key_export_object()
324 keydata = *(void **)reference; in der2key_export_object()
326 return export(keydata, selection, export_cb, export_cbarg); in der2key_export_object()
/third_party/openssl/providers/implementations/encode_decode/
H A Ddecode_msblob2key.c211 void *keydata; in msblob2key_export_object() local
213 if (reference_sz == sizeof(keydata) && export != NULL) { in msblob2key_export_object()
215 keydata = *(void **)reference; in msblob2key_export_object()
217 return export(keydata, ctx->selection, export_cb, export_cbarg); in msblob2key_export_object()
H A Ddecode_der2key.c316 void *keydata; in der2key_export_object() local
318 if (reference_sz == sizeof(keydata) && export != NULL) { in der2key_export_object()
320 keydata = *(void **)reference; in der2key_export_object()
322 return export(keydata, ctx->selection, export_cb, export_cbarg); in der2key_export_object()
/third_party/node/deps/openssl/openssl/crypto/evp/
H A Dpmeth_gn.c170 void *keydata = in EVP_PKEY_generate() local
177 * It's ok if keydata is NULL here. The backend is expected to deal in EVP_PKEY_generate()
181 ctx->op.keymgmt.genctx, keydata); in EVP_PKEY_generate()
366 void *keydata = NULL; in EVP_PKEY_fromdata() local
385 keydata = evp_keymgmt_util_fromdata(*ppkey, ctx->keymgmt, selection, params); in EVP_PKEY_fromdata()
386 if (keydata == NULL) { in EVP_PKEY_fromdata()
393 /* keydata is cached in *ppkey, so we need not bother with it further */ in EVP_PKEY_fromdata()
/third_party/openssl/crypto/evp/
H A Dpmeth_gn.c170 void *keydata = in EVP_PKEY_generate() local
177 * It's ok if keydata is NULL here. The backend is expected to deal in EVP_PKEY_generate()
181 ctx->op.keymgmt.genctx, keydata); in EVP_PKEY_generate()
366 void *keydata = NULL; in EVP_PKEY_fromdata() local
385 keydata = evp_keymgmt_util_fromdata(*ppkey, ctx->keymgmt, selection, params); in EVP_PKEY_fromdata()
386 if (keydata == NULL) { in EVP_PKEY_fromdata()
393 /* keydata is cached in *ppkey, so we need not bother with it further */ in EVP_PKEY_fromdata()
/kernel/linux/linux-5.10/drivers/net/wireless/st/cw1200/
H A Dwsm.h1018 u8 keydata[16]; /* Key data */ member
1024 u8 keydata[16]; /* Key data */ member
1029 u8 keydata[16]; /* TKIP key data */ member
1034 u8 keydata[16]; /* TKIP key data */ member
1043 u8 keydata[16]; /* AES key data */ member
1046 u8 keydata[16]; /* AES key data */ member
1055 u8 keydata[16]; /* WAPI key data */ member
1059 u8 keydata[16]; /* WAPI key data */ member
/kernel/linux/linux-6.6/drivers/net/wireless/st/cw1200/
H A Dwsm.h1013 u8 keydata[16]; /* Key data */ member
1019 u8 keydata[16]; /* Key data */ member
1024 u8 keydata[16]; /* TKIP key data */ member
1029 u8 keydata[16]; /* TKIP key data */ member
1038 u8 keydata[16]; /* AES key data */ member
1041 u8 keydata[16]; /* AES key data */ member
1050 u8 keydata[16]; /* WAPI key data */ member
1054 u8 keydata[16]; /* WAPI key data */ member
/third_party/node/deps/openssl/openssl/include/openssl/
H A Dcore_dispatch.h514 * The key objects are commonly refered to as |keydata|, and it MUST be able
590 OSSL_CORE_MAKE_FUNC(void, keymgmt_free, (void *keydata))
596 (void *keydata, OSSL_PARAM params[]))
603 (void *keydata, const OSSL_PARAM params[]))
614 OSSL_CORE_MAKE_FUNC(int, keymgmt_has, (const void *keydata, int selection))
618 OSSL_CORE_MAKE_FUNC(int, keymgmt_validate, (const void *keydata, int selection,
633 (void *keydata, int selection, const OSSL_PARAM params[]))
637 (void *keydata, int selection,
/third_party/openssl/include/openssl/
H A Dcore_dispatch.h514 * The key objects are commonly refered to as |keydata|, and it MUST be able
590 OSSL_CORE_MAKE_FUNC(void, keymgmt_free, (void *keydata))
596 (void *keydata, OSSL_PARAM params[]))
603 (void *keydata, const OSSL_PARAM params[]))
614 OSSL_CORE_MAKE_FUNC(int, keymgmt_has, (const void *keydata, int selection))
618 OSSL_CORE_MAKE_FUNC(int, keymgmt_validate, (const void *keydata, int selection,
633 (void *keydata, int selection, const OSSL_PARAM params[]))
637 (void *keydata, int selection,
/third_party/openssl/test/
H A Dalgorithmid_test.c29 void *keydata = NULL; in test_spki_aid() local
56 * Note that |keydata| should not be freed, as it's cached in |pkey|. in test_spki_aid()
60 if ((keydata = evp_pkey_export_to_provider(pkey, NULL, in test_spki_aid()
88 if (!TEST_true(evp_keymgmt_get_params(keymgmt, keydata, params))) in test_spki_aid()
H A Devp_extra_test2.c248 static APK_DATA keydata[] = { variable
451 const APK_DATA *ak = &keydata[i]; in test_d2i_AutoPrivateKey_ex()
618 if (!TEST_ptr(key_bio = BIO_new_mem_buf(keydata[id].kder, keydata[id].size))) in test_d2i_PrivateKey_ex()
645 if (!TEST_ptr(key_bio = BIO_new_mem_buf(keydata[testid].kder, keydata[testid].size))) in test_PEM_read_bio_negative()
1073 const unsigned char *pdata = keydata[0].kder; in test_pkey_todata_null()
1075 ret = TEST_ptr(pkey = d2i_AutoPrivateKey_ex(NULL, &pdata, keydata[0].size, in test_pkey_todata_null()
1096 const unsigned char *pdata = keydata[0].kder; in test_pkey_export_null()
1098 ret = TEST_ptr(pkey = d2i_AutoPrivateKey_ex(NULL, &pdata, keydata[ in test_pkey_export_null()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/carl9170/
H A Dmac.c475 const u8 ktype, const u8 keyidx, const u8 *keydata, in carl9170_upload_key()
488 if (keydata) in carl9170_upload_key()
489 memcpy(&key.key, keydata, keylen); in carl9170_upload_key()
474 carl9170_upload_key(struct ar9170 *ar, const u8 id, const u8 *mac, const u8 ktype, const u8 keyidx, const u8 *keydata, const int keylen) carl9170_upload_key() argument
/kernel/linux/linux-6.6/drivers/net/wireless/ath/carl9170/
H A Dmac.c471 const u8 ktype, const u8 keyidx, const u8 *keydata, in carl9170_upload_key()
484 if (keydata) in carl9170_upload_key()
485 memcpy(&key.key, keydata, keylen); in carl9170_upload_key()
470 carl9170_upload_key(struct ar9170 *ar, const u8 id, const u8 *mac, const u8 ktype, const u8 keyidx, const u8 *keydata, const int keylen) carl9170_upload_key() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/vcap/
H A Dvcap_api_kunit.c115 pr_debug("%s:%d: keydata[%02d]: 0x%08x\n", __func__, in test_cache_read()
156 pr_debug("%s:%d: keydata[%02d]: 0x%08x\n", __func__, in test_cache_write()
1333 static u32 keydata[32] = {}; in vcap_api_encode_rule_test() local
1346 .keystream = keydata, in vcap_api_encode_rule_test()
1572 static u32 keydata[32] = {}; in vcap_api_rule_insert_in_order_test() local
1585 .keystream = keydata, in vcap_api_rule_insert_in_order_test()
1610 static u32 keydata[32] = {}; in vcap_api_rule_insert_reverse_order_test() local
1623 .keystream = keydata, in vcap_api_rule_insert_reverse_order_test()
1673 static u32 keydata[32] = {}; in vcap_api_rule_remove_at_end_test() local
1686 .keystream = keydata, in vcap_api_rule_remove_at_end_test()
1745 static u32 keydata[32] = {}; vcap_api_rule_remove_in_middle_test() local
1820 static u32 keydata[32] = {}; vcap_api_rule_remove_in_front_test() local
[all...]
/third_party/node/deps/openssl/openssl/crypto/encode_decode/
H A Dencoder_pkey.c191 if (!evp_keymgmt_export(pk->keymgmt, pk->keydata, data->selection, in encoder_construct_pkey()
196 data->obj = pk->keydata; in encoder_construct_pkey()
/third_party/openssl/crypto/encode_decode/
H A Dencoder_pkey.c191 if (!evp_keymgmt_export(pk->keymgmt, pk->keydata, data->selection, in encoder_construct_pkey()
196 data->obj = pk->keydata; in encoder_construct_pkey()

Completed in 30 milliseconds

123