Lines Matching refs:flag
14 /* Flags for algorithm classification macros. There is a flag for every
17 * category-specific function. The name of the flag is the name of the
49 /* Flags for key type classification macros. There is a flag for every
51 * are tested as derived from other macros. The name of the flag is
63 /* Flags for lifetime classification macros. There is a flag for every
65 * flag is the name of the classification macro without the PSA_ prefix. */
70 /* Check that in the value of flags, the bit flag (which should be a macro
72 * PSA_##flag(alg) is true.
75 * be different if the value of the flag bit is only specified under specific
78 * Unconditionally mask flag into the ambient variable
81 #define TEST_CLASSIFICATION_MACRO( cond, flag, alg, flags ) \
86 if( ( flags ) & ( flag ) ) \
87 TEST_ASSERT( PSA_##flag( alg ) ); \
89 TEST_ASSERT( ! PSA_##flag( alg ) ); \
91 classification_flags_tested |= ( flag ); \