Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F159153315
D15786.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
596 B
Referenced Files
None
Subscribers
None
D15786.diff
View Options
Index: sys/opencrypto/gfmult.h
===================================================================
--- sys/opencrypto/gfmult.h
+++ sys/opencrypto/gfmult.h
@@ -84,7 +84,7 @@
#define GF128_EQ(a, b) ((((a).v[0] ^ (b).v[0]) | \
((a).v[1] ^ (b).v[1])) == 0)
-static inline struct gf128
+static inline struct gf128 __pure
gf128_read(const uint8_t *buf)
{
struct gf128 r;
@@ -108,7 +108,7 @@
be64enc(buf, v.v[1]);
}
-static inline struct gf128 __pure /* XXX - __pure2 instead */
+static inline struct gf128 __pure2
gf128_add(struct gf128 a, struct gf128 b)
{
a.v[0] ^= b.v[0];
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jun 11, 5:09 PM (18 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33885309
Default Alt Text
D15786.diff (596 B)
Attached To
Mode
D15786: Mark functions as __pure and __pure2
Attached
Detach File
Event Timeline
Log In to Comment