EVP_PKEY_CTX_set_scrypt_r

Set the scrypt block-size parameter r on a PKEY KDF context.

Synopsis

Declared in <openssl/kdf.h>

int
EVP_PKEY_CTX_set_scrypt_r(
    EVP_PKEY_CTX* ctx,
    uint64_t r);

Return Value

1 on success, or a negative value on error.

Parameters

NameDescription
ctxContext configured for the scrypt KDF.
rBlock-size parameter (must be > 0).