Added bv-cat, s-cat, fixed bug in pkcs7 pad