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-KEM 7ossl"
134 .TH PROVIDER-KEM 7ossl "2023-09-19" "3.0.11" "OpenSSL"
140 provider\-kem \- The kem 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
161 \& int OSSL_FUNC_kem_encapsulate(void *ctx, unsigned char *out, size_t *outlen,
166 \& int OSSL_FUNC_kem_decapsulate(void *ctx, unsigned char *out, size_t *outlen,
180 The asymmetric kem (\s-1OSSL_OP_KEM\s0) operation enables providers to
182 via the \s-1API\s0 functions \fBEVP_PKEY_encapsulate\fR\|(3),
183 \&\fBEVP_PKEY_decapsulate\fR\|(3) and other related functions.
185 All \*(L"functions\*(R" mentioned here are passed as function pointers between
186 \&\fIlibcrypto\fR and the provider in \s-1\fBOSSL_DISPATCH\s0\fR\|(3) arrays via
187 \&\s-1\fBOSSL_ALGORITHM\s0\fR\|(3) arrays that are returned by the provider's
189 (see \*(L"Provider Functions\*(R" in \fBprovider\-base\fR\|(7)).
191 All these \*(L"functions\*(R" have a corresponding function type definition
193 function pointer from an \s-1\fBOSSL_DISPATCH\s0\fR\|(3) element named
203 \&\s-1\fBOSSL_DISPATCH\s0\fR\|(3) arrays are indexed by numbers that are provided as
204 macros in \fBopenssl\-core_dispatch.h\fR\|(7), as follows:
224 functions.
225 In order to be a consistent set of functions a provider must implement
236 loading or importing keys via the key management (\s-1OSSL_OP_KEYMGMT\s0) operation.
237 See \fBprovider\-keymgmt\fR\|(7) for further details.
238 .SS "Context Management Functions"
239 .IX Subsection "Context Management Functions"
253 .SS "Asymmetric Key Encapsulation Functions"
254 .IX Subsection "Asymmetric Key Encapsulation Functions"
259 The \fIparams\fR, if not \s-1NULL,\s0 should be set on the context in a manner similar to
262 the provider using the key management (\s-1OSSL_OP_KEYMGMT\s0) operation (see
263 \&\fBprovider\-keymgmt\fR\|(7)>.
268 Unless \fIout\fR is \s-1NULL,\s0 the data to be encapsulated is internally generated,
275 If \fIout\fR is \s-1NULL\s0 then the maximum length of the encapsulated data should be
278 .SS "Decapsulation Functions"
279 .IX Subsection "Decapsulation Functions"
285 the provider using the key management (\s-1OSSL_OP_KEYMGMT\s0) operation (see
286 \&\fBprovider\-keymgmt\fR\|(7)>.
293 Unless \fIout\fR is \s-1NULL,\s0 the decapsulated data should be written to the location
294 pointed to by the \fIout\fR parameter.
296 If \fIout\fR is \s-1NULL\s0 then the maximum length of the decapsulated data should be
300 See \s-1\fBOSSL_PARAM\s0\fR\|(3) for further details on the parameters structure used by
302 functions.
307 Passing \s-1NULL\s0 for \fIparams\fR should return true.
312 Passing \s-1NULL\s0 for \fIparams\fR should return true.
314 No parameters are currently recognised by built-in asymmetric kem algorithms.
317 get a constant \s-1\fBOSSL_PARAM\s0\fR\|(3) array that describes the gettable and settable
323 created provider side asymmetric kem context, or \s-1NULL\s0 on failure.
325 All other functions should return 1 for success or 0 on error.
331 The provider \s-1KEM\s0 interface was introduced in OpenSSL 3.0.
334 Copyright 2020\-2021 The OpenSSL Project Authors. All Rights Reserved.
338 in the file \s-1LICENSE\s0 in the source distribution or at