diff options
author | Fabien DESSENNE <fabien.dessenne@st.com> | 2017-03-09 10:40:05 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-03-16 17:58:57 +0800 |
commit | 986bdd5944b3d630431198759517e79f60bd8fff (patch) | |
tree | cd67a20c3780f02149bae6a20d4c29449dbfc246 /Documentation/crypto | |
parent | 9aa2fcb8cf8b1030db2ed5afaa8737e94437a27c (diff) | |
download | linux-riscv-986bdd5944b3d630431198759517e79f60bd8fff.tar.gz linux-riscv-986bdd5944b3d630431198759517e79f60bd8fff.tar.bz2 linux-riscv-986bdd5944b3d630431198759517e79f60bd8fff.zip |
crypto: doc - fix typo (struct sdesc)
Add missing " " in api-samples.rst
Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'Documentation/crypto')
-rw-r--r-- | Documentation/crypto/api-samples.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/crypto/api-samples.rst b/Documentation/crypto/api-samples.rst index 0a10819f6107..d021fd96a76d 100644 --- a/Documentation/crypto/api-samples.rst +++ b/Documentation/crypto/api-samples.rst @@ -155,9 +155,9 @@ Code Example For Use of Operational State Memory With SHASH char ctx[]; }; - static struct sdescinit_sdesc(struct crypto_shash *alg) + static struct sdesc init_sdesc(struct crypto_shash *alg) { - struct sdescsdesc; + struct sdesc sdesc; int size; size = sizeof(struct shash_desc) + crypto_shash_descsize(alg); @@ -172,7 +172,7 @@ Code Example For Use of Operational State Memory With SHASH static int calc_hash(struct crypto_shashalg, const unsigned chardata, unsigned int datalen, unsigned chardigest) { - struct sdescsdesc; + struct sdesc sdesc; int ret; sdesc = init_sdesc(alg); |