lkml.org 
[lkml]   [2005]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [3/many] acrypto: acrypto.h
Evgeniy Polyakov wrote:
> --- /tmp/empty/acrypto.h 1970-01-01 03:00:00.000000000 +0300
> +++ ./acrypto/acrypto.h 2005-03-07 20:35:36.000000000 +0300
> @@ -0,0 +1,245 @@
> +/*
> + * acrypto.h
> + *
> + * Copyright (c) 2004 Evgeniy Polyakov <johnpol@2ka.mipt.ru>
> + *
> + */
> +
> +#ifdef __KERNEL__
> +
> +#define SESSION_COMPLETED (1<<15)
> +#define SESSION_FINISHED (1<<14)
> +#define SESSION_STARTED (1<<13)
> +#define SESSION_PROCESSED (1<<12)
> +#define SESSION_BINDED (1<<11)
Just a thought: SESSION_BOUND ??

> +#define SESSION_BROKEN (1<<10)
> +#define SESSION_FROM_CACHE (1<<9)
> +
> +#define DEVICE_BROKEN (1<<0)
> +
> +#define device_broken(dev) (dev->flags & DEVICE_BROKEN)
> +#define broke_device(dev) do {dev->flags |= DEVICE_BROKEN;} while(0)
break_device(dev)

> +int match_initializer(struct crypto_device *, struct crypto_session_initializer *);
> +int __match_initializer(struct crypto_capability *, struct crypto_session_initializer *);
> +
> +#endif /* __KERNEL__ */
> +#endif /* __ACRYPTO_H */

Several of these could use some namespace_idents on them (SESSION_xyz,
DEVICE_xyz, device_xyz, match_xyz)...

--
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:10    [W:2.902 / U:0.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site