--- crypto_mech2id.9f.old	Wed May  9 16:56:22 2007
+++ crypto_mech2id.9f.new	Wed May  9 16:57:21 2007
@@ -1,63 +1,64 @@
 Kernel Functions for Drivers                          crypto_mech2id(9F)
 
 NAME
      crypto_mech2id - obtain the mechanism number assigned to a mechanism
                       name
 
 SYNOPSIS
      #include <sys/crypto/api.h>
 
      crypto_mech_type_t crypto_mech2id(crypto_mech_name_t mech_name);
      
 INTERFACE LEVEL
      Contracted Consolidation Private
 
 PARAMETERS
      mech_name	Mechanism name for which the consumer wants a
 		mechanism number.
 
 DESCRIPTION
      This routine returns the unique mechanism identifier that is
      associated with a mechanism name. The value returned by
      crypto_mech2id() is used to initialize the cm_type field
      of the crypto_mechanism(9S) structure.
 
      The names of the mechanism to be passes as mech_name
      follow the PKCS#11 naming convention. The following supported
      mechanisms have predefined names:
 
           SUN_CKM_MD5                MD5
 	  SUN_CKM_MD5_HMAC           MD5-HMAC
           SUN_CKM_MD5_HMAC_GENERAL   General length MD5-HMAC
           SUN_CKM_SHA_1              SHA-1
 	  SUN_CKM_SHA_1_HMAC	     SHA1-HMAC
           SUN_CKM_SHA_1_HMAC_GENERAL General length SHA-1-HMAC
           SUN_CKM_DES_ECB            DES in ECB mode
           SUN_CKM_3DES_ECB           3DES in ECB mode
           SUN_CKM_DES_CBC            DES in CBC mode
           SUN_CKM_3DES_CBC           3DES in CBC mode
           SUN_CKM_DES_OFB            DES in OFB mode
           SUN_CKM_BLOWFISH_CBC       Blowfish in CBC mode
           SUN_CKM_AES_CBC            AES in CBC mode
           SUN_CKM_AES_ECB            AES in ECB mode
           SUN_CKM_AES_CTR            AES in counter mode
+	  SUN_CKM_AES_CCM	     AES in CCM mode
 
 RETURN VALUES
      On success, crypto_mech2id() returns the mechanism id corresponding
      to the specified mechanism name. On failure, this routine returns
      CRYPTO_MECHANISM_INVALID.
 
 CONTEXT
      crypto_mech2id() can be called from user or interrupt context.
 
 NOTE
      crypto_mech2id() may internally trigger the loading of new cryptographic
      providers. If the caller has signed up for a notification of such events, 
      then the crypto_notify_callback_t routine can be called on the
      crypto_mech2id()'s stack. crypto_mech2id() shouldn't be holding
      mutexes that are acquired by the crypto_notify_callback_t routine.
     
 SEE ALSO
      crypto_mechanism(9S), crypto_notify_events(9F)
 
      PKCS#11 v2.20: Cryptographic Token Interface Standard
