core_get_param_types,(const OSSL_PROVIDER *prov))
# define OSSL_FUNC_CORE_GET_PARAMS 2
OSSL_CORE_MAKE_FUNC(int,core_get_params,(const OSSL_PROVIDER *prov,
- const OSSL_PARAM params[]))
-# define OSSL_FUNC_CORE_PUT_ERROR 3
-OSSL_CORE_MAKE_FUNC(void,core_put_error,(int lib, int func, int reason,
- const char *file, int line))
-# define OSSL_FUNC_CORE_ADD_ERROR_VDATA 4
-OSSL_CORE_MAKE_FUNC(void,core_add_error_vdata,(int num, va_list args))
+ OSSL_PARAM params[]))
+# define OSSL_FUNC_CORE_THREAD_START 3
+OSSL_CORE_MAKE_FUNC(int,core_thread_start,(const OSSL_PROVIDER *prov,
+ OSSL_thread_stop_handler_fn handfn))
+# define OSSL_FUNC_CORE_PUT_ERROR 4
+OSSL_CORE_MAKE_FUNC(void,core_put_error,
+ (const OSSL_PROVIDER *prov,
+ uint32_t reason, const char *file, int line))
+# define OSSL_FUNC_CORE_ADD_ERROR_VDATA 5
+OSSL_CORE_MAKE_FUNC(void,core_add_error_vdata,(const OSSL_PROVIDER *prov,
+ int num, va_list args))
+# define OSSL_FUNC_CORE_GET_LIBRARY_CONTEXT 6
+OSSL_CORE_MAKE_FUNC(OPENSSL_CTX *,core_get_library_context,
+ (const OSSL_PROVIDER *prov))
/* Functions provided by the provider to the Core, reserved numbers 1024-1535 */
provider_get_param_types,(void *provctx))
# define OSSL_FUNC_PROVIDER_GET_PARAMS 1026
OSSL_CORE_MAKE_FUNC(int,provider_get_params,(void *provctx,
- const OSSL_PARAM params[]))
+ OSSL_PARAM params[]))
# define OSSL_FUNC_PROVIDER_QUERY_OPERATION 1027
OSSL_CORE_MAKE_FUNC(const OSSL_ALGORITHM *,provider_query_operation,
(void *provctx, int operation_id, const int *no_store))
+# define OSSL_FUNC_PROVIDER_GET_REASON_STRINGS 1028
+OSSL_CORE_MAKE_FUNC(const OSSL_ITEM *,provider_get_reason_strings,
+ (void *provctx))
/* Digests */
OSSL_CORE_MAKE_FUNC(int, OP_digest_set_params,
(void *vctx, const OSSL_PARAM params[]))
OSSL_CORE_MAKE_FUNC(int, OP_digest_get_params,
- (void *vctx, const OSSL_PARAM params[]))
+ (void *vctx, OSSL_PARAM params[]))
/* Symmetric Ciphers */
# define OSSL_FUNC_CIPHER_CIPHER 6
# define OSSL_FUNC_CIPHER_FREECTX 7
# define OSSL_FUNC_CIPHER_DUPCTX 8
-# define OSSL_FUNC_CIPHER_KEY_LENGTH 9
-# define OSSL_FUNC_CIPHER_IV_LENGTH 10
-# define OSSL_FUNC_CIPHER_BLOCK_SIZE 11
-# define OSSL_FUNC_CIPHER_GET_PARAMS 12
-# define OSSL_FUNC_CIPHER_CTX_GET_PARAMS 13
-# define OSSL_FUNC_CIPHER_CTX_SET_PARAMS 14
+# define OSSL_FUNC_CIPHER_GET_PARAMS 9
+# define OSSL_FUNC_CIPHER_CTX_GET_PARAMS 10
+# define OSSL_FUNC_CIPHER_CTX_SET_PARAMS 11
OSSL_CORE_MAKE_FUNC(void *, OP_cipher_newctx, (void *provctx))
OSSL_CORE_MAKE_FUNC(int, OP_cipher_encrypt_init, (void *cctx,
const unsigned char *in, size_t inl))
OSSL_CORE_MAKE_FUNC(void, OP_cipher_freectx, (void *cctx))
OSSL_CORE_MAKE_FUNC(void *, OP_cipher_dupctx, (void *cctx))
-OSSL_CORE_MAKE_FUNC(size_t, OP_cipher_key_length, (void))
-OSSL_CORE_MAKE_FUNC(size_t, OP_cipher_iv_length, (void))
-OSSL_CORE_MAKE_FUNC(size_t, OP_cipher_block_size, (void))
-OSSL_CORE_MAKE_FUNC(int, OP_cipher_get_params, (const OSSL_PARAM params[]))
+OSSL_CORE_MAKE_FUNC(int, OP_cipher_get_params, (OSSL_PARAM params[]))
OSSL_CORE_MAKE_FUNC(int, OP_cipher_ctx_get_params, (void *cctx,
- const OSSL_PARAM params[]))
+ OSSL_PARAM params[]))
OSSL_CORE_MAKE_FUNC(int, OP_cipher_ctx_set_params, (void *cctx,
const OSSL_PARAM params[]))