The ARC2 functions.
An ARC2 parameters object, key object, and operating context are required to
perform the ARC2 algorithm. An RNG context is required if key generation will
be performed.
The following constants are defined in huarc2.h:
The various modes of operation are indicated by:
-
SB_ARC2_ECB
-
SB_ARC2_CBC
-
SB_ARC2_CFB64
-
SB_ARC2_OFB64
The block size constants are:
-
SB_ARC2_BLOCK_SIZE
-
SB_ARC2_IV_SIZE
The supported key size constants are:
-
SB_ARC2_MAX_KEY_SIZE
-
SB_ARC2_MAX_DEFAULT_EFFECTIVE_KEY_BITS
-
SB_ARC2_MAX_EFFECTIVE_KEY_BITS