| 1114 | } |
| 1115 | |
| 1116 | uint8_t * GarlicDestination::GetPayloadBuffer () |
| 1117 | { |
| 1118 | if (!m_PayloadBuffer) |
| 1119 | m_PayloadBuffer = new uint8_t[I2NP_MAX_MESSAGE_SIZE]; |
| 1120 | return m_PayloadBuffer; |
| 1121 | } |
| 1122 | |
| 1123 | bool GarlicDestination::AEADChaCha20Poly1305Encrypt (const uint8_t * msg, size_t msgLen, const uint8_t * ad, size_t adLen, |
| 1124 | const uint8_t * key, const uint8_t * nonce, uint8_t * buf, size_t len) |
no outgoing calls
no test coverage detected