bcrypt_newhash
Function parameters
Parameters
- pass:[*:0]const u8
- log_rounds:c_int
- hash:[*]u8
- hashlen:usize
Type definitions in this namespace
Types
Functions in this namespace
Functions
= switch (builtin.cpu.arch) { .x86 => 12, .sparc64 => 13, }
Values
- MAX_PAGE_SHIFT
- = switch (builtin.cpu.arch) { .x86 => 12, .sparc64 => 13, }
- PTHREAD_STACK_MIN
- = switch (builtin.cpu.arch) { .sparc64 => 1 << 13, .mips64 => 1 << 14, else => 1 << 12, }
Source
Implementation
pub extern "c" fn bcrypt_newhash(pass: [*:0]const u8, log_rounds: c_int, hash: [*]u8, hashlen: usize) c_int