]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/crypto/isa-l/isa-l_crypto/aes/xts_128_test.c
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / crypto / isa-l / isa-l_crypto / aes / xts_128_test.c
index 4092d2dd2b526a467c251d6da682c89db70bfaba..5dd57e33c4ddd932cc94afd2b6d2568971e5c4a2 100644 (file)
@@ -2,7 +2,7 @@
   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.
@@ -55,7 +55,7 @@ int main(void)
                XTS_AES_128_enc(vlist[i].key2, vlist[i].key1, 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++) {
 
@@ -89,7 +89,7 @@ int main(void)
                for (j = 0; j < vlist[i].ptlen; j++) {
 
                        if (pt_test[j] != vlist[i].PTX[j]) {
-                               // Carry out comparison of the calculated ciphertext with 
+                               // Carry out comparison of the calculated ciphertext with
                                // the reference
                                printf("\nXTS_AES_128_enc: Vector %d: ",
                                       i < 9 ? i + 1 : i + 6);