[#EVP_PKEY_get_size] = EVP_PKEY_get_size :mrdocs: Return the maximum signature or related output size for a key in bytes. == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int EVP_PKEY_get_size(xref:EVP_PKEY.adoc[EVP_PKEY] const* pkey); ---- == Return Value Maximum size in bytes suitable for allocating signature buffers, or 0 on error. == Parameters [cols="1,4"] |=== | Name| Description | *pkey* | Key to query (for example RSA or EC). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#