Cap the memory scrypt may use during key derivation.
Synopsis
Declared in <openssl/kdf.h>
int
EVP_PKEY_CTX_set_scrypt_maxmem_bytes(
EVP_PKEY_CTX* ctx,
uint64_t maxmem_bytes);
Return Value
1 on success, or a negative value on error.
Parameters
Name |
Description |
ctx |
Context configured for the scrypt KDF. |
maxmem_bytes |
Maximum bytes of RAM the derivation may consume. |
Created with MrDocs