CRYPTO_SetAllocator

C Specification


#include <nitroCrypto/crypto.h>

void CRYPTO_SetAllocator(
void* (*alloc) (u32),
void  (*free) (void*)
);
		

Arguments

alloc Pointer to the memory allocation function.
free Pointer to the memory release function.

Return Values

None.

Description

Sets the dynamic memory management functions for the CRYPTO library. If unspecified, the default functions are OS_Alloc and OS_Free. Specifying NULL for the alloc and free arguments results in default settings.

See Also

CRYPTO_VerifySignature

Revision History

02/24/2006 Switched from Crypt to Crypto
2005/12/21 Initial version

CONFIDENTIAL