diff options
author | Rob Austein <sra@hactrn.net> | 2018-04-14 14:10:45 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2018-04-14 14:10:45 -0400 |
commit | 0d17fd984e6ed486d6cd622edee226e263aab510 (patch) | |
tree | 3e88c9e1a69d73e57231b357cf1547e46d2a8a64 /ks.h | |
parent | d8f5f37c2dffab9083fa4c3a89032fabb100f627 (diff) |
Clean up definition of HAL_KS_WRAPPED_KEYSIZE.
Diffstat (limited to 'ks.h')
-rw-r--r-- | ks.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -49,6 +49,10 @@ #define HAL_KS_BLOCK_SIZE (4096 * 2) #endif +#if HAL_KS_WRAPPED_KEYSIZE + 8 > HAL_KS_BLOCK_SIZE +#warning HAL_KS_WRAPPED_KEYSIZE is too big for to fit in a keystore block +#endif + /* * PIN block gets the all-zeros UUID, which will never be returned by * the UUID generation code (by definition -- it's not a version 4 UUID). |