diff options
Diffstat (limited to 'src/common/crypto_s2k.h')
-rw-r--r-- | src/common/crypto_s2k.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/common/crypto_s2k.h b/src/common/crypto_s2k.h index abd8014318..3693a430e7 100644 --- a/src/common/crypto_s2k.h +++ b/src/common/crypto_s2k.h @@ -62,5 +62,12 @@ int secret_to_key_derivekey(uint8_t *key_out, size_t key_out_len, const uint8_t *spec, size_t spec_len, const char *secret, size_t secret_len); +#ifdef CRYPTO_S2K_PRIVATE +STATIC int secret_to_key_compute_key(uint8_t *key_out, size_t key_out_len, + const uint8_t *spec, size_t spec_len, + const char *secret, size_t secret_len, + int type); +#endif + #endif |