Sarajevo, Bosnia and Herzegovina

20. Jazz Fest Sarajevo 2016

PROGRAM 2. novembar BOSANSKI KULTURNI CENTAR – double bill / dva koncerta, jedna ulaznica 20.00 Bugge Wesseltoft’s New Conception Of Jazz Marthe Lea, saksofon Oddrun Lilja Jonsdottir, gitara Sanskriti Shrestha, tabla Siv Øyun Kjenstad, bubnjevi Bugge Wesseltoft, klavijature 22.00 Rob Mazurek Sao Paulo Underground Rob Mazurek, kornet, elektronika Guilherme Granado, klavijature, vokal Mauricio Takara, udaraljke, […]

Read more

Partition resize after dd copy

When you copy a partition at the byte level (with dd or similar tools), you are copying the entire filesystem which will have the same size even in a newer, larger HDD. Therefore, it is necessery just to execute resize2fs /dev/sdX where /dev/sdX is the name of your partition. resize2fs will grow the filesystem when […]

Read more

Crypto++ VMAC issue

Well, I tried code available on http://www.cryptopp.com/wiki/VMAC in my NS-3 project on the following way: inputString = base64_encode (inputString); byte* Kkey = key->GetKey(); byte digestBytes[key->GetSize()]; byte digestBytes2[key->GetSize()]; CryptoPP::VMAC vmac; vmac.SetKeyWithIV(Kkey, key->GetSize(), m_iv, CryptoPP::AES::BLOCKSIZE); vmac.CalculateDigest(digestBytes, (byte *) inputString.c_str(), inputString.length()); //VMAC Verification vmac.SetKeyWithIV(Kkey, key->GetSize(), m_iv, CryptoPP::AES::BLOCKSIZE); vmac.CalculateDigest(digestBytes2, (byte *) inputString.c_str(), inputString.length()); std::string outputString = std::string( (char*)digestBytes, sizeof(digestBytes […]

Read more

Installing crypto++ with ns3

Installing crypto++ (libcryptopp) on Ubuntu sudo apt-get install libcrypto++-dev libcrypto++-doc libcrypto++-utils On distributions which use yum (such as Fedora): yum install cryptopp cryptopp-devel More details on: http://stackoverflow.com/questions/19187990/installing-crypto-libcryptopp-on-ubuntu and https://www.cryptopp.com/wiki/Linux Then compile and run some test.cc source file Make testcode.cc which contains following: /* -*- Mode:C++; c-file-style:”gnu”; indent-tabs-mode:nil; -*- */ #include <iostream> int main (int argc, […]

Read more