Added function definitions to cfb and shllink