Fixed some typos, courtesy of codespell

This commit is contained in:
Tobias Brunner
2016-07-04 12:18:51 +02:00
parent 5e5dee36b6
commit 1fafc56b95
5 changed files with 5 additions and 5 deletions
+1 -1
View 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,
+1 -1
View 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,
+1 -1
View 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
@@ -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),
+1 -1
View 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;