I also need to test CCM and GCM mode and realized that I cannot use the CLI for 
that. So, I started writing a program to do the tests (wanted to avoid this). 
The XTS works with the data from the one file, but I still do not understand 
how to make use of the "data unit sequence number" - anybody!? Also the KAT for 
the CCM has for example the following information:

[Alen = 0, Plen = 0, Nlen = 13, Tlen = 4]
Key = 4bb3c4a4f893ad8c9bdc833c325d62b3
Count = 30
Nonce = 5a8aa485c316e9403aff859fbb
Adata = 00
CT = 90156f3f
Result = Pass
Payload = 00

Can anybody please explain to me how I must use the parameters. For instance 
what is the plaintext?

Reagrds,
LJB

Reply via email to