Skip to content

Commit b26bf4b

Browse files
Handle 0-round case for _aes_enc_full
1 parent 77e98eb commit b26bf4b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/aarch64/aesni_common.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ Full AES encryption flow for N rounds.
147147
return uint64x2(res uint8x16(key))
148148
end
149149
end
150+
return a # pathological 0-round case
150151
end
151152

152153
"Abstract RNG that generates one number at a time and is based on AESNI."

0 commit comments

Comments
 (0)