1
0
mirror of https://github.com/henrydcase/nobs.git synced 2024-11-26 00:51:22 +00:00
nobs/drbg/internal/aes/cipher_noasm.go

28 lines
467 B
Go
Raw Permalink 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)
}