Lines Matching defs:out
65 * output to 'out' (which may be the same location as 'in') and 128-bit tag to 'tag'.
67 ResponseCode AES_gcm_encrypt(const uint8_t* in, uint8_t* out, size_t len, const uint8_t* key,
89 std::copy(out_tmp.get(), out_pos, out);
97 * 128-bit tag at 'tag' and writing plaintext to 'out' (which may be the same location as 'in').
99 ResponseCode AES_gcm_decrypt(const uint8_t* in, uint8_t* out, size_t len, const uint8_t* key,
126 std::copy(out_tmp.get(), out_pos, out);
227 auto rc = AES_gcm_encrypt(mBlob.value /* in */, mBlob.value /* out */, dataLength, aes_key,
235 int out =
237 if (out < 0) {
242 const size_t writtenBytes = writeFully(out, (uint8_t*)&mBlob, fileLength);
243 if (close(out) != 0) {
286 auto rc = AES_gcm_decrypt(mBlob.value /* in */, mBlob.value /* out */, encryptedLength,