]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
tests: rgw crypto tests with partlen vector
authorAbhishek Lekshmanan <abhishek@suse.com>
Tue, 26 Mar 2019 18:12:15 +0000 (19:12 +0100)
committerAbhishek Lekshmanan <abhishek@suse.com>
Mon, 1 Apr 2019 15:58:27 +0000 (17:58 +0200)
commitc83b03b4062634e62e1ecfef96231dbe9dc14ff1
treeb4363463802a84de71b16a6c92225a33b0c5e2c7
parentd0df6406046d462988843cca5aaf5db68b9eebd7
tests: rgw crypto tests with partlen vector

4 tests are added when either obj_size for an aligned object, and when an object
is not aligned to a boundary (1 B last part), or part_size is not aligned to a
boundary. Comments on boundary case explains the logic on choosing whether to
align to a 4095B boundary or not

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
(cherry picked from commit 1bf59f68db608084a1e7a05aca4cca8a8ab76062)
src/test/rgw/test_rgw_crypto.cc