Fix tcrypt-* functions