projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix typo in cipher_chacha20_poly1305_hw.c.
[openssl.git]
/
providers
/
implementations
/
ciphers
/
cipher_chacha20_poly1305_hw.c
diff --git
a/providers/implementations/ciphers/cipher_chacha20_poly1305_hw.c
b/providers/implementations/ciphers/cipher_chacha20_poly1305_hw.c
index 51e5275b7eeb781e41ad3dd144cf66201ce30e14..74b8fb658604ad2ec95198b9eaf98488239fdaef 100644
(file)
--- a/
providers/implementations/ciphers/cipher_chacha20_poly1305_hw.c
+++ b/
providers/implementations/ciphers/cipher_chacha20_poly1305_hw.c
@@
-142,7
+142,7
@@
static int chacha20_poly1305_tls_cipher(PROV_CIPHER_CTX *bctx,
ctx->len.text = plen;
if (plen) {
- if (ctx->enc)
+ if (
b
ctx->enc)
ctr = xor128_encrypt_n_pad(out, in, ctr, plen);
else
ctr = xor128_decrypt_n_pad(out, in, ctr, plen);