fn crypto_data_size(in_size: usize) -> usize {
    let nblock = if in_size == 0 {
        1
    } else {
        (in_size - 1) / BLOCK_SIZE + 1
    };

    let tag_size = nblock * Crypto::tag_len();

    in_size + tag_size
}
// calc crypto in_size data out size
calc crypto in_size data out size
calc crypto in_size data out size
fn crypto_data_size(in_size: usize) -> usize {
    let nblock = if in_size == 0 {
        1
    } else {
        (in_size - 1) / BLOCK_SIZE + 1
    };
    let tag_size = nblock * Crypto::tag_len();
    in_size + tag_size
}
fn crypto_data_size ( in_size : usize ) -> usize { let nblock = if in_size == 0 { 1 } else { ( in_size - 1 ) / BLOCK_SIZE + 1 } ; let tag_size = nblock * Crypto :: tag_len ( ) ; in_size + tag_size }
calc crypto in_size data out size
calc crypto in_size data out size
in_size
usize
in_size
usize