diff options
author | Michael Gebetsroither <gebi@mgeb.org> | 2008-03-18 15:02:40 +0000 |
---|---|---|
committer | Michael Gebetsroither <gebi@mgeb.org> | 2008-03-18 15:02:40 +0000 |
commit | a35a207fae02334e3f08f566cd53e1b8b5337b48 (patch) | |
tree | 425995f720a3466ac45a01c2d99e483162cee4f4 /cipher.cpp | |
parent | datatypes.h: correct datatypes (diff) |
changed u_int32_t* argument to size_t* in Mpi::getNewBuf
Diffstat (limited to 'cipher.cpp')
-rw-r--r-- | cipher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -145,7 +145,7 @@ void AesIcmCipher::calc(u_int8_t* in, u_int32_t ilen, u_int8_t* out, u_int32_t o ctr = salt.mul2exp(16) ^ sid.mul2exp(64) ^ seq.mul2exp(16); // TODO: hardcoded size - u_int32_t written; + size_t written; u_int8_t *ctr_buf = ctr.getNewBuf(&written); // TODO: hardcoded size err = gcry_cipher_setctr( cipher_, ctr_buf, written ); // TODO: hardcoded size delete[] ctr_buf; |