Research Article

Crystals-Dilithium on ARMv8

Algorithm 2

Signing sign ().
(1): = 
(2) : = 
(3) : = 0, : = 
(4)while: =  do
(5) : = 
(6)
(7)
(8): = 
(9): = 
(10): = 
(11)if or or then: = 
(12) else
(13)  : = 
(14)  if or the # of 1’s in is greater than then: = 
(15)
(16)return