belt-ctr 0.2.0

CTR block mode of operation specified by the BelT standard
Documentation
1
2
3
4
5
6
7
//! Test vectors from the BelT standard (tables A.15 and A.16):
//! https://apmi.bsu.by/assets/files/std/belt-spec371.pdf
use belt_ctr::{BeltCtr, BeltCtrCore};

cipher::stream_cipher_test!(belt_ctr_core, "belt-ctr", BeltCtr);
cipher::stream_cipher_seek_test!(belt_ctr_seek, BeltCtr);
cipher::iv_state_test!(belt_ctr_iv_state, BeltCtrCore, apply_ks);