Differences From Artifact [dcccbffbc5]:
- File src/OFMapTable.h — part of check-in [ed438b979d] at 2012-12-01 17:50:44 on branch trunk — OFSet_hashtable: Store in OFMapTable. (user: js, size: 7213) [annotate] [blame] [check-ins using] [more...]
To Artifact [5b6730706a]:
- File
src/OFMapTable.h
— part of check-in
[590fa6ed79]
at
2012-12-04 09:59:09
on branch trunk
— Add a per-hashtable seed.
This should make it impossible to retrieve of_hash_seed by inserting
keys into a hashtable and then retrieving the hashtable. Without this
change, the order could be used to make guesses about of_hash_seed,
which could be a problem for long running processes. (user: js, size: 7229) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
46 47 48 49 50 51 52 53 54 55 56 57 58 59 | */ @interface OFMapTable: OFObject <OFCopying, OFFastEnumeration> { of_map_table_functions_t keyFunctions, valueFunctions; struct of_map_table_bucket **buckets; uint32_t minCapacity, capacity, count; unsigned long mutations; } /*! * @brief Creates a new OFMapTable with the specified key and value functions. * * @param keyFunctions A structure of functions for handling keys * @param valueFunctions A structure of functions for handling values | > | 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | */ @interface OFMapTable: OFObject <OFCopying, OFFastEnumeration> { of_map_table_functions_t keyFunctions, valueFunctions; struct of_map_table_bucket **buckets; uint32_t minCapacity, capacity, count; unsigned long mutations; uint32_t seed; } /*! * @brief Creates a new OFMapTable with the specified key and value functions. * * @param keyFunctions A structure of functions for handling keys * @param valueFunctions A structure of functions for handling values |
︙ | ︙ |