Cryptographic Token Interface Standard |
PKCS#11 |
BATON-COUNTER, denoted CKM_BATON_COUNTER, is a mechanism for single- and multiple-part encryption and decryption with BATON in counter mode.
It has a parameter, a 24-byte initialization vector. During an encryption operation, this IV is set to some value generated by the token"in other words, the application cannot specify a particular IV when encrypting. It can, of course, specify a particular IV when decrypting.
Constraints on key types and the length of data are summarized in the following table:
Table 95, BATON-COUNTER: Data and Length
Function | Key type | |||
C_Encrypt | BATON | |||
C_Decrypt | BATON |