Home
last modified time | relevance | path

Searched refs:rkey (Results 1 – 25 of 31) sorted by relevance

12

/third_party/openssl/test/
Digetest.c30 static unsigned char rkey[16]; variable
231 AES_set_encrypt_key(rkey, 8 * sizeof(rkey), &key); in test_ige_enc_dec()
234 AES_set_decrypt_key(rkey, 8 * sizeof(rkey), &key); in test_ige_enc_dec()
248 AES_set_encrypt_key(rkey, 8 * sizeof(rkey), &key); in test_ige_enc_chaining()
256 AES_set_decrypt_key(rkey, 8 * sizeof(rkey), &key); in test_ige_enc_chaining()
270 AES_set_encrypt_key(rkey, 8 * sizeof(rkey), &key); in test_ige_dec_chaining()
278 AES_set_decrypt_key(rkey, 8 * sizeof(rkey), &key); in test_ige_dec_chaining()
300 AES_set_encrypt_key(rkey, 8 * sizeof(rkey), &key); in test_ige_garble_forwards()
307 AES_set_decrypt_key(rkey, 8 * sizeof(rkey), &key); in test_ige_garble_forwards()
335 AES_set_encrypt_key(rkey, 8 * sizeof(rkey), &key); in test_bi_ige_enc_dec()
[all …]
/third_party/openssl/demos/smime/
Dsmdec.c19 EVP_PKEY *rkey = NULL; in main() local
36 rkey = PEM_read_bio_PrivateKey(tbio, NULL, 0, NULL); in main()
38 if (!rcert || !rkey) in main()
59 if (!PKCS7_decrypt(p7, rkey, rcert, out, 0)) in main()
71 EVP_PKEY_free(rkey); in main()
/third_party/openssl/demos/cms/
Dcms_dec.c19 EVP_PKEY *rkey = NULL; in main() local
36 rkey = PEM_read_bio_PrivateKey(tbio, NULL, 0, NULL); in main()
38 if (!rcert || !rkey) in main()
59 if (!CMS_decrypt(cms, rkey, rcert, NULL, out, 0)) in main()
73 EVP_PKEY_free(rkey); in main()
Dcms_ddec.c22 EVP_PKEY *rkey = NULL; in main() local
39 rkey = PEM_read_bio_PrivateKey(tbio, NULL, 0, NULL); in main()
41 if (!rcert || !rkey) in main()
68 if (!CMS_decrypt(cms, rkey, rcert, dcont, out, 0)) in main()
82 EVP_PKEY_free(rkey); in main()
/third_party/python/Lib/
Dhashlib.py240 rkey = int.from_bytes(prev, 'big')
244 rkey ^= from_bytes(prev, 'big')
246 dkey += rkey.to_bytes(inner.digest_size, 'big')
/third_party/openssl/crypto/cmp/
Dcmp_msg.c277 EVP_PKEY *rkey = OSSL_CMP_CTX_get0_newPkey(ctx, 0); in OSSL_CMP_CTX_setup_CRM() local
289 if (rkey == NULL && ctx->p10CSR != NULL) in OSSL_CMP_CTX_setup_CRM()
290 rkey = X509_REQ_get0_pubkey(ctx->p10CSR); in OSSL_CMP_CTX_setup_CRM()
291 if (rkey == NULL && refcert != NULL) in OSSL_CMP_CTX_setup_CRM()
292 rkey = X509_get0_pubkey(refcert); in OSSL_CMP_CTX_setup_CRM()
293 if (rkey == NULL) in OSSL_CMP_CTX_setup_CRM()
294 rkey = ctx->pkey; /* default is independent of ctx->oldCert */ in OSSL_CMP_CTX_setup_CRM()
295 if (rkey == NULL) { in OSSL_CMP_CTX_setup_CRM()
313 || !OSSL_CRMF_CERTTEMPLATE_fill(OSSL_CRMF_MSG_get0_tmpl(crm), rkey, in OSSL_CMP_CTX_setup_CRM()
Dcmp_client.c533 EVP_PKEY *rkey = OSSL_CMP_CTX_get0_newPkey(ctx /* may be NULL */, 0); in cert_response() local
596 if (rkey != NULL in cert_response()
598 && !(X509_check_private_key(ctx->newCert, rkey))) { in cert_response()
/third_party/ffmpeg/libavutil/tests/
Daes.c34 static const uint8_t rkey[2][16] = { in main() local
62 av_aes_init(b, rkey[i], 128, 1); in main()
/third_party/python/Modules/
D_abc.c854 PyObject *rkey = PyWeakref_GetObject(copy[i]); in subclasscheck_check_registry() local
855 if (rkey == NULL) { in subclasscheck_check_registry()
860 if (rkey == Py_None) { in subclasscheck_check_registry()
863 Py_INCREF(rkey); in subclasscheck_check_registry()
864 int r = PyObject_IsSubclass(subclass, rkey); in subclasscheck_check_registry()
865 Py_DECREF(rkey); in subclasscheck_check_registry()
/third_party/openssl/apps/
Docsp.c71 EVP_PKEY *rkey, const EVP_MD *md,
221 EVP_PKEY *key = NULL, *rkey = NULL; in ocsp_main() local
607 rkey = load_key(rkeyfile, FORMAT_UNDEF, 0, passin, NULL, in ocsp_main()
609 if (rkey == NULL) in ocsp_main()
614 && (rkey == NULL || rsigner == NULL || rca_cert == NULL)) { in ocsp_main()
724 make_ocsp_response(bio_err, &resp, req, rdb, rca_cert, rsigner, rkey, in ocsp_main()
854 EVP_PKEY_free(rkey); in ocsp_main()
1028 EVP_PKEY *rkey, const EVP_MD *rmd, in make_ocsp_response() argument
1140 if ( mctx == NULL || !EVP_DigestSignInit(mctx, &pkctx, rmd, NULL, rkey)) { in make_ocsp_response()
/third_party/openssl/demos/certs/
Docsprun.sh14 -rsigner resp.pem -rkey respkey.pem -rother intca.pem $*
/third_party/openssl/engines/
De_capi.c646 RSA *rkey = NULL; in capi_get_pkey() local
686 rkey = RSA_new_method(eng); in capi_get_pkey()
687 if (!rkey) in capi_get_pkey()
699 RSA_set0_key(rkey, n, e, NULL); in capi_get_pkey()
708 RSA_set_ex_data(rkey, rsa_capi_idx, key); in capi_get_pkey()
713 EVP_PKEY_assign_RSA(ret, rkey); in capi_get_pkey()
714 rkey = NULL; in capi_get_pkey()
782 RSA_free(rkey); in capi_get_pkey()
/third_party/node/lib/
Durl.js715 const rkey = rkeys[rk];
716 if (rkey !== 'protocol')
717 result[rkey] = relative[rkey];
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver_ndis.c906 NDIS_802_11_REMOVE_KEY rkey; in wpa_driver_ndis_remove_key() local
910 os_memset(&rkey, 0, sizeof(rkey)); in wpa_driver_ndis_remove_key()
912 rkey.Length = sizeof(rkey); in wpa_driver_ndis_remove_key()
913 rkey.KeyIndex = key_idx; in wpa_driver_ndis_remove_key()
915 rkey.KeyIndex |= 1 << 30; in wpa_driver_ndis_remove_key()
916 os_memcpy(rkey.BSSID, bssid, ETH_ALEN); in wpa_driver_ndis_remove_key()
918 res = ndis_set_oid(drv, OID_802_11_REMOVE_KEY, (char *) &rkey, in wpa_driver_ndis_remove_key()
919 sizeof(rkey)); in wpa_driver_ndis_remove_key()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Ddriver_ndis.c906 NDIS_802_11_REMOVE_KEY rkey; in wpa_driver_ndis_remove_key() local
910 os_memset(&rkey, 0, sizeof(rkey)); in wpa_driver_ndis_remove_key()
912 rkey.Length = sizeof(rkey); in wpa_driver_ndis_remove_key()
913 rkey.KeyIndex = key_idx; in wpa_driver_ndis_remove_key()
915 rkey.KeyIndex |= 1 << 30; in wpa_driver_ndis_remove_key()
916 os_memcpy(rkey.BSSID, bssid, ETH_ALEN); in wpa_driver_ndis_remove_key()
918 res = ndis_set_oid(drv, OID_802_11_REMOVE_KEY, (char *) &rkey, in wpa_driver_ndis_remove_key()
919 sizeof(rkey)); in wpa_driver_ndis_remove_key()
/third_party/iowow/src/kv/
Diwkv.c3892 IWKV_val rkey = { .data = nbuf, .size = okeysz }; in iwkv_cursor_is_matched_key() local
3893 memcpy(rkey.data, okey, MIN(rkey.size, sizeof(nbuf))); in iwkv_cursor_is_matched_key()
3894 rc = _unpack_effective_key(lx->db, &rkey, true); in iwkv_cursor_is_matched_key()
3897 *ocompound = rkey.compound; in iwkv_cursor_is_matched_key()
3899 if (rkey.size != key->size) { in iwkv_cursor_is_matched_key()
3904 *ores = !memcmp(rkey.data, key->data, key->size); in iwkv_cursor_is_matched_key()
3906 *ores = !memcmp(okey + (okeysz - rkey.size), key->data, key->size); in iwkv_cursor_is_matched_key()
3950 IWKV_val rkey = { .data = nbuf, .size = okeysz }; in iwkv_cursor_copy_key() local
3951 memcpy(rkey.data, okey, MIN(rkey.size, sizeof(nbuf))); in iwkv_cursor_copy_key()
3952 rc = _unpack_effective_key(lx->db, &rkey, true); in iwkv_cursor_copy_key()
[all …]
/third_party/python/Tools/i18n/
Dpygettext.py477 for rkey in rkeys:
478 rentries = reverse[rkey]
/third_party/ffmpeg/libavutil/
Dopt.h525 char **rkey, char **rval);
Dopt.c1516 static int get_key(const char **ropts, const char *delim, char **rkey) in get_key() argument
1529 if (!(*rkey = av_malloc(key_end - key_start + 1))) in get_key()
1531 memcpy(*rkey, key_start, key_end - key_start); in get_key()
1532 (*rkey)[key_end - key_start] = 0; in get_key()
1540 char **rkey, char **rval) in av_opt_get_key_value() argument
1554 *rkey = key; in av_opt_get_key_value()
/third_party/icu/icu4c/source/common/
Dserv.h825 virtual UBool unregister(URegistryKey rkey, UErrorCode& status);
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dserv.h825 virtual UBool unregister(URegistryKey rkey, UErrorCode& status);
Dserv.cpp878 ICUService::unregister(URegistryKey rkey, UErrorCode& status) in unregister() argument
880 ICUServiceFactory *factory = (ICUServiceFactory*)rkey; in unregister()
/third_party/node/deps/icu-small/source/common/
Dserv.h825 virtual UBool unregister(URegistryKey rkey, UErrorCode& status);
Dserv.cpp867 ICUService::unregister(URegistryKey rkey, UErrorCode& status) in unregister() argument
869 ICUServiceFactory *factory = (ICUServiceFactory*)rkey; in unregister()
/third_party/skia/third_party/externals/icu/source/common/
Dserv.h825 virtual UBool unregister(URegistryKey rkey, UErrorCode& status);

12