Skip to content

Commit

Permalink
Fix a typo (s/multple/multiple/)
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 authored and kubkon committed Oct 24, 2020
1 parent 4b48fcc commit 91a1c20
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions lib/std/crypto/aes/aesni.zig
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ pub const Block = struct {
return out;
}

/// Encrypt multple blocks in parallel with the same round key.
/// Encrypt multiple blocks in parallel with the same round key.
pub inline fn encryptWide(comptime count: usize, blocks: [count]Block, round_key: Block) [count]Block {
comptime var i = 0;
var out: [count]Block = undefined;
Expand All @@ -133,7 +133,7 @@ pub const Block = struct {
return out;
}

/// Decrypt multple blocks in parallel with the same round key.
/// Decrypt multiple blocks in parallel with the same round key.
pub inline fn decryptWide(comptime count: usize, blocks: [count]Block, round_key: Block) [count]Block {
comptime var i = 0;
var out: [count]Block = undefined;
Expand All @@ -143,7 +143,7 @@ pub const Block = struct {
return out;
}

/// Encrypt multple blocks in parallel with the same last round key.
/// Encrypt multiple blocks in parallel with the same last round key.
pub inline fn encryptLastWide(comptime count: usize, blocks: [count]Block, round_key: Block) [count]Block {
comptime var i = 0;
var out: [count]Block = undefined;
Expand All @@ -153,7 +153,7 @@ pub const Block = struct {
return out;
}

/// Decrypt multple blocks in parallel with the same last round key.
/// Decrypt multiple blocks in parallel with the same last round key.
pub inline fn decryptLastWide(comptime count: usize, blocks: [count]Block, round_key: Block) [count]Block {
comptime var i = 0;
var out: [count]Block = undefined;
Expand Down
8 changes: 4 additions & 4 deletions lib/std/crypto/aes/armcrypto.zig
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ pub const Block = struct {
return out;
}

/// Encrypt multple blocks in parallel with the same round key.
/// Encrypt multiple blocks in parallel with the same round key.
pub inline fn encryptWide(comptime count: usize, blocks: [count]Block, round_key: Block) [count]Block {
comptime var i = 0;
var out: [count]Block = undefined;
Expand All @@ -149,7 +149,7 @@ pub const Block = struct {
return out;
}

/// Decrypt multple blocks in parallel with the same round key.
/// Decrypt multiple blocks in parallel with the same round key.
pub inline fn decryptWide(comptime count: usize, blocks: [count]Block, round_key: Block) [count]Block {
comptime var i = 0;
var out: [count]Block = undefined;
Expand All @@ -159,7 +159,7 @@ pub const Block = struct {
return out;
}

/// Encrypt multple blocks in parallel with the same last round key.
/// Encrypt multiple blocks in parallel with the same last round key.
pub inline fn encryptLastWide(comptime count: usize, blocks: [count]Block, round_key: Block) [count]Block {
comptime var i = 0;
var out: [count]Block = undefined;
Expand All @@ -169,7 +169,7 @@ pub const Block = struct {
return out;
}

/// Decrypt multple blocks in parallel with the same last round key.
/// Decrypt multiple blocks in parallel with the same last round key.
pub inline fn decryptLastWide(comptime count: usize, blocks: [count]Block, round_key: Block) [count]Block {
comptime var i = 0;
var out: [count]Block = undefined;
Expand Down
8 changes: 4 additions & 4 deletions lib/std/crypto/aes/soft.zig
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ pub const Block = struct {
return out;
}

/// Encrypt multple blocks in parallel with the same round key.
/// Encrypt multiple blocks in parallel with the same round key.
pub fn encryptWide(comptime count: usize, blocks: [count]Block, round_key: Block) [count]Block {
var i = 0;
var out: [count]Block = undefined;
Expand All @@ -190,7 +190,7 @@ pub const Block = struct {
return out;
}

/// Decrypt multple blocks in parallel with the same round key.
/// Decrypt multiple blocks in parallel with the same round key.
pub fn decryptWide(comptime count: usize, blocks: [count]Block, round_key: Block) [count]Block {
var i = 0;
var out: [count]Block = undefined;
Expand All @@ -200,7 +200,7 @@ pub const Block = struct {
return out;
}

/// Encrypt multple blocks in parallel with the same last round key.
/// Encrypt multiple blocks in parallel with the same last round key.
pub fn encryptLastWide(comptime count: usize, blocks: [count]Block, round_key: Block) [count]Block {
var i = 0;
var out: [count]Block = undefined;
Expand All @@ -210,7 +210,7 @@ pub const Block = struct {
return out;
}

/// Decrypt multple blocks in parallel with the same last round key.
/// Decrypt multiple blocks in parallel with the same last round key.
pub fn decryptLastWide(comptime count: usize, blocks: [count]Block, round_key: Block) [count]Block {
var i = 0;
var out: [count]Block = undefined;
Expand Down

0 comments on commit 91a1c20

Please sign in to comment.