aboutsummaryrefslogtreecommitdiffstats
path: root/cipher
diff options
context:
space:
mode:
Diffstat (limited to 'cipher')
-rw-r--r--cipher/cipher.c4
-rw-r--r--cipher/pubkey.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/cipher/cipher.c b/cipher/cipher.c
index 4ef0d817a..f55ce8b4a 100644
--- a/cipher/cipher.c
+++ b/cipher/cipher.c
@@ -586,7 +586,7 @@ do_cfb_encrypt( CIPHER_HANDLE c, byte *outbuf, byte *inbuf, unsigned nbytes )
/* Now we can process complete blocks. We use a loop as long as we
have at least 2 blocks and use conditions for the rest. This
- also allows to use a bulk encryption function if available. */
+ also allows use of a bulk encryption function if available. */
#ifdef USE_AES
if (nbytes >= blocksize_x_2
&& (c->algo == CIPHER_ALGO_AES
@@ -677,7 +677,7 @@ do_cfb_decrypt( CIPHER_HANDLE c, byte *outbuf, byte *inbuf, unsigned nbytes )
/* Now we can process complete blocks. We use a loop as long as we
have at least 2 blocks and use conditions for the rest. This
- also allows to use a bulk encryption function if available. */
+ also allows use of a bulk encryption function if available. */
#ifdef USE_AES
if (nbytes >= blocksize_x_2
&& (c->algo == CIPHER_ALGO_AES
diff --git a/cipher/pubkey.c b/cipher/pubkey.c
index 02c096ea6..60d855c98 100644
--- a/cipher/pubkey.c
+++ b/cipher/pubkey.c
@@ -276,7 +276,7 @@ check_pubkey_algo2( int algo, unsigned use )
int i;
/* Map type 20 Elgamal algorithm to type 16 if it is used for
- decryption. This allows to use legacy type 20 Elgamal keys for
+ decryption. This allows use of legacy type 20 Elgamal keys for
decryption. */
if (algo == PUBKEY_ALGO_ELGAMAL && use == PUBKEY_USAGE_ENC)
algo = PUBKEY_ALGO_ELGAMAL_E;