Print this page
4185 New hash algorithm support

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/crypto/common.h
          +++ new/usr/src/uts/common/sys/crypto/common.h
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  /*
  22   22   * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
  23   23   */
       24 +/*
       25 + * Copyright 2013 Saso Kiselkov.  All rights reserved.
       26 + */
  24   27  
  25   28  #ifndef _SYS_CRYPTO_COMMON_H
  26   29  #define _SYS_CRYPTO_COMMON_H
  27   30  
  28   31  /*
  29   32   * Header file for the common data structures of the cryptographic framework
  30   33   */
  31   34  
  32   35  #ifdef __cplusplus
  33   36  extern "C" {
↓ open down ↓ 153 lines elided ↑ open up ↑
 187  190  #define SUN_CKM_SHA1_HMAC_GENERAL       "CKM_SHA_1_HMAC_GENERAL"
 188  191  #define SUN_CKM_SHA256                  "CKM_SHA256"
 189  192  #define SUN_CKM_SHA256_HMAC             "CKM_SHA256_HMAC"
 190  193  #define SUN_CKM_SHA256_HMAC_GENERAL     "CKM_SHA256_HMAC_GENERAL"
 191  194  #define SUN_CKM_SHA384                  "CKM_SHA384"
 192  195  #define SUN_CKM_SHA384_HMAC             "CKM_SHA384_HMAC"
 193  196  #define SUN_CKM_SHA384_HMAC_GENERAL     "CKM_SHA384_HMAC_GENERAL"
 194  197  #define SUN_CKM_SHA512                  "CKM_SHA512"
 195  198  #define SUN_CKM_SHA512_HMAC             "CKM_SHA512_HMAC"
 196  199  #define SUN_CKM_SHA512_HMAC_GENERAL     "CKM_SHA512_HMAC_GENERAL"
      200 +#define SUN_CKM_SHA512_224              "CKM_SHA512_224"
      201 +#define SUN_CKM_SHA512_256              "CKM_SHA512_256"
 197  202  #define SUN_CKM_DES_CBC                 "CKM_DES_CBC"
 198  203  #define SUN_CKM_DES3_CBC                "CKM_DES3_CBC"
 199  204  #define SUN_CKM_DES_ECB                 "CKM_DES_ECB"
 200  205  #define SUN_CKM_DES3_ECB                "CKM_DES3_ECB"
 201  206  #define SUN_CKM_BLOWFISH_CBC            "CKM_BLOWFISH_CBC"
 202  207  #define SUN_CKM_BLOWFISH_ECB            "CKM_BLOWFISH_ECB"
 203  208  #define SUN_CKM_AES_CBC                 "CKM_AES_CBC"
 204  209  #define SUN_CKM_AES_ECB                 "CKM_AES_ECB"
 205  210  #define SUN_CKM_AES_CTR                 "CKM_AES_CTR"
 206  211  #define SUN_CKM_AES_CCM                 "CKM_AES_CCM"
↓ open down ↓ 387 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX