Lines Matching +full:out +full:- +full:functions

5 provider-asym_cipher - The asym_cipher library E<lt>-E<gt> provider functions
15 * None of these are actual functions, but are displayed like this for
16 * the function signatures for functions that are offered as function
28 int OSSL_FUNC_asym_cipher_encrypt(void *ctx, unsigned char *out, size_t *outlen,
35 int OSSL_FUNC_asym_cipher_decrypt(void *ctx, unsigned char *out, size_t *outlen,
52 via the API functions L<EVP_PKEY_encrypt(3)>,
54 other related functions).
56 All "functions" mentioned here are passed as function pointers between
60 (see L<provider-base(7)/Provider Functions>).
62 All these "functions" have a corresponding function type definition
73 macros in L<openssl-core_dispatch.h(7)>, as follows:
91 functions.
92 In order to be a consistent set of functions a provider must implement
104 See L<provider-keymgmt(7)> for further details.
106 =head2 Context Management Functions
122 =head2 Encryption Functions
130 the provider using the key management (OSSL_OP_KEYMGMT) operation (see L<provider-keymgmt(7)>).
136 Unless I<out> is NULL, the encrypted data should be written to the location
137 pointed to by the I<out> parameter and it should not exceed I<outsize> bytes in
140 If I<out> is NULL then the maximum length of the encrypted data should be
143 =head2 Decryption Functions
152 L<provider-keymgmt(7)>).
159 Unless I<out> is NULL, the decrypted data should be written to the location
160 pointed to by the I<out> parameter and it should not exceed I<outsize> bytes in
163 If I<out> is NULL then the maximum length of the decrypted data should be
170 functions.
182 Parameters currently recognised by built-in asymmetric cipher algorithms are as
189 =item "pad-mode" (B<OSSL_ASYM_CIPHER_PARAM_PAD_MODE>) <UTF8 string> OR <integer>
204 =item "digest-props" (B<OSSL_ASYM_CIPHER_PARAM_OAEP_DIGEST_PROPS>) <UTF8 string>
208 =item "digest-props" (B<OSSL_ASYM_CIPHER_PARAM_DIGEST_PROPS>) <UTF8 string>
212 =item "mgf1-digest" (B<OSSL_ASYM_CIPHER_PARAM_MGF1_DIGEST>) <UTF8 string>
217 =item "mgf1-digest-props" (B<OSSL_ASYM_CIPHER_PARAM_MGF1_DIGEST_PROPS>) <UTF8 string>
221 =item "oaep-label" (B<OSSL_ASYM_CIPHER_PARAM_OAEP_LABEL>) <octet string ptr>
225 =item "oaep-label" (B<OSSL_ASYM_CIPHER_PARAM_OAEP_LABEL>) <octet string>
229 =item "tls-client-version" (B<OSSL_ASYM_CIPHER_PARAM_TLS_CLIENT_VERSION>) <unsigned integer>
233 =item "tls-negotiated-version" (B<OSSL_ASYM_CIPHER_PARAM_TLS_CLIENT_VERSION>) <unsigned integer>
249 All other functions should return 1 for success or 0 on error.
261 Copyright 2019-2023 The OpenSSL Project Authors. All Rights Reserved.