RTEMS CPU Kit with SuperCore  4.11.3
Macros | Functions | Variables
crypt-sha256.c File Reference
#include <sys/cdefs.h>
#include <sys/endian.h>
#include <sys/param.h>
#include <errno.h>
#include <limits.h>
#include <sha256.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <crypt.h>
Include dependency graph for crypt-sha256.c:

Macros

#define SALT_LEN_MAX   16
 
#define ROUNDS_DEFAULT   5000
 
#define ROUNDS_MIN   1000
 
#define ROUNDS_MAX   999999999
 

Functions

 __FBSDID ("$FreeBSD$")
 
char * crypt_sha256_r (const char *key, const char *salt, struct crypt_data *data)
 

Variables

struct crypt_format crypt_sha256_format
 

Variable Documentation

◆ crypt_sha256_format

struct crypt_format crypt_sha256_format
Initial value:
=
CRYPT_FORMAT_INITIALIZER(crypt_sha256_r, "$5$")