authorgravatar for 124872+jedisct1@users.noreply.github.comFrank Denis <124872+jedisct1@users.noreply.github.com> 2020-10-23 23:05:06+02:00
committergravatar for kubkon@jakubkonka.comJakub Konka <kubkon@jakubkonka.com> 2020-10-24 07:57:34+02:00
log91a1c20e74a8919b7d96366a5c220af79fe67168
treec69b0c94d00adc344080e96cc48df5af85221663
parent4b48fccaddd2f8f840f34779c07ad1fa634d09c5

Fix a typo (s/multple/multiple/)


3 files changed, 12 insertions(+), 12 deletions(-)

lib/std/crypto/aes/aesni.zig+4-4
......@@ -123,7 +123,7 @@ pub const Block = struct {
123123 return out;
124124 }
125125
126 /// Encrypt multple blocks in parallel with the same round key.
126 /// Encrypt multiple blocks in parallel with the same round key.
127127 pub inline fn encryptWide(comptime count: usize, blocks: [count]Block, round_key: Block) [count]Block {
128128 comptime var i = 0;
129129 var out: [count]Block = undefined;
......@@ -133,7 +133,7 @@ pub const Block = struct {
133133 return out;
134134 }
135135
136 /// Decrypt multple blocks in parallel with the same round key.
136 /// Decrypt multiple blocks in parallel with the same round key.
137137 pub inline fn decryptWide(comptime count: usize, blocks: [count]Block, round_key: Block) [count]Block {
138138 comptime var i = 0;
139139 var out: [count]Block = undefined;
......@@ -143,7 +143,7 @@ pub const Block = struct {
143143 return out;
144144 }
145145
146 /// Encrypt multple blocks in parallel with the same last round key.
146 /// Encrypt multiple blocks in parallel with the same last round key.
147147 pub inline fn encryptLastWide(comptime count: usize, blocks: [count]Block, round_key: Block) [count]Block {
148148 comptime var i = 0;
149149 var out: [count]Block = undefined;
......@@ -153,7 +153,7 @@ pub const Block = struct {
153153 return out;
154154 }
155155
156 /// Decrypt multple blocks in parallel with the same last round key.
156 /// Decrypt multiple blocks in parallel with the same last round key.
157157 pub inline fn decryptLastWide(comptime count: usize, blocks: [count]Block, round_key: Block) [count]Block {
158158 comptime var i = 0;
159159 var out: [count]Block = undefined;
lib/std/crypto/aes/armcrypto.zig+4-4
......@@ -139,7 +139,7 @@ pub const Block = struct {
139139 return out;
140140 }
141141
142 /// Encrypt multple blocks in parallel with the same round key.
142 /// Encrypt multiple blocks in parallel with the same round key.
143143 pub inline fn encryptWide(comptime count: usize, blocks: [count]Block, round_key: Block) [count]Block {
144144 comptime var i = 0;
145145 var out: [count]Block = undefined;
......@@ -149,7 +149,7 @@ pub const Block = struct {
149149 return out;
150150 }
151151
152 /// Decrypt multple blocks in parallel with the same round key.
152 /// Decrypt multiple blocks in parallel with the same round key.
153153 pub inline fn decryptWide(comptime count: usize, blocks: [count]Block, round_key: Block) [count]Block {
154154 comptime var i = 0;
155155 var out: [count]Block = undefined;
......@@ -159,7 +159,7 @@ pub const Block = struct {
159159 return out;
160160 }
161161
162 /// Encrypt multple blocks in parallel with the same last round key.
162 /// Encrypt multiple blocks in parallel with the same last round key.
163163 pub inline fn encryptLastWide(comptime count: usize, blocks: [count]Block, round_key: Block) [count]Block {
164164 comptime var i = 0;
165165 var out: [count]Block = undefined;
......@@ -169,7 +169,7 @@ pub const Block = struct {
169169 return out;
170170 }
171171
172 /// Decrypt multple blocks in parallel with the same last round key.
172 /// Decrypt multiple blocks in parallel with the same last round key.
173173 pub inline fn decryptLastWide(comptime count: usize, blocks: [count]Block, round_key: Block) [count]Block {
174174 comptime var i = 0;
175175 var out: [count]Block = undefined;
lib/std/crypto/aes/soft.zig+4-4
......@@ -180,7 +180,7 @@ pub const Block = struct {
180180 return out;
181181 }
182182
183 /// Encrypt multple blocks in parallel with the same round key.
183 /// Encrypt multiple blocks in parallel with the same round key.
184184 pub fn encryptWide(comptime count: usize, blocks: [count]Block, round_key: Block) [count]Block {
185185 var i = 0;
186186 var out: [count]Block = undefined;
......@@ -190,7 +190,7 @@ pub const Block = struct {
190190 return out;
191191 }
192192
193 /// Decrypt multple blocks in parallel with the same round key.
193 /// Decrypt multiple blocks in parallel with the same round key.
194194 pub fn decryptWide(comptime count: usize, blocks: [count]Block, round_key: Block) [count]Block {
195195 var i = 0;
196196 var out: [count]Block = undefined;
......@@ -200,7 +200,7 @@ pub const Block = struct {
200200 return out;
201201 }
202202
203 /// Encrypt multple blocks in parallel with the same last round key.
203 /// Encrypt multiple blocks in parallel with the same last round key.
204204 pub fn encryptLastWide(comptime count: usize, blocks: [count]Block, round_key: Block) [count]Block {
205205 var i = 0;
206206 var out: [count]Block = undefined;
......@@ -210,7 +210,7 @@ pub const Block = struct {
210210 return out;
211211 }
212212
213 /// Decrypt multple blocks in parallel with the same last round key.
213 /// Decrypt multiple blocks in parallel with the same last round key.
214214 pub fn decryptLastWide(comptime count: usize, blocks: [count]Block, round_key: Block) [count]Block {
215215 var i = 0;
216216 var out: [count]Block = undefined;