Camellia A 128-Bit Block Cipher Suitable for Multiple Platforms

Specifications for Camellia

PKCS#11

Camellia is new for PKCS #11 v2.20 amendment 3

  • #define CKK_CAMELLIA 0x00000025

Camellia is new for PKCS #11 v2.20 amendment 3

  • #define CKM_CAMELLIA_KEY_GEN 0x00000550
  • #define CKM_CAMELLIA_ECB 0x00000551
  • #define CKM_CAMELLIA_CBC 0x00000552
  • #define CKM_CAMELLIA_MAC 0x00000553
  • #define CKM_CAMELLIA_MAC_GENERAL 0x00000554
  • #define CKM_CAMELLIA_CBC_PAD 0x00000555
  • #define CKM_CAMELLIA_ECB_ENCRYPT_DATA 0x00000556
  • #define CKM_CAMELLIA_CBC_ENCRYPT_DATA 0x00000557
  • #define CKM_CAMELLIA_CTR 0x00000558

CK_CAMELLIA_CTR_PARAMS is new for PKCS #11 v2.20 amendment 3

  • typedef struct CK_CAMELLIA_CTR_PARAMS {
    CK_ULONG ulCounterBits;
    CK_BYTE cb[16];
    } CK_CAMELLIA_CTR_PARAMS;
  • typedef CK_CAMELLIA_CTR_PARAMS CK_PTR CK_CAMELLIA_CTR_PARAMS_PTR;

CK_CAMELLIA_CBC_ENCRYPT_DATA_PARAMS is new for PKCS #11 v2.20 amendment 3

  • typedef struct CK_CAMELLIA_CBC_ENCRYPT_DATA_PARAMS {
    CK_BYTE iv[16];
    CK_BYTE_PTR pData;
    CK_ULONG length;
    } CK_CAMELLIA_CBC_ENCRYPT_DATA_PARAMS;
  • typedef CK_CAMELLIA_CBC_ENCRYPT_DATA_PARAMS CK_PTR CK_CAMELLIA_CBC_ENCRYPT_DATA_PARAMS_PTR;

Page Top