Versions in this module Expand all Collapse all v1 v1.0.0 Nov 16, 2020 Changes in this version + var ErrInvalidKey = errors.New("keywrap: invalid AES key") + var ErrUnwrapCiphertext = errors.New("keywrap: cipherText must by a multiple of 64 bits") + var ErrUnwrapFailed = errors.New("keywrap: failed to unwrap key") + var ErrWrapPlaintext = errors.New("keywrap: plainText must be a multiple of 64 bits") + func Unwrap(key, cipherText []byte) ([]byte, error) + func Wrap(key, plainText []byte) ([]byte, error)