/third_party/nghttp2/src/ |
D | shrpx_config_test.cc | 186 CU_ASSERT(std::equal(std::begin(key->data.enc_key), in test_shrpx_config_read_tls_ticket_key_file() 187 std::begin(key->data.enc_key) + 16, "2..............3")); in test_shrpx_config_read_tls_ticket_key_file() 196 CU_ASSERT(std::equal(std::begin(key->data.enc_key), in test_shrpx_config_read_tls_ticket_key_file() 197 std::begin(key->data.enc_key) + 16, "8..............9")); in test_shrpx_config_read_tls_ticket_key_file() 231 CU_ASSERT(std::equal(std::begin(key->data.enc_key), in test_shrpx_config_read_tls_ticket_key_file_aes_256() 232 std::end(key->data.enc_key), in test_shrpx_config_read_tls_ticket_key_file_aes_256() 241 CU_ASSERT(std::equal(std::begin(key->data.enc_key), in test_shrpx_config_read_tls_ticket_key_file_aes_256() 242 std::end(key->data.enc_key), in test_shrpx_config_read_tls_ticket_key_file_aes_256()
|
D | shrpx_worker_process.cc | 188 ticket_key.data.enc_key.size()); in generate_ticket_key() 357 std::copy_n(p, enc_keylen, std::begin(key.data.enc_key)); in memcached_get_ticket_key_cb()
|
D | shrpx_tls.cc | 509 key.data.enc_key.data(), iv); in ticket_key_cb() 540 EVP_DecryptInit_ex(ctx, key.cipher, nullptr, key.data.enc_key.data(), iv); in ticket_key_cb()
|
D | shrpx_config.h | 537 std::array<uint8_t, 32> enc_key; member
|
D | shrpx_config.cc | 222 std::copy_n(p, enc_keylen, std::begin(key.data.enc_key)); in read_tls_ticket_key_file()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
D | dpp_backup.c | 267 struct wpabuf *pwri = NULL, *enc_key = NULL, *key_der_alg = NULL, in dpp_build_pw_recipient_info() local 295 enc_key = wpabuf_alloc(hash_len + AES_BLOCK_SIZE); in dpp_build_pw_recipient_info() 296 if (!enc_key || in dpp_build_pw_recipient_info() 299 wpabuf_put(enc_key, hash_len + AES_BLOCK_SIZE)) < 0) in dpp_build_pw_recipient_info() 301 wpa_hexdump_buf(MSG_DEBUG, "DPP: encryptedKey", enc_key); in dpp_build_pw_recipient_info() 319 wpabuf_len(key_enc_alg) + wpabuf_len(enc_key)); in dpp_build_pw_recipient_info() 335 asn1_put_octet_string(pwri, enc_key); in dpp_build_pw_recipient_info() 340 wpabuf_free(enc_key); in dpp_build_pw_recipient_info() 527 const u8 *enc_key; member 721 data->enc_key = hdr.payload; in dpp_parse_recipient_infos() [all …]
|
/third_party/mindspore/mindspore/train/ |
D | serialization.py | 147 def _exec_save(ckpt_file_name, data_list, enc_key=None, enc_mode="AES-GCM"): argument 154 if enc_key is not None: 175 if enc_key is None: 182 … cipher_data += _encrypt(plain_data[0: max_block_size], max_block_size, enc_key, 183 len(enc_key), enc_mode) 186 if enc_key is not None: 188 … cipher_data += _encrypt(plain_data, len(plain_data), enc_key, len(enc_key), enc_mode) 199 async_save=False, append_dict=None, enc_key=None, enc_mode="AES-GCM"): argument 234 enc_key = Validator.check_isinstance('enc_key', enc_key, (type(None), bytes)) 285 …thr = Thread(target=_exec_save, args=(ckpt_file_name, data_list, enc_key, enc_mode), name="asyn_sa… [all …]
|
/third_party/mindspore/mindspore/train/callback/ |
D | _checkpoint.py | 146 enc_key=None, argument 184 self._enc_key = Validator.check_isinstance('enc_key', enc_key, (type(None), bytes)) 223 def enc_key(self): member in CheckpointConfig 437 self._append_dict, self._config.enc_key, self._config.enc_mode)
|
/third_party/mindspore/tests/ut/python/utils/ |
D | test_serialize.py | 342 save_checkpoint(train_network, ckpt_file_name=ckpt_path, enc_key=key, enc_mode=mode) 346 save_checkpoint(train_network, ckpt_file_name=ckpt_path, enc_key=key, enc_mode=mode) 393 …t(net, input_data, file_name="./me_cipher_binary_export.mindir", file_format="MINDIR", enc_key=key)
|
D | test_callback.py | 258 enc_key=secrets.token_bytes(16),
|
/third_party/openssl/crypto/pkcs7/ |
D | pk7_doit.c | 127 ASN1_STRING_set0(ri->enc_key, ek, eklen); in pkcs7_encode_rinfo() 163 ri->enc_key->data, ri->enc_key->length) <= 0) in pkcs7_decrypt_rinfo() 174 ri->enc_key->data, ri->enc_key->length) <= 0 in pkcs7_decrypt_rinfo()
|
D | pk7_asn1.c | 140 ASN1_SIMPLE(PKCS7_RECIP_INFO, enc_key, ASN1_OCTET_STRING)
|
/third_party/openssl/test/ |
D | bad_dtls_test.c | 59 #define enc_key (key_block + 56) macro 325 EVP_CipherInit_ex(enc_ctx, EVP_aes_128_cbc(), NULL, enc_key, iv, 1); in send_record()
|
/third_party/openssl/include/openssl/ |
D | pkcs7.h | 55 ASN1_OCTET_STRING *enc_key; member
|
D | evp.h | 986 const unsigned char *enc_key, int enc_key_len, 988 int EVP_PKEY_encrypt_old(unsigned char *enc_key,
|
/third_party/python/Doc/library/ |
D | hashlib.rst | 650 >>> enc_key = blake2s(key=orig_key, person=b'kEncrypt').digest() 652 >>> print(b64encode(enc_key).decode('utf-8'))
|