NETLockCrypto

C Specification

#include <revolution/net.h>

BOOL NETLockCrypto(void);

Arguments

None.

Return Values

Returns TRUE if encryption can be used. Otherwise, returns FALSE.

Description

This function controls the exclusive use of encryption processing. This function must always be called before using any of the encryption functions. After it is used, call NETUnlockCrypto to unlock encryption.

This function fails and returns FALSE if modules other than the NET library are already using the encryption functions.

See Also

NETUnlockCrypto, NETAESCreate, NETAESDelete, NETAESEncrypt, NETAESDecrypt, NETECCCreate, NETECCDelete, NETECCUpdate, NETECCGetSign, NETECCVerifySign

Revision History

2006/10/12 Initial version.


CONFIDENTIAL