add internal calculation of output buffer size according to PKS#11 Section 11.2 to crypt methods
add internal calculation of output buffer size according to PKS#11 Section 11.2 to crypt methods

removed duplicated code common_crypt()/common_crypt_update()

larskanis/pkcs11,larskanis/pkcs11