1
0
mirror of https://github.com/henrydcase/nobs.git synced 2024-11-28 18:01:21 +00:00
nobs/drbg/internal/aes/cipher_noasm.go

28 lines
467 B
Go
Raw Normal View History

// +build noasm ppc64le riscv64
package aes
import(
"errors"
)
type AESAsm struct {
}
func (a *AESAsm) SetKey(key []byte) error {
panic("NotImplemented")
return errors.New("ErrNotImplemented")
}
func (a *AESAsm) Encrypt(dst, src []byte) {
panic("NotImplemented")
}
func (a *AESAsm) Decrypt(dst, src []byte) {
panic("NotImplemented")
}
func expandKey(key []byte, enc, dec []uint32) {
expandKeyGo(key, enc, dec)
}