NetBSD guide details sparc64 disk encryption using cgd and Argon2id
A NetBSD walkthrough shows how to encrypt a disklabel partition (wd0d) on sparc64 using the cgdconfig tool with the Argon2id key derivation function and adiantum cipher at 256 bits. It then describes nesting a second disklabel inside the encrypted cgd0 device so the system can verify a correct password by checking for a valid disklabel before mounting a file system.