Lines Matching refs:outBytes
148 size_t* macLen, unsigned char* outBytes, in encryptDecryptData() argument
152 outBytes == NULL || mac == NULL || inBytesLen == 0 || in encryptDecryptData()
202 if ((retval = EVP_CipherUpdate(ctx.get(), outBytes + outLen, &outEVPLen, in encryptDecryptData()
206 if ((retval = EVP_CipherFinal(ctx.get(), outBytes + outLen, in encryptDecryptData()
227 if (NULL == HMAC(EVP_sha256(), key, keyLen, outBytes, *outBytesLen, mac, in encryptDecryptData()
275 int PasswdMgr::readPasswdFileData(SecureString& outBytes) in readPasswdFileData() argument
347 outBytes.resize(inBytesLen + EVP_MAX_BLOCK_LENGTH, '\0'); in readPasswdFileData()
350 reinterpret_cast<unsigned char*>(outBytes.data()), in readPasswdFileData()
357 outBytes.resize(outBytesLen); in readPasswdFileData()
522 std::vector<uint8_t> outBytes(inBytesLen + EVP_MAX_BLOCK_LENGTH); in updatePasswdSpecialFile() local
529 mac.data(), &macLen, outBytes.data(), &outBytesLen) != 0) in updatePasswdSpecialFile()
534 outBytes[outBytesLen] = 0; in updatePasswdSpecialFile()
564 if (fwrite(&outBytes[0], 1, outBytesLen, (temp)()) != outBytesLen) in updatePasswdSpecialFile()