09 September 2014 4 289 Report

I have run this http://nevonprojects.com/aes-source-code-inmatlab/

AES on my audio file is giving me the error...... plaintext should be vector of 16 elements not a  cell array. I have removed that error then I have compiled it again, now it is giving me the errors below......please help me in removing these error.

The errors are

??? Error using ==> bitxor

Inputs must be unsigned integers of the same class or

scalar doubles.

Error in ==> add_round_key at 14

state_out = bitxor (state_in, round_key);

Error in ==> cipher at 97

state = add_round_key (state, round_key);

Error in ==> aes_demo at 41

ciphertext = cipher (plaintext1, w, s_box, poly_mat, 1);

Similar questions and discussions