Why would you use scrypt for anything except strengthening low entropy secrets (like passwords)? For high entropy secrets there are much simpler and cleaner alternatives, such as HKDF.