logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

libfcrypto.h — Library to support encryption formats

Author

       These man pages are generated from "libfcrypto.h".

Bugs

       Please report bugs of any kind on the project issue tracker: https://github.com/libyal/libfcrypto/issues

Description

       The libfcrypto_get_version() function is used to retrieve the library version.

Environment

       None

Files

       None

Name

       libfcrypto.h — Library to support encryption formats

Return Values

       Most  of  the  functions return NULL or -1 on error, dependent on the return type.  For the actual return
       values see "libfcrypto.h".

See Also

       the libfcrypto.h include file

libfcrypto                                      January 115, 2024                                  libfcrypto(3)

Synopsis

#include<libfcrypto.h>

       Support functions

       constchar*libfcrypto_get_version(void);

       Error functions

       voidlibfcrypto_error_free(libfcrypto_error_t**error);

       intlibfcrypto_error_fprint(libfcrypto_error_t*error, FILE*stream);

       intlibfcrypto_error_sprint(libfcrypto_error_t*error, char*string, size_tsize);

       intlibfcrypto_error_backtrace_fprint(libfcrypto_error_t*error, FILE*stream);

       intlibfcrypto_error_backtrace_sprint(libfcrypto_error_t*error, char*string, size_tsize);

       Blowfish context functions

       intlibfcrypto_blowfish_context_initialize(libfcrypto_blowfish_context_t**context,
           libfcrypto_error_t**error);

       intlibfcrypto_blowfish_context_free(libfcrypto_blowfish_context_t**context, libfcrypto_error_t**error);

       intlibfcrypto_blowfish_context_set_key(libfcrypto_blowfish_context_t*context,   constuint8_t*key,
           size_tkey_bit_size, libfcrypto_error_t**error);

       intlibfcrypto_blowfish_crypt_cbc(libfcrypto_blowfish_context_t*context,          intmode,
           constuint8_t*initialization_vector, size_tinitialization_vector_size, constuint8_t*input_data,
           size_tinput_data_size, uint8_t*output_data, size_toutput_data_size, libfcrypto_error_t**error);

       intlibfcrypto_blowfish_crypt_ecb(libfcrypto_blowfish_context_t*context,          intmode,
           constuint8_t*input_data, size_tinput_data_size,  uint8_t*output_data,  size_toutput_data_size,
           libfcrypto_error_t**error);

See Also