logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

OSSL_ITEM - OpenSSL Core type for generic itemized data

Description

       This type is a tuple of integer and pointer.  It's a generic type used as a generic descriptor, its exact
       meaning being defined by how it's used.  Arrays of this type are passed between the OpenSSL libraries and
       the providers, and must be terminated with a tuple where the integer is zero and the pointer NULL.

       This is currently mainly used for the return value of the provider's error reason strings array, see
       "Provider Functions" in provider-base(7).

History

OSSL_ITEM was added in OpenSSL 3.0

Name

       OSSL_ITEM - OpenSSL Core type for generic itemized data

See Also

crypto(7), provider-base(7), openssl-core.h(7)

Synopsis

        #include <openssl/core.h>

        typedef struct ossl_item_st OSSL_ITEM;
        struct ossl_item_st {
            unsigned int id;
            void *ptr;
        };

See Also