starcrypto/xts_keysplit.go

16 lines
401 B
Go
Raw Normal View History

package starcrypto
import "b612.me/starcrypto/symm"
func SplitXTSMasterKey(masterKey []byte) ([]byte, []byte, error) {
return symm.SplitXTSMasterKey(masterKey)
}
func SplitAesXTSMasterKey(masterKey []byte) ([]byte, []byte, error) {
return symm.SplitAesXTSMasterKey(masterKey)
}
func SplitSM4XTSMasterKey(masterKey []byte) ([]byte, []byte, error) {
return symm.SplitSM4XTSMasterKey(masterKey)
}