Searched refs:entropy (Results 26 - 50 of 102) sorted by relevance

12345

/external/openssl/crypto/rand/
H A Drand.h86 void (*add)(const void *buf, int num, double entropy);
105 void RAND_add(const void *buf,int num,double entropy);
H A Drand_lib.c154 void RAND_add(const void *buf, int num, double entropy) argument
158 meth->add(buf,num,entropy);
192 * entropy internally through RAND_poll().
196 int entropy, size_t min_len, size_t max_len)
240 double entropy)
242 RAND_SSLeay()->add(in, inlen, entropy);
195 drbg_get_entropy(DRBG_CTX *ctx, unsigned char **pout, int entropy, size_t min_len, size_t max_len) argument
239 drbg_rand_add(DRBG_CTX *ctx, const void *in, int inlen, double entropy) argument
/external/openssl/include/openssl/
H A Drand.h86 void (*add)(const void *buf, int num, double entropy);
105 void RAND_add(const void *buf,int num,double entropy);
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DMallocZoneSupport.h62 T* nextEntryInHardenedLinkedList(T** address, uintptr_t entropy) const;
/external/libcxx/src/
H A Drandom.cpp71 random_device::entropy() const _NOEXCEPT
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Drandom.c8 * This random number generator is used to provide additional entropy to the
60 static unsigned int entropy = 0; variable
132 if (entropy > MIN_COLLECT_ENTROPY && (count & 0x3ff) != 0) {
134 * No need to add more entropy at this point, so save CPU and
139 wpa_printf(MSG_EXCESSIVE, "Add randomness: count=%u entropy=%u",
140 count, entropy);
149 entropy++;
160 wpa_printf(MSG_MSGDUMP, "Get randomness: len=%u entropy=%u",
161 (unsigned int) len, entropy);
168 /* Mix in additional entropy extracte
[all...]
/external/wpa_supplicant_8/src/crypto/
H A Drandom.c8 * This random number generator is used to provide additional entropy to the
60 static unsigned int entropy = 0; variable
132 if (entropy > MIN_COLLECT_ENTROPY && (count & 0x3ff) != 0) {
134 * No need to add more entropy at this point, so save CPU and
139 wpa_printf(MSG_EXCESSIVE, "Add randomness: count=%u entropy=%u",
140 count, entropy);
149 entropy++;
160 wpa_printf(MSG_MSGDUMP, "Get randomness: len=%u entropy=%u",
161 (unsigned int) len, entropy);
168 /* Mix in additional entropy extracte
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Drandom.c8 * This random number generator is used to provide additional entropy to the
60 static unsigned int entropy = 0; variable
132 if (entropy > MIN_COLLECT_ENTROPY && (count & 0x3ff) != 0) {
134 * No need to add more entropy at this point, so save CPU and
139 wpa_printf(MSG_EXCESSIVE, "Add randomness: count=%u entropy=%u",
140 count, entropy);
149 entropy++;
160 wpa_printf(MSG_MSGDUMP, "Get randomness: len=%u entropy=%u",
161 (unsigned int) len, entropy);
168 /* Mix in additional entropy extracte
[all...]
/external/chromium_org/third_party/brotli/src/brotli/enc/
H A Dbit_cost.h41 const EntropyCode<kCodeLengthCodes>& entropy) {
42 return HuffmanTreeBitCost(&histogram.data_[0], &entropy.depth_[0]);
39 HuffmanTreeBitCost( const Histogram<kCodeLengthCodes>& histogram, const EntropyCode<kCodeLengthCodes>& entropy) argument
H A Dencode.cc214 const EntropyCode<kCodeLengthCodes>& entropy,
219 if (entropy.count_ > 1) {
220 WriteBits(entropy.depth_[ix], entropy.bits_[ix], storage_ix, storage);
363 const EntropyCodeCommand& entropy,
366 WriteBits(entropy.depth_[code], entropy.bits_[code], storage_ix, storage);
383 void EncodeCopyDistance(const Command& cmd, const EntropyCodeDistance& entropy, argument
388 WriteBits(entropy.depth_[code], entropy
210 StoreHuffmanTreeToBitMask( const uint8_t* huffman_tree, const uint8_t* huffman_tree_extra_bits, const int huffman_tree_size, const EntropyCode<kCodeLengthCodes>& entropy, int* storage_ix, uint8_t* storage) argument
362 EncodeCommand(const Command& cmd, const EntropyCodeCommand& entropy, int* storage_ix, uint8_t* storage) argument
620 EncodeBlockLength(const EntropyCodeBlockLength& entropy, int length, int* storage_ix, uint8_t* storage) argument
[all...]
/external/wpa_supplicant_8/hostapd/src/eap_common/
H A Deap_pax_common.c22 * @entropy: Exchanged entropy to seed the KDF (Z)
23 * @entropy_len: Length of the entropy in bytes
32 const u8 *entropy, size_t entropy_len,
51 addr[1] = entropy;
30 eap_pax_kdf(u8 mac_id, const u8 *key, size_t key_len, const char *identifier, const u8 *entropy, size_t entropy_len, size_t output_len, u8 *output) argument
H A Deap_pax_common.h81 const u8 *entropy, size_t entropy_len,
/external/wpa_supplicant_8/src/eap_common/
H A Deap_pax_common.c22 * @entropy: Exchanged entropy to seed the KDF (Z)
23 * @entropy_len: Length of the entropy in bytes
32 const u8 *entropy, size_t entropy_len,
51 addr[1] = entropy;
30 eap_pax_kdf(u8 mac_id, const u8 *key, size_t key_len, const char *identifier, const u8 *entropy, size_t entropy_len, size_t output_len, u8 *output) argument
H A Deap_pax_common.h81 const u8 *entropy, size_t entropy_len,
/external/wpa_supplicant_8/wpa_supplicant/src/eap_common/
H A Deap_pax_common.c22 * @entropy: Exchanged entropy to seed the KDF (Z)
23 * @entropy_len: Length of the entropy in bytes
32 const u8 *entropy, size_t entropy_len,
51 addr[1] = entropy;
30 eap_pax_kdf(u8 mac_id, const u8 *key, size_t key_len, const char *identifier, const u8 *entropy, size_t entropy_len, size_t output_len, u8 *output) argument
H A Deap_pax_common.h81 const u8 *entropy, size_t entropy_len,
/external/chromium_org/third_party/opus/src/celt/tests/
H A Dtest_unit_entropy.c57 double entropy; local
68 entropy=0;
85 entropy+=log(ft)*M_LOG2E;
92 entropy+=ftb;
106 "Encoded %0.2lf bits of entropy to %0.2lf bits (%0.3lf%% wasted).\n",
107 entropy,ldexp(nbits,-3),100*(nbits-ldexp(entropy,3))/nbits);
/external/libopus/celt/tests/
H A Dtest_unit_entropy.c57 double entropy; local
68 entropy=0;
85 entropy+=log(ft)*M_LOG2E;
92 entropy+=ftb;
106 "Encoded %0.2lf bits of entropy to %0.2lf bits (%0.3lf%% wasted).\n",
107 entropy,ldexp(nbits,-3),100*(nbits-ldexp(entropy,3))/nbits);
/external/jpeg/
H A Djdcoefct.c10 * The coefficient buffer lies between entropy decoding and inverse-DCT steps.
41 * and let the entropy decoder write into that workspace each time.
174 (*cinfo->entropy->decode_mcu_discard_coef) (cinfo);
179 if (! (*cinfo->entropy->decode_mcu) (cinfo, coef->MCU_buffer)) {
272 /* Note: entropy decoder expects buffer to be zeroed,
290 * cinfo->entropy->index->MCU_sample_size * iMCU_width_To_MCU_width);
301 cinfo->entropy->index->scan[cinfo->input_scan_number];
303 (*cinfo->entropy->configure_huffman_decoder) (cinfo,
334 if (! (*cinfo->entropy->decode_mcu) (cinfo, coef->MCU_buffer)) {
362 huffman_index *index = cinfo->entropy
[all...]
H A Djdapistd.c242 (*cinfo->entropy->start_pass) (cinfo);
254 cinfo->entropy->index = index;
292 (*cinfo->entropy->configure_huffman_decoder) (cinfo, offset_data);
/external/qemu/distrib/jpeg-6b/
H A Djdcoefct.c10 * The coefficient buffer lies between entropy decoding and inverse-DCT steps.
41 * and let the entropy decoder write into that workspace each time.
174 (*cinfo->entropy->decode_mcu_discard_coef) (cinfo);
179 if (! (*cinfo->entropy->decode_mcu) (cinfo, coef->MCU_buffer)) {
272 /* Note: entropy decoder expects buffer to be zeroed,
290 * cinfo->entropy->index->MCU_sample_size * iMCU_width_To_MCU_width);
301 cinfo->entropy->index->scan[cinfo->input_scan_number];
303 (*cinfo->entropy->configure_huffman_decoder) (cinfo,
334 if (! (*cinfo->entropy->decode_mcu) (cinfo, coef->MCU_buffer)) {
362 huffman_index *index = cinfo->entropy
[all...]
H A Djdapistd.c242 (*cinfo->entropy->start_pass) (cinfo);
254 cinfo->entropy->index = index;
292 (*cinfo->entropy->configure_huffman_decoder) (cinfo, offset_data);
/external/chromium_org/components/rappor/
H A Dbyte_vector_utils_unittest.cc80 const char entropy[] = local
89 std::string entropy_input = HexToString(entropy) + HexToString(nonce);
/external/chromium_org/net/quic/test_tools/
H A Dquic_connection_peer.cc114 return last_entropy_copy.entropy;
/external/chromium_org/third_party/libjpeg_turbo/
H A Djcmaster.c453 (*cinfo->entropy->start_pass) (cinfo, cinfo->optimize_coding);
472 (*cinfo->entropy->start_pass) (cinfo, TRUE);
491 (*cinfo->entropy->start_pass) (cinfo, FALSE);
542 /* The entropy coder always needs an end-of-pass call,
545 (*cinfo->entropy->finish_pass) (cinfo);

Completed in 545 milliseconds

12345