Copyright(c) 2011-2016 Intel Corporation All rights reserved.
Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
+ modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
XTS_AES_128_enc_expanded_key(expkey2_enc, expkey1_enc, vlist[i].TW,
vlist[i].ptlen, vlist[i].PTX, ct_test);
- // Carry out comparison of the calculated ciphertext with
+ // Carry out comparison of the calculated ciphertext with
// the reference
for (j = 0; j < vlist[i].ptlen; j++) {
printf("Can't allocate plaintext memory\n");
return -1;
}
- // Pre-expand keys for the decryption
+ // Pre-expand keys for the decryption
aes_keyexp_128(vlist[i].key1, expkey1_enc, expkey1_dec);
aes_keyexp_128(vlist[i].key2, expkey2_enc, null_key);
XTS_AES_128_dec_expanded_key(expkey2_enc, expkey1_dec, vlist[i].TW,
vlist[i].ptlen, vlist[i].CTX, pt_test);
- // Carry out comparison of the calculated ciphertext with
+ // Carry out comparison of the calculated ciphertext with
// the reference
for (j = 0; j < vlist[i].ptlen; j++) {