MCPcopy Create free account
hub / github.com/FreeApophis/TrueCrypt / EncryptBuffer

Function EncryptBuffer

Common/Crypto.c:1243–1336  ·  view source on GitHub ↗

EncryptBuffer buf: data to be encrypted; the start of the buffer is assumed to be aligned with the start of a data unit. len: number of bytes to encrypt; must be divisible by the block size (for cascaded ciphers, divisible by the largest block size used within the cascade)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

DecryptDriveFunction · 0.85
TestSectorBufEncryptionFunction · 0.85
CreateVolumeHeaderMethod · 0.85
ReadVolumeHeaderFunction · 0.85
BackupVolumeHeaderFunction · 0.85
EncryptMethod · 0.85
EncryptMethod · 0.85

Calls 8

EAGetFirstCipherFunction · 0.85
EAGetNextCipherFunction · 0.85
EncryptBufferXTSFunction · 0.85
CipherGetKeyScheduleSizeFunction · 0.85
CipherGetBlockSizeFunction · 0.85
EncryptBufferLRW64Function · 0.85
EncryptBufferLRW128Function · 0.85
EncryptBufferCBCFunction · 0.85

Tested by 2

TestSectorBufEncryptionFunction · 0.68