Print this page
4746 remove EXPORT_SRC leftovers

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/crypto/io/aes.c
          +++ new/usr/src/uts/common/crypto/io/aes.c
↓ open down ↓ 49 lines elided ↑ open up ↑
  50   50          "AES Kernel SW Provider"
  51   51  };
  52   52  
  53   53  static struct modlinkage modlinkage = {
  54   54          MODREV_1,
  55   55          (void *)&modlcrypto,
  56   56          NULL
  57   57  };
  58   58  
  59   59  /*
  60      - * The following definitions are to keep EXPORT_SRC happy.
  61      - */
  62      -#ifndef AES_MIN_KEY_BYTES
  63      -#define AES_MIN_KEY_BYTES               0
  64      -#endif
  65      -
  66      -#ifndef AES_MAX_KEY_BYTES
  67      -#define AES_MAX_KEY_BYTES               0
  68      -#endif
  69      -
  70      -/*
  71   60   * Mechanism info structure passed to KCF during registration.
  72   61   */
  73   62  static crypto_mech_info_t aes_mech_info_tab[] = {
  74   63          /* AES_ECB */
  75   64          {SUN_CKM_AES_ECB, AES_ECB_MECH_INFO_TYPE,
  76   65              CRYPTO_FG_ENCRYPT | CRYPTO_FG_ENCRYPT_ATOMIC |
  77   66              CRYPTO_FG_DECRYPT | CRYPTO_FG_DECRYPT_ATOMIC,
  78   67              AES_MIN_KEY_BYTES, AES_MAX_KEY_BYTES, CRYPTO_KEYSIZE_UNIT_IN_BYTES},
  79   68          /* AES_CBC */
  80   69          {SUN_CKM_AES_CBC, AES_CBC_MECH_INFO_TYPE,
↓ open down ↓ 1403 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX