Fixed some typos, courtesy of codespell
authorTobias Brunner <tobias@strongswan.org>
Wed, 29 Jun 2016 14:14:17 +0000 (16:14 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 4 Jul 2016 10:18:51 +0000 (12:18 +0200)
src/libsimaka/simaka_card.h
src/libsimaka/simaka_manager.h
src/libsimaka/simaka_provider.h
src/libstrongswan/plugins/openssl/openssl_pkcs7.c
src/libtpmtss/tpm_tss_quote_info.c

index da98b17..b705923 100644 (file)
@@ -66,7 +66,7 @@ struct simaka_card_t {
         * @param ck            buffer receiving encryption key ck
         * @param ik            buffer receiving integrity key ik
         * @param res           buffer receiving authentication result res
-        * @param res_len       nubmer of bytes written to res buffer
+        * @param res_len       number of bytes written to res buffer
         * @return                      SUCCESS, FAILED, or INVALID_STATE if out of sync
         */
        status_t (*get_quintuplet)(simaka_card_t *this, identification_t *id,
index 045bed4..b10d165 100644 (file)
@@ -84,7 +84,7 @@ struct simaka_manager_t {
         * @param ck            buffer receiving encryption key ck
         * @param ik            buffer receiving integrity key ik
         * @param res           buffer receiving authentication result res
-        * @param res_len       nubmer of bytes written to res buffer
+        * @param res_len       number of bytes written to res buffer
         * @return                      SUCCESS, FAILED, or INVALID_STATE if out of sync
         */
        status_t (*card_get_quintuplet)(simaka_manager_t *this, identification_t *id,
index f4faba8..ef1c739 100644 (file)
@@ -62,7 +62,7 @@ struct simaka_provider_t {
         * @param id            permanent identity of peer to create challenge for
         * @param rand          buffer receiving random value rand
         * @param xres          buffer receiving expected authentication result xres
-        * @param xres_len      nubmer of bytes written to xres buffer
+        * @param xres_len      number of bytes written to xres buffer
         * @param ck            buffer receiving encryption key ck
         * @param ik            buffer receiving integrity key ik
         * @param autn          authentication token autn
index f10987c..5752d96 100644 (file)
@@ -507,7 +507,7 @@ static bool decrypt_symmetric(private_openssl_pkcs7_t *this, chunk_t key,
        chunk_t iv;
        size_t key_size;
 
-       /* read encryption algorithm from interal structures; TODO fixup */
+       /* read encryption algorithm from internal structures; TODO fixup */
        alg = this->cms->envelopedData->encryptedContentInfo->
                                                                                                contentEncryptionAlgorithm;
        encr = encryption_algorithm_from_oid(openssl_asn1_known_oid(alg->algorithm),
index 0afd0b5..0341738 100644 (file)
@@ -67,7 +67,7 @@ struct private_tpm_tss_quote_info_t {
        chunk_t pcr_digest;
 
        /**
-        * TPM PCR Composite Hash algoritm
+        * TPM PCR Composite Hash algorithm
         */
        hash_algorithm_t pcr_digest_alg;