1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Implement dynamic S2K count computation for GPGSM

This commit is contained in:
Werner Koch 2009-12-14 20:18:53 +00:00
parent 4135599f7c
commit 47791192db
5 changed files with 169 additions and 5 deletions

View file

@ -285,6 +285,7 @@ int agent_genkey (ctrl_t ctrl,
int agent_protect_and_store (ctrl_t ctrl, gcry_sexp_t s_skey);
/*-- protect.c --*/
unsigned long get_standard_s2k_count (void);
int agent_protect (const unsigned char *plainkey, const char *passphrase,
unsigned char **result, size_t *resultlen);
int agent_unprotect (const unsigned char *protectedkey, const char *passphrase,