I just realized that the preshared keys for IPsec on a NetApp (as outlined in man na_psk.txt) are ascii, and on Solaris, (man ipseckey) they're in hex. Now, if I knew how NetApp's IPsec implementation translated their ascii string into bits, I could get the right corresponding hex representation to use on the Solaris client.
Anyone have any ideas?
I tried a simple a=0x61, b=0x62, so that abcd becomes 61626364, but that didn't work. I also tried swapping bytes so that abcd becomes 62616463, no luck there either. Of course it could be little endian vs. big endian, or swap words instead of bytes, or some combination of the above, or ...