summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Pad too small checkHEADv0.3.1masterSeppia2018-07-071-2/+8
| | | | | Adds check for pad size relatively to input size and exit with an error when pad is smaller.
* Output file checkSeppia2018-07-071-3/+10
| | | | | Moved output file existence check in specific functions, after all options are parsed.
* Main headerv0.3Seppia2018-07-063-18/+23
| | | | | Created main source header file and moved appropriate declarations and function prototipes there.
* Print functionsSeppia2018-07-063-56/+44
| | | | | | | Defined macro for an error print function to be used to output errors. Defined also a quiet print function which gets executed only if numeric value passed as first argument is true. Changed also code in main source accordingly.
* Variable namesSeppia2018-07-062-6/+6
| | | | Adjusted variable names in readInput prototype.
* Moved new functions to separate header and sourceSeppia2018-07-064-117/+131
| | | | | Moved new core functions to separate source file and created new header file. Adjusted Makefile and onetimebluh.c accordingly.
* Removed outdated commentsSeppia2018-07-051-4/+4
|
* bin dump and reverse functionsSeppia2018-07-051-25/+40
| | | | | | The bluh and unbluh operations have been moved to functions that take input from string, and corrispondent code has been changed accordingly.
* Missing string memory deallocationSeppia2018-07-051-1/+3
| | | | | Adds missing free function for dinamically allocated string and also moves a variable declaration to the appropriate block.
* encrypt/decrypt functionsSeppia2018-07-051-19/+51
| | | | | | The encrypt and decrypt operations have been moved to functions that take input from string or file, and corrispondent code has been changed accordingly.
* Missing memory deallocationv0.2.1Seppia2018-07-051-0/+4
| | | | input string was not properly deallocated if previously reallocated.
* Missing initializationSeppia2018-07-051-1/+1
| | | | Inizialized length variable in readInput function.
* Info message ignoring quietSeppia2018-07-051-2/+6
| | | | This fixes an info message ignoring the quiet option.
* Updated readmev0.2Seppia2018-07-051-13/+17
| | | | Updated README.md to match the new options and syntax.
* Scapces and tabs adjustmentsSeppia2018-07-051-19/+19
|
* Syntax changeSeppia2018-07-041-31/+31
| | | | Syntax for string evaluation changed to a more concise version.
* Input from stdinSeppia2018-07-041-22/+101
| | | | | | | With this commit the program can now read directly from standard input, as long as from a file, and defaults to this beheaviour. If the user now wants to set an input file must use the 'input' option previously introduced.
* Default output changesSeppia2018-07-041-91/+105
| | | | | | | | | Default output has now changed to standard output, unless specified a file name. This could be usefulf for scripting along with the use of the 'quiet' option. This commis also introduces a new 'input' option, in anticipation of a future update which will defaults to standard input if no 'input' option is specified as for the 'output' option.
* Messages updateSeppia2018-07-041-25/+24
| | | | | This commit updates the messages targetd to the user to be more consistent and adds message types such as INFO, WARNING and ERROR.
* Using struct for optionsSeppia2018-07-041-105/+115
| | | | | Defined an options struct in order to access with more ease the options values inside functions and changed code accordingly.
* Quiet option additionSeppia2018-07-031-25/+59
| | | | | | | This commit adds a 'quiet' option which suppresses all info-only outputs, usefult for scripting in prevision of future sdtin/stdout interaction support. All error messages will ignore the 'quite' option, and so the help function will.
* Print generating key messageSeppia2018-07-031-3/+4
| | | | | Printing message while generating key and fixed order of messages in the same function.
* Tab style fixSeppia2018-05-061-2/+2
|
* Complete integer types declarations changev0.1Seppia2018-01-311-5/+5
| | | | Chages some 'long' variable declarations left to 'int64_t'.
* Fix README.mdSeppia2018-01-311-7/+7
| | | | | Updates README with new byte multiples function, fixes repository URL and name and fixes various typos.
* Change integer types declarationsSeppia2018-01-311-14/+14
| | | | | | Use respectively int64_t and uint64_t in place of int and and unsigned int for better compatibility with non x86_64 compilers.
* Add byte multiple units supportSeppia2018-01-291-6/+19
| | | | | | Now can be specified the size of the key to be created in KiB, MiB, GiB or TiB respectively using {K,M,G,T} after the value of the option --nbytes.
* Updated README.mdSeppia2018-01-281-19/+32
| | | | Updates and fixes programs informations and adds install instructions.
* Changed help styleSeppia2018-01-281-14/+14
| | | | Add spaces before commands and options in help function and minor style changes
* Fixed wrong unbluh optionSeppia2017-10-031-1/+1
| | | | Change unbluh option keyword to correct value
* Code Style changed.Seppia2017-09-081-103/+103
| | | | Added space between functions names and arguments calls.
* Added gitignore file.Seppia2017-09-081-0/+6
|
* Syntax changeSeppia2017-07-311-6/+3
| | | | Changed incorrect markdown syntax in README.md
* updated README.mddevelopSeppia2016-12-181-15/+14
|
* fixed help function printfSeppia2016-12-181-13/+13
|
* removed old sources filesSeppia2016-12-183-146/+0
|
* fixed exit messages with command nameSeppia2016-12-091-6/+6
|
* fixed installdir creation in MakefileSeppia2016-12-081-1/+1
|
* fixed install in MakefileSeppia2016-12-081-0/+1
|
* fixed option -c in help() functionSeppia2016-12-081-1/+1
|
* added MakefileSeppia2016-12-081-0/+17
|
* fixed for variable lenghtSeppia2016-12-071-1/+1
|
* added --char option to help and fixed entriesSeppia2016-12-071-2/+3
|
* removed printf() outputs used for testingSeppia2016-12-071-8/+0
|
* added option for using custom values in bluh function and lenght fixes in ↵Seppia2016-12-071-10/+21
| | | | bluh function
* fixed stdout message after decyptionSeppia2016-12-051-1/+1
|
* updated README.mdSeppia2016-11-301-18/+23
|
* fixed help() functionSeppia2016-11-301-13/+15
|
* added the bluh function to transform the message in its bintary dump and ↵Seppia2016-11-301-10/+116
| | | | overall variable names fixes
* changed options key-get to gen-key and short for nbytes from b to nSeppia2016-11-291-6/+6
|