Set the scrypt CPU/memory cost parameter N on a PKEY KDF context.
Synopsis
Declared in <openssl/kdf.h>
int
EVP_PKEY_CTX_set_scrypt_N(
EVP_PKEY_CTX* ctx,
uint64_t n);
Return Value
1 on success, or a negative value on error.
Parameters
Name |
Description |
ctx |
Context configured for the scrypt KDF. |
n |
Cost parameter N (power of two). |
Created with MrDocs