Fix spelling mistakes using codespell

This commit corrects various spelling mistakes throughout the
repository. The corrections were made automatically using `codespell`[1]
tool.

[1]: https://github.com/codespell-project/codespell

Change-Id: I153217f4ae8454e3546a59da9fcfe3f83fd04b39
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
diff --git a/src/erase/cryptoErase.cpp b/src/erase/cryptoErase.cpp
index 530ed8d..08553f7 100644
--- a/src/erase/cryptoErase.cpp
+++ b/src/erase/cryptoErase.cpp
@@ -52,7 +52,7 @@
         throw ResourceNotFound();
     }
 
-    /* destory working keyslots */
+    /* destroy working keyslots */
     bool keySlotIssue = false;
     for (int i = 0; i < nKeySlots; i++)
     {
diff --git a/src/erase/pattern.cpp b/src/erase/pattern.cpp
index 7855fc9..3d6c27b 100644
--- a/src/erase/pattern.cpp
+++ b/src/erase/pattern.cpp
@@ -25,7 +25,7 @@
 
 void Pattern::writePattern(const uint64_t driveSize, Fd& fd)
 {
-    // static seed defines a fixed prng sequnce so it can be verified later,
+    // static seed defines a fixed prng sequence so it can be verified later,
     // and validated for entropy
     uint64_t currentIndex = 0;
 
diff --git a/src/test/erase/pattern_test.cpp b/src/test/erase/pattern_test.cpp
index b3cdfee..bccbd37 100644
--- a/src/test/erase/pattern_test.cpp
+++ b/src/test/erase/pattern_test.cpp
@@ -48,7 +48,7 @@
 }
 
 /* This test that pattern writes the correct number of bytes even if
- * size of the drive is not divisable by the block size
+ * size of the drive is not divisible by the block size
  */
 
 TEST(pattern, patternNotDivisible)
diff --git a/src/test/erase/zero_test.cpp b/src/test/erase/zero_test.cpp
index f57cd62..ee9dd50 100644
--- a/src/test/erase/zero_test.cpp
+++ b/src/test/erase/zero_test.cpp
@@ -43,7 +43,7 @@
 }
 
 /* This test that pattern writes the correct number of bytes even if
- * size of the drive is not divisable by the block size
+ * size of the drive is not divisible by the block size
  */
 TEST(Zeros, notDivisible)
 {