Home
last modified time | relevance | path

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

12

/third_party/openssl/test/
Digetest.c25 static unsigned char rkey[16]; variable
226 AES_set_encrypt_key(rkey, 8 * sizeof(rkey), &key); in test_ige_enc_dec()
229 AES_set_decrypt_key(rkey, 8 * sizeof(rkey), &key); in test_ige_enc_dec()
243 AES_set_encrypt_key(rkey, 8 * sizeof(rkey), &key); in test_ige_enc_chaining()
251 AES_set_decrypt_key(rkey, 8 * sizeof(rkey), &key); in test_ige_enc_chaining()
265 AES_set_encrypt_key(rkey, 8 * sizeof(rkey), &key); in test_ige_dec_chaining()
273 AES_set_decrypt_key(rkey, 8 * sizeof(rkey), &key); in test_ige_dec_chaining()
295 AES_set_encrypt_key(rkey, 8 * sizeof(rkey), &key); in test_ige_garble_forwards()
302 AES_set_decrypt_key(rkey, 8 * sizeof(rkey), &key); in test_ige_garble_forwards()
330 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/eudev/src/shared/
Dhashmap.h204 void *hashmap_get2(Hashmap *h, const void *key, void **rkey);
205 static inline void *ordered_hashmap_get2(OrderedHashmap *h, const void *key, void **rkey) { in ordered_hashmap_get2() argument
206 return hashmap_get2(PLAIN_HASHMAP(h), key, rkey); in ordered_hashmap_get2()
225 void *hashmap_remove2(Hashmap *h, const void *key, void **rkey);
226 static inline void *ordered_hashmap_remove2(OrderedHashmap *h, const void *key, void **rkey) { in ordered_hashmap_remove2() argument
227 return hashmap_remove2(PLAIN_HASHMAP(h), key, rkey); in ordered_hashmap_remove2()
Dhashmap.c1391 void *hashmap_remove2(Hashmap *h, const void *key, void **rkey) { in hashmap_remove2() argument
1397 if (rkey) in hashmap_remove2()
1398 *rkey = NULL; in hashmap_remove2()
1405 if (rkey) in hashmap_remove2()
1406 *rkey = NULL; in hashmap_remove2()
1412 if (rkey) in hashmap_remove2()
1413 *rkey = (void*) e->b.key; in hashmap_remove2()
/third_party/libnl/lib/route/
Droute_obj.c319 } __attribute__((packed)) *rkey; in route_keygen() local
327 rkey_sz = sizeof(*rkey); in route_keygen()
330 rkey = calloc(1, rkey_sz); in route_keygen()
331 if (!rkey) { in route_keygen()
336 rkey->rt_family = route->rt_family; in route_keygen()
337 rkey->rt_tos = route->rt_tos; in route_keygen()
338 rkey->rt_table = route->rt_table; in route_keygen()
339 rkey->rt_prio = route->rt_prio; in route_keygen()
341 memcpy(rkey->rt_addr, nl_addr_get_binary_addr(addr), in route_keygen()
344 *hashkey = nl_hash(rkey, rkey_sz, 0) % table_sz; in route_keygen()
[all …]
/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/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/demos/certs/
Docsprun.sh14 -rsigner resp.pem -rkey respkey.pem -rother intca.pem $*
/third_party/openssl/apps/
Docsp.c96 EVP_PKEY *rkey, const EVP_MD *md,
232 EVP_PKEY *key = NULL, *rkey = NULL; in ocsp_main() local
572 rkey = load_key(rkeyfile, FORMAT_PEM, 0, NULL, NULL, in ocsp_main()
574 if (rkey == NULL) in ocsp_main()
579 && (rkey == NULL || rsigner == NULL || rca_cert == NULL)) { in ocsp_main()
683 make_ocsp_response(bio_err, &resp, req, rdb, rca_cert, rsigner, rkey, in ocsp_main()
810 EVP_PKEY_free(rkey); in ocsp_main()
1135 EVP_PKEY *rkey, const EVP_MD *rmd, in make_ocsp_response() argument
1232 if ( mctx == NULL || !EVP_DigestSignInit(mctx, &pkctx, rmd, NULL, rkey)) { in make_ocsp_response()
/third_party/glib/glib/tests/
Dhash.c890 const RefCountedKey *rkey = key; in hash_func() local
892 return g_str_hash (rkey->key); in hash_func()
928 RefCountedKey *rkey; in key_new() local
930 rkey = g_new (RefCountedKey, 1); in key_new()
932 rkey->ref_count = 1; in key_new()
933 rkey->key = key; in key_new()
935 return rkey; in key_new()
/third_party/openssl/engines/
De_capi.c633 RSA *rkey = NULL; in capi_get_pkey() local
673 rkey = RSA_new_method(eng); in capi_get_pkey()
674 if (!rkey) in capi_get_pkey()
686 RSA_set0_key(rkey, n, e, NULL); in capi_get_pkey()
695 RSA_set_ex_data(rkey, rsa_capi_idx, key); in capi_get_pkey()
700 EVP_PKEY_assign_RSA(ret, rkey); in capi_get_pkey()
701 rkey = NULL; in capi_get_pkey()
769 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/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_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/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/iowow/src/kv/
Diwkv.c4287 IWKV_val rkey = {.data = nbuf, .size = okeysz}; in iwkv_cursor_is_matched_key() local
4288 memcpy(rkey.data, okey, MIN(rkey.size, sizeof(nbuf))); in iwkv_cursor_is_matched_key()
4289 rc = _unpack_effective_key(lx->db, &rkey, true); in iwkv_cursor_is_matched_key()
4292 *ocompound = rkey.compound; in iwkv_cursor_is_matched_key()
4294 if (rkey.size != key->size) { in iwkv_cursor_is_matched_key()
4299 *ores = !memcmp(rkey.data, key->data, key->size); in iwkv_cursor_is_matched_key()
4301 *ores = !memcmp(okey + (okeysz - rkey.size), key->data, key->size); in iwkv_cursor_is_matched_key()
4345 IWKV_val rkey = {.data = nbuf, .size = okeysz}; in iwkv_cursor_copy_key() local
4346 memcpy(rkey.data, okey, MIN(rkey.size, sizeof(nbuf))); in iwkv_cursor_copy_key()
4347 rc = _unpack_effective_key(lx->db, &rkey, true); in iwkv_cursor_copy_key()
[all …]
/third_party/node/deps/icu-small/source/common/
Dserv.h825 virtual UBool unregister(URegistryKey rkey, UErrorCode& status);
/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);
/third_party/skia/third_party/externals/icu/source/common/
Dserv.h825 virtual UBool unregister(URegistryKey rkey, UErrorCode& status);

12