#include <openssl/evp.h>
#include <assert.h>
#include <openssl/err.h>
#include <openssl/mem.h>
#include <openssl/type_check.h>
#include "../internal.h"
Go to the source code of this file.
|
int | EVP_PBE_scrypt (const char *password, size_t password_len, const uint8_t *salt, size_t salt_len, uint64_t N, uint64_t r, uint64_t p, size_t max_mem, uint8_t *out_key, size_t key_len) |
|
| OPENSSL_STATIC_ASSERT (sizeof(block_t)==64, "block_t has padding") |
|
static void | salsa208_word_specification (block_t *inout) |
|
static void | scryptBlockMix (block_t *out, const block_t *B, uint64_t r) |
|
static void | scryptROMix (block_t *B, uint64_t r, uint64_t N, block_t *T, block_t *V) |
|
static void | xor_block (block_t *out, const block_t *a, const block_t *b) |
|
◆ SCRYPT_MAX_MEM
#define SCRYPT_MAX_MEM (1024 * 1024 * 32) |
◆ SCRYPT_PR_MAX
#define SCRYPT_PR_MAX ((1 << 30) - 1) |
◆ EVP_PBE_scrypt()
◆ OPENSSL_STATIC_ASSERT()
OPENSSL_STATIC_ASSERT |
( |
sizeof(block_t) |
= =64 , |
|
|
"block_t has padding" |
|
|
) |
| |
◆ salsa208_word_specification()
static void salsa208_word_specification |
( |
block_t * |
inout | ) |
|
|
static |
◆ scryptBlockMix()
◆ scryptROMix()
◆ xor_block()