[CRYPTO] all: Pass tfm instead of ctx to algorithms