pub fn chunks_count(len: usize) -> (usize, usize) {
    let q = (len + BLOCK_SIZE - 1) / BLOCK_SIZE;
    let r = q * BLOCK_SIZE - len;
    (q, r)
}
// Returns a pair (chunks_count, fill_len), where chunks_count is the number of
// chunks resulting from dividing a message of length len into chunks of size
// BLOCK_SIZE. This count explicitly includes the last chunk, which may
// be shorter than BLOCK_SIZE. The number fill_len is the difference between
// chunks_count * BLOCK_SIZE and len.
Returns a pair (chunks_count, fill_len), where chunks_count is the number of
chunks resulting from dividing a message of length len into chunks of size
BLOCK_SIZE. This count explicitly includes the last chunk, which may
be shorter than BLOCK_SIZE. The number fill_len is the difference between
chunks_count * BLOCK_SIZE and len.
Returns a pair ( chunks_count fill_len ) where chunks_count is the number of chunks resulting from dividing a message of length len into chunks of size BLOCK_SIZE . This count explicitly includes the last chunk which may be shorter than BLOCK_SIZE . The number fill_len is the difference between chunks_count * BLOCK_SIZE and len .
pub fn chunks_count(len: usize) -> (usize, usize) {
    let q = (len + BLOCK_SIZE - 1) / BLOCK_SIZE;
    let r = q * BLOCK_SIZE - len;
    (q, r)
}
pub fn chunks_count ( len : usize ) -> ( usize , usize ) { let q = ( len + BLOCK_SIZE - 1 ) / BLOCK_SIZE ; let r = q * BLOCK_SIZE - len ; ( q , r ) }
Returns a pair (chunks_count, fill_len), where chunks_count is the number of
chunks resulting from dividing a message of length len into chunks of size
BLOCK_SIZE.
Returns a pair ( chunks_count fill_len ) where chunks_count is the number of chunks resulting from dividing a message of length len into chunks of size BLOCK_SIZE .
len
usize
len
usize