MCPcopy Create free account
hub / github.com/SergeyBel/AES / ArrayToVector

Method ArrayToVector

src/AES.cpp:388–392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

386}
387
388std::vector<unsigned char> AES::ArrayToVector(unsigned char *a,
389 unsigned int len) {
390 std::vector<unsigned char> v(a, a + len * sizeof(unsigned char));
391 return v;
392}
393
394unsigned char *AES::VectorToArray(std::vector<unsigned char> &a) {
395 return a.data();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected