Not sure if anyone has responded yet... been a while since I've
actually had time to read any of these lists.  :(

Anyways, comments inline

On Friday, August 20, Mike Belopuhov wrote:
> 
> Index: crypto/cryptodev.h
> ===================================================================
> RCS file: /home/cvs/src/sys/crypto/cryptodev.h,v
> retrieving revision 1.51
> diff -u -p -r1.51 cryptodev.h
> --- crypto/cryptodev.h        23 Jun 2010 09:26:32 -0000      1.51
> +++ crypto/cryptodev.h        28 Jul 2010 16:13:56 -0000
> @@ -105,7 +105,12 @@
>  #define CRYPTO_SHA2_512_HMAC 20
>  #define CRYPTO_AES_CTR               21
>  #define CRYPTO_AES_XTS               22
> -#define CRYPTO_ALGORITHM_MAX 22 /* Keep updated */
> +#define CRYPTO_AES_GCM_16    23
> +#define CRYPTO_AES_128_GMAC  24
> +#define CRYPTO_AES_192_GMAC  25
> +#define CRYPTO_AES_256_GMAC  26
> +#define CRYPTO_AES_GMAC              27
> +#define CRYPTO_ALGORITHM_MAX 28 /* Keep updated */
>  
>  /* Algorithm flags */
>  #define      CRYPTO_ALG_FLAG_SUPPORTED       0x01 /* Algorithm is supported 
> */

Ok, the ..._MAX define was == to the last define before, now it's
one more than the largest?  Did you adjust the code to match?  Not
that I can see...

-Toby.

Reply via email to