BlindRotaete((𝐚,b),𝐁𝐊)
b̃=2N-⌈2N⋅b⌋
trlwe = (0,X⁻ᵇ̃⋅t[X])
for i from 0 to n-1
ã=⌈2N⋅aᵢ⌋
trlwe = CMUX(𝐁𝐊ᵢ,Xᵃ̃⋅trlwe,trlwe)//Dec(𝐁𝐊ᵢ)?Xᵃ̃⋅trlwe:trlwe
return trlwe
IdentityKeySwitch((𝐚',b'),𝐊𝐒)
b̃=b'
for i from 0 to n
ãᵢ = 0
for i from 0 to N
for j from 0 to t-1
(𝐚̃,b̃) -= (⌊aᵢ'*2ʲ⁺¹⌋ mod 2) ⋅ KSᵢⱼ
return (𝐚̃,b̃)