[xmlsec/xmlsec-openssl-110: 2/9] add comments
- From: Aleksey Sanin <aleksey src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [xmlsec/xmlsec-openssl-110: 2/9] add comments
- Date: Thu, 28 Jan 2016 17:12:23 +0000 (UTC)
commit 5f97633d1f9fde1fe13a5b13cfa1ffb7cd06900f
Author: Aleksey Sanin <aleksey aleksey com>
Date: Wed Jan 27 22:46:17 2016 -0800
add comments
src/openssl/ciphers.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/openssl/ciphers.c b/src/openssl/ciphers.c
index 32e245a..66d4d27 100644
--- a/src/openssl/ciphers.c
+++ b/src/openssl/ciphers.c
@@ -152,6 +152,8 @@ xmlSecOpenSSLEvpBlockCipherCtxInit(xmlSecOpenSSLEvpBlockCipherCtxPtr ctx,
* The padding used in XML Enc does not follow RFC 1423
* and is not supported by OpenSSL. However, it is possible
* to disable padding and do it by yourself
+ *
+ * https://www.w3.org/TR/2002/REC-xmlenc-core-20021210/Overview.html#sec-Alg-Block
*/
EVP_CIPHER_CTX_set_padding(ctx->cipherCtx, 0);
@@ -346,6 +348,8 @@ xmlSecOpenSSLEvpBlockCipherCtxFinal(xmlSecOpenSSLEvpBlockCipherCtxPtr ctx,
* The padding used in XML Enc does not follow RFC 1423
* and is not supported by OpenSSL. However, it is possible
* to disable padding and do it by yourself
+ *
+ * https://www.w3.org/TR/2002/REC-xmlenc-core-20021210/Overview.html#sec-Alg-Block
*/
if(EVP_CIPHER_CTX_encrypting(ctx->cipherCtx)) {
xmlSecSize padLen;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]