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:
parent
4135599f7c
commit
47791192db
5 changed files with 169 additions and 5 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue