On Thu, 2013-07-18 at 22:16 -0400, Simo Sorce wrote: > I was taking a look at Barbican sources on github and I noticed there is > an implementation of a crypto class there. > > I was wondering if Barbican can be made to use the crypto utils pushed > to oslo-incubator instead of using a project specific version. > > I ask because the implementation seem incomplete plus it seem to me (but > it is late) that _strip_pad will just fail when the plaintext is an > exact multiple of the block_size.
NVM about this detail, _strip_pad is just fine, I knew I should not trust my eyes this late :) > Let me know if you need help using the (now) common crypto utils > functions instead. The suggestion to use the common code and offer for help stands though. Simo. -- Simo Sorce * Red Hat, Inc * New York _______________________________________________ OpenStack-dev mailing list [email protected] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
