]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Converting TODO comments to warnings to make them more conspicuous.
authorAdam Kupczyk <akupczyk@mirantis.com>
Thu, 9 Mar 2017 16:21:03 +0000 (17:21 +0100)
committerAdam Kupczyk <akupczyk@mirantis.com>
Wed, 5 Apr 2017 16:31:58 +0000 (18:31 +0200)
Signed-off-by: Adam Kupczyk <akupczyk@mirantis.com>
src/rgw/rgw_crypt.cc

index 4da4b1604b0f334296205d84f8a8de31024a9995..ce0944c9a8db71789c7c1e9e1e0092e0ec60ddfc 100644 (file)
@@ -34,8 +34,9 @@ using namespace rgw;
 
 /**
  * Encryption in CTR mode. offset is used as IV for each block.
- * TODO: move this code to auth/Crypto for others to reuse.
  */
+#warning "TODO: move this code to auth/Crypto for others to reuse."
+
 class AES_256_CTR : public BlockCrypt {
 public:
   static const size_t AES_256_KEYSIZE = 256 / 8;
@@ -220,7 +221,7 @@ CryptoAccelRef get_crypto_accel(CephContext *cct)
 
 /**
  * Encryption in CBC mode. Chunked to 4K blocks. Offset is used as IV for each 4K block.
- * TODO: use auth/Crypto instead of reimplementing.
+ *
  *
  *
  * A. Encryption
@@ -243,7 +244,7 @@ CryptoAccelRef get_crypto_accel(CephContext *cct)
  * 6. (Special case) If m == 0 then last n bytes are xor-ed with pattern
  *    obtained by CBC ENCRYPTION of {0} with IV derived from offset
  */
-
+#warning "TODO: use auth/Crypto instead of reimplementing."
 class AES_256_CBC : public BlockCrypt {
 public:
   static const size_t AES_256_KEYSIZE = 256 / 8;