botan.utils.mem_ops

Memory Operations

Public Imports

botan_math.mem_ops
public import botan_math.mem_ops;
Undocumented in source.

Members

Functions

bufferInsert
size_t bufferInsert(Vector!(T, Alloc) buf, size_t buf_offset, T* input, size_t input_length)
Undocumented in source. Be warned that the author may not have intended to support it.
bufferInsert
size_t bufferInsert(Vector!(T, Alloc) buf, size_t buf_offset, Vector!(T, Alloc2) input)
Undocumented in source. Be warned that the author may not have intended to support it.
sameMem
bool sameMem(T* p1, T* p2, size_t n)

Memory comparison, input insensitive

setMem
void setMem(T* ptr, size_t n, ubyte val)

Set memory to a fixed value

unlock
Vector!T unlock(Vector!(T, ALLOC) input)
Undocumented in source. Be warned that the author may not have intended to support it.
unlock
RefCounted!(Vector!T) unlock(RefCounted!(Vector!(T, ALLOC), ALLOC) input)
Undocumented in source. Be warned that the author may not have intended to support it.
zap
void zap(Vector!(T, Alloc) vec)

Zeroise the values then free the memory

zeroise
void zeroise(Vector!(T, Alloc) vec)

Zeroise the values; length remains unchanged

zeroise
void zeroise(T[] mem)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta

License

Botan is released under the Simplified BSD License (see LICENSE.md)