]> 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>
Wed, 27 Mar 2019 10:23:52 +0000 (11:23 +0100)
commit1bf59f68db608084a1e7a05aca4cca8a8ab76062
tree8f66c4600a4f1365bf23669863d093937ffbc392
parent9e13a42daaba26751f56f2454f9ec314d7d0d460
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>
src/test/rgw/test_rgw_crypto.cc