outll
OPENSSL_clear_free((char *)buf_out, outll);
size_t inl = 0, outl = 0, outll = 0;
if (!EVP_DigestSign(ctx, NULL, &outll, buf_in, inl)) {
outl = outll;
buf_out = OPENSSL_malloc(outll);
OPENSSL_clear_free((char *)buf_out, outll);
size_t inll = 0, outll = 0;
outll = outl = EVP_PKEY_get_size(pkey);
buf_out = OPENSSL_malloc(outll);
#define out64(a,v) outll(a,v)