summaryrefslogtreecommitdiffstats
path: root/g10/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'g10/main.h')
-rw-r--r--g10/main.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/main.h b/g10/main.h
index 4e82a525c..5303aa3a9 100644
--- a/g10/main.h
+++ b/g10/main.h
@@ -304,4 +304,6 @@ int card_generate_subkey (KBNODE pub_keyblock, KBNODE sec_keyblock);
int card_store_subkey (KBNODE node, int use);
#endif
+#define S2K_DECODE_COUNT(_val) ((16ul + ((_val) & 15)) << (((_val) >> 4) + 6))
+
#endif /*G10_MAIN_H*/