diff --git a/src/rgw/rgw_crypt.cc b/src/rgw/rgw_crypt.cc index 88abd3b833d..e5e0b8cb265 100644 --- a/src/rgw/rgw_crypt.cc +++ b/src/rgw/rgw_crypt.cc @@ -35,8 +35,6 @@ using namespace rgw; /** * Encryption in CTR mode. offset is used as IV for each block. */ -#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; @@ -244,7 +242,6 @@ 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;