BN_CTX_init(ret); ret->flags=BN_FLG_MALLOCED; return(ret);
BN_POOL_init(&ret->pool); BN_STACK_init(&ret->stack); ret->used = 0; ret->err_stack = 0; ret->too_many = 0; return ret;
BN_CTX *BN_CTX_new(void)	{	BN_CTX *ret;	ret=(BN_CTX *)OPENSSL_malloc(sizeof(BN_CTX));	if (ret == NULL)		{		BNerr(BN_F_BN_CTX_NEW,ERR_R_MALLOC_FAILURE);		return(NULL);		}	BN_CTX_init(ret);	ret->flags=BN_FLG_MALLOCED;	return(ret);	}