NetSim Source Code Help
Loading...
Searching...
No Matches
AESEncryption.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include <time.h>
#include <stdint.h>
Include dependency graph for AESEncryption.h:

Go to the source code of this file.

Macros

#define _AESENCRYPTION_H_
 
#define _CRT_SECURE_NO_DEPRECATE
 
#define _CRT_SECURE_NO_WARNINGS
 

Typedefs

typedef void * ptrFILEENCRYPTIONHANDLE
 

Functions

_Check_return_ _AES_EXPORT_ ptrFILEENCRYPTIONHANDLE __cdecl open_encrypted_file (_In_z_ char const *_FileName)
 
 _Success_ (return !=-1) _Check_return_opt_ _AES_EXPORT_ int __cdecl close_encrypted_file(_In_ _Post_invalid_ ptrFILEENCRYPTIONHANDLE _Stream)
 
 _Success_ (return==_Buffer) _Check_return_opt_ _AES_EXPORT_ char *__cdecl read_line_from_encrypted_file(_Out_writes_z_(_MaxCount) char *_Buffer
 

Variables

_In_ int _MaxCount
 
_In_ int _Inout_ ptrFILEENCRYPTIONHANDLE _Stream
 
_In_ const char * keyId
 

Macro Definition Documentation

◆ _AESENCRYPTION_H_

#define _AESENCRYPTION_H_

Definition at line 3 of file AESEncryption.h.

◆ _CRT_SECURE_NO_DEPRECATE

#define _CRT_SECURE_NO_DEPRECATE

Definition at line 5 of file AESEncryption.h.

◆ _CRT_SECURE_NO_WARNINGS

#define _CRT_SECURE_NO_WARNINGS

Definition at line 8 of file AESEncryption.h.

Typedef Documentation

◆ ptrFILEENCRYPTIONHANDLE

typedef void* ptrFILEENCRYPTIONHANDLE

Definition at line 37 of file AESEncryption.h.

Function Documentation

◆ _Success_() [1/2]

_Success_ ( return !  = -1)

◆ _Success_() [2/2]

_Success_ ( return  = = _Buffer)

◆ open_encrypted_file()

_Check_return_ _AES_EXPORT_ ptrFILEENCRYPTIONHANDLE __cdecl open_encrypted_file ( _In_z_ char const *  _FileName)

Variable Documentation

◆ _MaxCount

_In_ int _MaxCount

Definition at line 57 of file AESEncryption.h.

◆ _Stream

_In_ int _Inout_ ptrFILEENCRYPTIONHANDLE _Stream

Definition at line 58 of file AESEncryption.h.

◆ keyId

_In_ const char* keyId

Definition at line 65 of file AESEncryption.h.