Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Masanari Iida <standby24x7@gmail.com>
Acked-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Masanari Iida and committed by
Herbert Xu
12f7c14a 6b212f0f

+4 -4
+1 -1
include/crypto/aead.h
··· 33 33 * 34 34 * The example code provided for the asynchronous block cipher operation 35 35 * applies here as well. Naturally all *ablkcipher* symbols must be exchanged 36 - * the *aead* pendants discussed in the following. In addtion, for the AEAD 36 + * the *aead* pendants discussed in the following. In addition, for the AEAD 37 37 * operation, the aead_request_set_assoc function must be used to set the 38 38 * pointer to the associated data memory location before performing the 39 39 * encryption or decryption operation. In case of an encryption, the associated
+1 -1
include/crypto/hash.h
··· 66 66 /** 67 67 * struct ahash_alg - asynchronous message digest definition 68 68 * @init: Initialize the transformation context. Intended only to initialize the 69 - * state of the HASH transformation at the begining. This shall fill in 69 + * state of the HASH transformation at the beginning. This shall fill in 70 70 * the internal structures used during the entire duration of the whole 71 71 * transformation. No data processing happens at this point. 72 72 * @update: Push a chunk of data into the driver for transformation. This
+1 -1
include/crypto/rng.h
··· 28 28 * if provided to the call. 29 29 * @seed: Seed or reseed the random number generator. With the 30 30 * invocation of this function call, the random number 31 - * generator shall become ready fo generation. If the 31 + * generator shall become ready for generation. If the 32 32 * random number generator requires a seed for setting 33 33 * up a new state, the seed must be provided by the 34 34 * consumer while invoking this function. The required
+1 -1
include/linux/crypto.h
··· 451 451 * transformation algorithm. 452 452 * @cra_type: Type of the cryptographic transformation. This is a pointer to 453 453 * struct crypto_type, which implements callbacks common for all 454 - * trasnformation types. There are multiple options: 454 + * transformation types. There are multiple options: 455 455 * &crypto_blkcipher_type, &crypto_ablkcipher_type, 456 456 * &crypto_ahash_type, &crypto_aead_type, &crypto_rng_type. 457 457 * This field might be empty. In that case, there are no common