OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
ocpasswordgen.c File Reference
#include <stdio.h>
#include <termios.h>
#include <unistd.h>
#include <Library/DebugLib.h>
#include <Library/OcCryptoLib.h>
#include <UserPseudoRandom.h>

Go to the source code of this file.

Macros

#define CHAR_END_OF_TEXT   3
 
#define CHAR_DELETE   127
 

Functions

int getch (void)
 
int ENTRY_POINT (void)
 

Detailed Description

Copyright (c) 2020, Marvin Haeuser. All rights reserved. SPDX-License-Identifier: BSD-3-Clause

Definition in file ocpasswordgen.c.

Macro Definition Documentation

◆ CHAR_DELETE

#define CHAR_DELETE   127

Definition at line 22 of file ocpasswordgen.c.

◆ CHAR_END_OF_TEXT

#define CHAR_END_OF_TEXT   3

Definition at line 21 of file ocpasswordgen.c.

Function Documentation

◆ ENTRY_POINT()

int ENTRY_POINT ( void )

Definition at line 52 of file ocpasswordgen.c.

◆ getch()

int getch ( void )

getch unix-compatible implementation

Returns
integer with ch codenumber

Definition at line 32 of file ocpasswordgen.c.