mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Implement dynamic S2K count computation.
This commit is contained in:
parent
ed7bf14034
commit
4d693033ab
6 changed files with 190 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