Lines Matching +full:out +full:- +full:functions
18 .\" Set up some character translations and predefined strings. \*(-- will
24 .tr \(*W-
27 . ds -- \(*W-
29 . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
30 . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
37 . ds -- \|\(em\|
71 .\" Fear. Run. Save yourself. No user-serviceable parts.
81 . ds #H ((1u-(\\\\n(.fu%2u))*.13m)
97 . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
98 . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
99 . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
100 . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
101 . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
102 . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
104 . \" troff and (daisy-wheel) nroff accents
123 . ds d- d\h'-1'\(ga
124 . ds D- D\h'-1'\(hy
133 .IX Title "PROVIDER-CIPHER 7ossl"
134 .TH PROVIDER-CIPHER 7ossl "2023-09-19" "3.0.11" "OpenSSL"
140 provider\-cipher \- The cipher library <\-> provider functions
148 \& * None of these are actual functions, but are displayed like this for
149 \& * the function signatures for functions that are offered as function
165 \& int OSSL_FUNC_cipher_update(void *cctx, unsigned char *out, size_t *outl,
167 \& int OSSL_FUNC_cipher_final(void *cctx, unsigned char *out, size_t *outl,
169 \& int OSSL_FUNC_cipher_cipher(void *cctx, unsigned char *out, size_t *outl,
193 The \s-1CIPHER\s0 operation enables providers to implement cipher algorithms and make
194 them available to applications via the \s-1API\s0 functions \fBEVP_EncryptInit_ex\fR\|(3),
196 equivalents and other related functions).
198 All \*(L"functions\*(R" mentioned here are passed as function pointers between
199 \&\fIlibcrypto\fR and the provider in \s-1\fBOSSL_DISPATCH\s0\fR\|(3) arrays via
200 \&\s-1\fBOSSL_ALGORITHM\s0\fR\|(3) arrays that are returned by the provider's
202 (see \*(L"Provider Functions\*(R" in \fBprovider\-base\fR\|(7)).
204 All these \*(L"functions\*(R" have a corresponding function type definition
206 function pointer from an \s-1\fBOSSL_DISPATCH\s0\fR\|(3) element named
216 \&\s-1\fBOSSL_DISPATCH\s0\fR\|(3) arrays are indexed by numbers that are provided as
217 macros in \fBopenssl\-core_dispatch.h\fR\|(7), as follows:
239 A cipher algorithm implementation may not implement all of these functions.
240 In order to be a consistent set of functions there must at least be a complete
241 set of \*(L"encrypt\*(R" functions, or a complete set of \*(L"decrypt\*(R" functions, or a
243 In all cases both the OSSL_FUNC_cipher_newctx and OSSL_FUNC_cipher_freectx functions must be
245 All other functions are optional.
246 .SS "Context Management Functions"
247 .IX Subsection "Context Management Functions"
261 .SS "Encryption/Decryption Functions"
262 .IX Subsection "Encryption/Decryption Functions"
266 The \s-1IV\s0 to be used is given in \fIiv\fR which is \fIivlen\fR bytes long.
267 The \fIparams\fR, if not \s-1NULL,\s0 should be set on the context in a manner similar to
279 The encrypted data should be stored in \fIout\fR and the amount of data written to
294 Any final encryption/decryption output should be written to \fIout\fR and the
309 The output from the encryption/decryption should be stored in \fIout\fR and the
314 See \s-1\fBOSSL_PARAM\s0\fR\|(3) for further details on the parameters structure used by
315 these functions.
323 Passing \s-1NULL\s0 for \fIparams\fR should return true.
327 Passing \s-1NULL\s0 for \fIparams\fR should return true.
330 and \fBOSSL_FUNC_cipher_settable_ctx_params()\fR all return constant \s-1\fBOSSL_PARAM\s0\fR\|(3)
336 not \s-1NULL.\s0 Otherwise, they return the parameters associated with the
339 Parameters currently recognised by built-in ciphers are listed in
340 \&\*(L"\s-1PARAMETERS\*(R"\s0 in \fBEVP_EncryptInit\fR\|(3).
345 provider side cipher context, or \s-1NULL\s0 on failure.
353 \&\fBOSSL_FUNC_cipher_settable_ctx_params()\fR should return a constant \s-1\fBOSSL_PARAM\s0\fR\|(3)
354 array, or \s-1NULL\s0 if none is offered.
357 \&\fBprovider\fR\|(7), \s-1\fBOSSL_PROVIDER\-FIPS\s0\fR\|(7), \fBOSSL_PROVIDER\-default\fR\|(7),
358 \&\fBOSSL_PROVIDER\-legacy\fR\|(7),
359 \&\s-1\fBEVP_CIPHER\-AES\s0\fR\|(7), \s-1\fBEVP_CIPHER\-ARIA\s0\fR\|(7), \s-1\fBEVP_CIPHER\-BLOWFIS…
360 \&\s-1\fBEVP_CIPHER\-CAMELLIA\s0\fR\|(7), \s-1\fBEVP_CIPHER\-CAST\s0\fR\|(7), \s-1\fBEVP_CIPHER\-CH…
361 \&\s-1\fBEVP_CIPHER\-DES\s0\fR\|(7), \s-1\fBEVP_CIPHER\-IDEA\s0\fR\|(7), \s-1\fBEVP_CIPHER\-RC2\s0\…
362 \&\s-1\fBEVP_CIPHER\-RC4\s0\fR\|(7), \s-1\fBEVP_CIPHER\-RC5\s0\fR\|(7), \s-1\fBEVP_CIPHER\-SEED\s0\…
363 \&\s-1\fBEVP_CIPHER\-SM4\s0\fR\|(7), \s-1\fBEVP_CIPHER\-NULL\s0\fR\|(7),
364 \&\fBlife_cycle\-cipher\fR\|(7), \fBEVP_EncryptInit\fR\|(3)
367 The provider \s-1CIPHER\s0 interface was introduced in OpenSSL 3.0.
370 Copyright 2019\-2023 The OpenSSL Project Authors. All Rights Reserved.
374 in the file \s-1LICENSE\s0 in the source distribution or at