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

shishi_crypto_decrypt - API function

Arguments

       Shishi_crypto * ctx
                   crypto context as returned by shishi_crypto().

       const char * in
                   input array with data to decrypt.

       size_t inlen
                   size of input array with data to decrypt.

       char ** out output array with newly allocated decrypted data.

       size_t * outlen
                   output variable with size of newly allocated output array.

Description

       Decrypt data, using information (e.g., key and initialization vector) from context.  The  IV  is  updated
       inside the context after this call.

       When the application no longer need to use the context, it should deallocate resources associated with it
       by calling shishi_crypto_close().

Name

       shishi_crypto_decrypt - API function

Reporting Bugs

       Report  bugs  to <bug-shishi@gnu.org>.  GNU Shishi home page: http://www.gnu.org/software/shishi/ General
       help using GNU software: http://www.gnu.org/gethelp/

Return Value

       Returns SHISHI_OK iff successful.

See Also

       The full documentation for shishi is maintained as a Texinfo manual.  If the info and shishi programs are
       properly installed at your site, the command

              infoshishi

       should give you access to the complete manual.

shishi                                                1.0.3                             shishi_crypto_decrypt(3)

Synopsis

#include<shishi.h>intshishi_crypto_decrypt(Shishi_crypto*ctx,constchar*in,size_tinlen,char**out,size_t*outlen);

See Also