Commit 12f7c14a authored by Masanari Iida's avatar Masanari Iida Committed by Herbert Xu

crypto: doc - Fix typo in crypto-API.xml

This patch fix some typos found in crypto-API.xml.
It is because the file is generated from comments in sources,
so I had to fix typo in sources.
Signed-off-by: default avatarMasanari Iida <standby24x7@gmail.com>
Acked-by: default avatarStephan Mueller <smueller@chronox.de>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 6b212f0f
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
* *
* The example code provided for the asynchronous block cipher operation * The example code provided for the asynchronous block cipher operation
* applies here as well. Naturally all *ablkcipher* symbols must be exchanged * applies here as well. Naturally all *ablkcipher* symbols must be exchanged
* the *aead* pendants discussed in the following. In addtion, for the AEAD * the *aead* pendants discussed in the following. In addition, for the AEAD
* operation, the aead_request_set_assoc function must be used to set the * operation, the aead_request_set_assoc function must be used to set the
* pointer to the associated data memory location before performing the * pointer to the associated data memory location before performing the
* encryption or decryption operation. In case of an encryption, the associated * encryption or decryption operation. In case of an encryption, the associated
......
...@@ -66,7 +66,7 @@ struct ahash_request { ...@@ -66,7 +66,7 @@ struct ahash_request {
/** /**
* struct ahash_alg - asynchronous message digest definition * struct ahash_alg - asynchronous message digest definition
* @init: Initialize the transformation context. Intended only to initialize the * @init: Initialize the transformation context. Intended only to initialize the
* state of the HASH transformation at the begining. This shall fill in * state of the HASH transformation at the beginning. This shall fill in
* the internal structures used during the entire duration of the whole * the internal structures used during the entire duration of the whole
* transformation. No data processing happens at this point. * transformation. No data processing happens at this point.
* @update: Push a chunk of data into the driver for transformation. This * @update: Push a chunk of data into the driver for transformation. This
......
...@@ -28,7 +28,7 @@ struct crypto_rng; ...@@ -28,7 +28,7 @@ struct crypto_rng;
* if provided to the call. * if provided to the call.
* @seed: Seed or reseed the random number generator. With the * @seed: Seed or reseed the random number generator. With the
* invocation of this function call, the random number * invocation of this function call, the random number
* generator shall become ready fo generation. If the * generator shall become ready for generation. If the
* random number generator requires a seed for setting * random number generator requires a seed for setting
* up a new state, the seed must be provided by the * up a new state, the seed must be provided by the
* consumer while invoking this function. The required * consumer while invoking this function. The required
......
...@@ -451,7 +451,7 @@ struct compress_alg { ...@@ -451,7 +451,7 @@ struct compress_alg {
* transformation algorithm. * transformation algorithm.
* @cra_type: Type of the cryptographic transformation. This is a pointer to * @cra_type: Type of the cryptographic transformation. This is a pointer to
* struct crypto_type, which implements callbacks common for all * struct crypto_type, which implements callbacks common for all
* trasnformation types. There are multiple options: * transformation types. There are multiple options:
* &crypto_blkcipher_type, &crypto_ablkcipher_type, * &crypto_blkcipher_type, &crypto_ablkcipher_type,
* &crypto_ahash_type, &crypto_aead_type, &crypto_rng_type. * &crypto_ahash_type, &crypto_aead_type, &crypto_rng_type.
* This field might be empty. In that case, there are no common * This field might be empty. In that case, there are no common
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment