Home
last modified time | relevance | path

Searched refs:max_input_len (Results 1 – 9 of 9) sorted by relevance

/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/base64-0.13.1/src/write/
H A Dencoder.rs271 let mut max_input_len = MAX_INPUT_LEN; in write() localVariable
303 max_input_len = MAX_INPUT_LEN - MIN_ENCODE_CHUNK_SIZE; in write()
327 MAX_INPUT_LEN == max_input_len in write()
329 || MAX_INPUT_LEN == max_input_len + MIN_ENCODE_CHUNK_SIZE in write()
334 let input_chunks_to_encode_len = cmp::min(input_complete_chunks_len, max_input_len); in write()
335 debug_assert_eq!(0, max_input_len % MIN_ENCODE_CHUNK_SIZE); in write()
H A Dencoder_tests.rs467 fn do_encode_random_config_matches_normal_encode(max_input_len: usize) { in do_encode_random_config_matches_normal_encode()
493 cmp::min(rng.gen_range(0, max_input_len), orig_len - bytes_consumed); in do_encode_random_config_matches_normal_encode()
/aosp_15_r20/external/rust/android-crates-io/crates/base64/src/write/
Dencoder.rs299 let mut max_input_len = MAX_INPUT_LEN; in write() localVariable
330 max_input_len = MAX_INPUT_LEN - MIN_ENCODE_CHUNK_SIZE; in write()
354 MAX_INPUT_LEN == max_input_len in write()
356 || MAX_INPUT_LEN == max_input_len + MIN_ENCODE_CHUNK_SIZE in write()
361 let input_chunks_to_encode_len = cmp::min(input_complete_chunks_len, max_input_len); in write()
362 debug_assert_eq!(0, max_input_len % MIN_ENCODE_CHUNK_SIZE); in write()
Dencoder_tests.rs453 fn do_encode_random_config_matches_normal_encode(max_input_len: usize) { in do_encode_random_config_matches_normal_encode()
479 cmp::min(rng.gen_range(0..max_input_len), orig_len - bytes_consumed); in do_encode_random_config_matches_normal_encode()
/aosp_15_r20/external/rust/android-crates-io/crates/ring/src/aead/
Daes_gcm.rs30 max_input_len: AES_GCM_MAX_INPUT_LEN,
40 max_input_len: AES_GCM_MAX_INPUT_LEN,
255 const AES_GCM_MAX_INPUT_LEN: u64 = super::max_input_len(BLOCK_LEN, 2);
271 super::AES_128_GCM.max_input_len * 8, in max_input_len_test()
275 super::AES_256_GCM.max_input_len * 8, in max_input_len_test()
Dchacha20_poly1305.rs33 max_input_len: super::max_input_len(64, 1),
269 assert_eq!(super::CHACHA20_POLY1305.max_input_len, 274_877_906_880u64); in max_input_len_test()
Dless_safe_key.rs205 if polyfill::u64_from_usize(in_out_len) > alg.max_input_len { in check_per_nonce_max_bytes()
/aosp_15_r20/external/rust/android-crates-io/crates/ring/src/
Daead.rs151 max_input_len: u64, field
154 const fn max_input_len(block_len: usize, overhead_blocks_per_nonce: usize) -> u64 { in max_input_len() function
/aosp_15_r20/system/keymaster/legacy_support/
H A Dkeymaster1_engine.cpp326 size_t max_input_len = (ec_group_size_bits(ec_key) + 7) / 8; in ecdsa_sign() local
327 if (digest_len > max_input_len) digest_len = max_input_len; in ecdsa_sign()