rgw: Drop #warning TODO

Drop "#warning TODO" from rgw_crypt.cc,  as the tracker is created for this requirement and the
corresponding PR is in progress for a long time.

Tracker: http://tracker.ceph.com/issues/19851
PR: https://github.com/ceph/ceph/pull/14498

Signed-off-by: Jos Collin <jcollin@redhat.com>
This commit is contained in:
Jos Collin 2017-08-14 11:32:55 +05:30
parent 0a8ceaa3a5
commit 2f8d234dbc

View File

@ -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;