]> git.ipfire.org Git - ipfire-3.x.git/blame - openssl/patches/openssl-1.0.0-beta4-algo-doc.patch
openssl: Update to 1.0.1.
[ipfire-3.x.git] / openssl / patches / openssl-1.0.0-beta4-algo-doc.patch
CommitLineData
0595faf5
MT
1diff -up openssl-1.0.0-beta4/doc/crypto/EVP_DigestInit.pod.algo-doc openssl-1.0.0-beta4/doc/crypto/EVP_DigestInit.pod
2--- openssl-1.0.0-beta4/doc/crypto/EVP_DigestInit.pod.algo-doc 2009-10-16 17:29:34.000000000 +0200
3+++ openssl-1.0.0-beta4/doc/crypto/EVP_DigestInit.pod 2009-11-12 14:13:21.000000000 +0100
4@@ -6,7 +6,8 @@ EVP_MD_CTX_init, EVP_MD_CTX_create, EVP_
5 EVP_DigestFinal_ex, EVP_MD_CTX_cleanup, EVP_MD_CTX_destroy, EVP_MAX_MD_SIZE,
6 EVP_MD_CTX_copy_ex, EVP_MD_CTX_copy, EVP_MD_type, EVP_MD_pkey_type, EVP_MD_size,
7 EVP_MD_block_size, EVP_MD_CTX_md, EVP_MD_CTX_size, EVP_MD_CTX_block_size, EVP_MD_CTX_type,
8-EVP_md_null, EVP_md2, EVP_md5, EVP_sha, EVP_sha1, EVP_dss, EVP_dss1, EVP_mdc2,
9+EVP_md_null, EVP_md2, EVP_md5, EVP_sha, EVP_sha1, EVP_sha224,
10+EVP_sha256, EVP_sha384, EVP_sha512, EVP_dss, EVP_dss1, EVP_mdc2,
11 EVP_ripemd160, EVP_get_digestbyname, EVP_get_digestbynid, EVP_get_digestbyobj -
12 EVP digest routines
13
14@@ -51,6 +52,10 @@ EVP digest routines
15 const EVP_MD *EVP_md5(void);
16 const EVP_MD *EVP_sha(void);
17 const EVP_MD *EVP_sha1(void);
18+ const EVP_MD *EVP_sha224(void);
19+ const EVP_MD *EVP_sha256(void);
20+ const EVP_MD *EVP_sha384(void);
21+ const EVP_MD *EVP_sha512(void);
22 const EVP_MD *EVP_dss(void);
23 const EVP_MD *EVP_dss1(void);
24 const EVP_MD *EVP_mdc2(void);
25@@ -70,7 +75,7 @@ EVP_MD_CTX_create() allocates, initializ
26
27 EVP_DigestInit_ex() sets up digest context B<ctx> to use a digest
28 B<type> from ENGINE B<impl>. B<ctx> must be initialized before calling this
29-function. B<type> will typically be supplied by a functionsuch as EVP_sha1().
30+function. B<type> will typically be supplied by a function such as EVP_sha1().
31 If B<impl> is NULL then the default implementation of digest B<type> is used.
32
33 EVP_DigestUpdate() hashes B<cnt> bytes of data at B<d> into the
34@@ -127,9 +132,11 @@ with this digest. For example EVP_sha1()
35 return B<NID_sha1WithRSAEncryption>. This "link" between digests and signature
36 algorithms may not be retained in future versions of OpenSSL.
37
38-EVP_md2(), EVP_md5(), EVP_sha(), EVP_sha1(), EVP_mdc2() and EVP_ripemd160()
39-return B<EVP_MD> structures for the MD2, MD5, SHA, SHA1, MDC2 and RIPEMD160 digest
40-algorithms respectively. The associated signature algorithm is RSA in each case.
41+EVP_md2(), EVP_md5(), EVP_sha(), EVP_sha1(), EVP_sha224(), EVP_sha256(),
42+EVP_sha384(), EVP_sha512(), EVP_mdc2() and EVP_ripemd160()
43+return B<EVP_MD> structures for the MD2, MD5, SHA, SHA1, SHA224, SHA256, SHA384,
44+SHA512, MDC2 and RIPEMD160 digest algorithms respectively. The associated
45+signature algorithm is RSA in each case.
46
47 EVP_dss() and EVP_dss1() return B<EVP_MD> structures for SHA and SHA1 digest
48 algorithms but using DSS (DSA) for the signature algorithm. Note: there is
49@@ -158,7 +165,8 @@ EVP_MD_size(), EVP_MD_block_size(), EVP_
50 EVP_MD_CTX_block_size() and EVP_MD_block_size() return the digest or block
51 size in bytes.
52
53-EVP_md_null(), EVP_md2(), EVP_md5(), EVP_sha(), EVP_sha1(), EVP_dss(),
54+EVP_md_null(), EVP_md2(), EVP_md5(), EVP_sha(), EVP_sha1(),
55+EVP_sha224(), EVP_sha256(), EVP_sha384(), EVP_sha512(), EVP_dss(),
56 EVP_dss1(), EVP_mdc2() and EVP_ripemd160() return pointers to the
57 corresponding EVP_MD structures.
58
59diff -up openssl-1.0.0-beta4/doc/crypto/EVP_EncryptInit.pod.algo-doc openssl-1.0.0-beta4/doc/crypto/EVP_EncryptInit.pod
60--- openssl-1.0.0-beta4/doc/crypto/EVP_EncryptInit.pod.algo-doc 2005-04-15 18:01:35.000000000 +0200
61+++ openssl-1.0.0-beta4/doc/crypto/EVP_EncryptInit.pod 2009-11-12 14:11:03.000000000 +0100
62@@ -91,6 +91,32 @@ EVP_CIPHER_CTX_set_padding - EVP cipher
63 int EVP_CIPHER_param_to_asn1(EVP_CIPHER_CTX *c, ASN1_TYPE *type);
64 int EVP_CIPHER_asn1_to_param(EVP_CIPHER_CTX *c, ASN1_TYPE *type);
65
66+ const EVP_CIPHER *EVP_des_ede3(void);
67+ const EVP_CIPHER *EVP_des_ede3_ecb(void);
68+ const EVP_CIPHER *EVP_des_ede3_cfb64(void);
69+ const EVP_CIPHER *EVP_des_ede3_cfb1(void);
70+ const EVP_CIPHER *EVP_des_ede3_cfb8(void);
71+ const EVP_CIPHER *EVP_des_ede3_ofb(void);
72+ const EVP_CIPHER *EVP_des_ede3_cbc(void);
73+ const EVP_CIPHER *EVP_aes_128_ecb(void);
74+ const EVP_CIPHER *EVP_aes_128_cbc(void);
75+ const EVP_CIPHER *EVP_aes_128_cfb1(void);
76+ const EVP_CIPHER *EVP_aes_128_cfb8(void);
77+ const EVP_CIPHER *EVP_aes_128_cfb128(void);
78+ const EVP_CIPHER *EVP_aes_128_ofb(void);
79+ const EVP_CIPHER *EVP_aes_192_ecb(void);
80+ const EVP_CIPHER *EVP_aes_192_cbc(void);
81+ const EVP_CIPHER *EVP_aes_192_cfb1(void);
82+ const EVP_CIPHER *EVP_aes_192_cfb8(void);
83+ const EVP_CIPHER *EVP_aes_192_cfb128(void);
84+ const EVP_CIPHER *EVP_aes_192_ofb(void);
85+ const EVP_CIPHER *EVP_aes_256_ecb(void);
86+ const EVP_CIPHER *EVP_aes_256_cbc(void);
87+ const EVP_CIPHER *EVP_aes_256_cfb1(void);
88+ const EVP_CIPHER *EVP_aes_256_cfb8(void);
89+ const EVP_CIPHER *EVP_aes_256_cfb128(void);
90+ const EVP_CIPHER *EVP_aes_256_ofb(void);
91+
92 =head1 DESCRIPTION
93
94 The EVP cipher routines are a high level interface to certain
95@@ -297,6 +323,18 @@ Three key triple DES in CBC, ECB, CFB an
96
97 DESX algorithm in CBC mode.
98
99+=item EVP_aes_128_cbc(void), EVP_aes_128_ecb(), EVP_aes_128_ofb(void), EVP_aes_128_cfb1(void), EVP_aes_128_cfb8(void), EVP_aes_128_cfb128(void)
100+
101+AES with 128 bit key length in CBC, ECB, OFB and CFB modes respectively.
102+
103+=item EVP_aes_192_cbc(void), EVP_aes_192_ecb(), EVP_aes_192_ofb(void), EVP_aes_192_cfb1(void), EVP_aes_192_cfb8(void), EVP_aes_192_cfb128(void)
104+
105+AES with 192 bit key length in CBC, ECB, OFB and CFB modes respectively.
106+
107+=item EVP_aes_256_cbc(void), EVP_aes_256_ecb(), EVP_aes_256_ofb(void), EVP_aes_256_cfb1(void), EVP_aes_256_cfb8(void), EVP_aes_256_cfb128(void)
108+
109+AES with 256 bit key length in CBC, ECB, OFB and CFB modes respectively.
110+
111 =item EVP_rc4(void)
112
113 RC4 stream cipher. This is a variable key length cipher with default key length 128 bits.