source: EcnlProtoTool/trunk/openssl-1.1.0e/crypto/evp/e_old.c@ 331

Last change on this file since 331 was 331, checked in by coas-nagasima, 6 years ago

prototoolに関連するプロジェクトをnewlibからmuslを使うよう変更・更新
ntshellをnewlibの下位の実装から、muslのsyscallの実装に変更・更新
以下のOSSをアップデート
・mruby-1.3.0
・musl-1.1.18
・onigmo-6.1.3
・tcc-0.9.27
以下のOSSを追加
・openssl-1.1.0e
・curl-7.57.0
・zlib-1.2.11
以下のmrbgemsを追加
・iij/mruby-digest
・iij/mruby-env
・iij/mruby-errno
・iij/mruby-iijson
・iij/mruby-ipaddr
・iij/mruby-mock
・iij/mruby-require
・iij/mruby-tls-openssl

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-csrc
File size: 2.4 KB
Line 
1/*
2 * Copyright 2004-2016 The OpenSSL Project Authors. All Rights Reserved.
3 *
4 * Licensed under the OpenSSL license (the "License"). You may not use
5 * this file except in compliance with the License. You can obtain a copy
6 * in the file LICENSE in the source distribution or at
7 * https://www.openssl.org/source/license.html
8 */
9
10#include <openssl/opensslconf.h>
11#if OPENSSL_API_COMPAT >= 0x00908000L
12NON_EMPTY_TRANSLATION_UNIT
13#else
14
15# include <openssl/evp.h>
16
17/*
18 * Define some deprecated functions, so older programs don't crash and burn
19 * too quickly. On Windows and VMS, these will never be used, since
20 * functions and variables in shared libraries are selected by entry point
21 * location, not by name.
22 */
23
24# ifndef OPENSSL_NO_BF
25# undef EVP_bf_cfb
26const EVP_CIPHER *EVP_bf_cfb(void);
27const EVP_CIPHER *EVP_bf_cfb(void)
28{
29 return EVP_bf_cfb64();
30}
31# endif
32
33# ifndef OPENSSL_NO_DES
34# undef EVP_des_cfb
35const EVP_CIPHER *EVP_des_cfb(void);
36const EVP_CIPHER *EVP_des_cfb(void)
37{
38 return EVP_des_cfb64();
39}
40
41# undef EVP_des_ede3_cfb
42const EVP_CIPHER *EVP_des_ede3_cfb(void);
43const EVP_CIPHER *EVP_des_ede3_cfb(void)
44{
45 return EVP_des_ede3_cfb64();
46}
47
48# undef EVP_des_ede_cfb
49const EVP_CIPHER *EVP_des_ede_cfb(void);
50const EVP_CIPHER *EVP_des_ede_cfb(void)
51{
52 return EVP_des_ede_cfb64();
53}
54# endif
55
56# ifndef OPENSSL_NO_IDEA
57# undef EVP_idea_cfb
58const EVP_CIPHER *EVP_idea_cfb(void);
59const EVP_CIPHER *EVP_idea_cfb(void)
60{
61 return EVP_idea_cfb64();
62}
63# endif
64
65# ifndef OPENSSL_NO_RC2
66# undef EVP_rc2_cfb
67const EVP_CIPHER *EVP_rc2_cfb(void);
68const EVP_CIPHER *EVP_rc2_cfb(void)
69{
70 return EVP_rc2_cfb64();
71}
72# endif
73
74# ifndef OPENSSL_NO_CAST
75# undef EVP_cast5_cfb
76const EVP_CIPHER *EVP_cast5_cfb(void);
77const EVP_CIPHER *EVP_cast5_cfb(void)
78{
79 return EVP_cast5_cfb64();
80}
81# endif
82
83# ifndef OPENSSL_NO_RC5
84# undef EVP_rc5_32_12_16_cfb
85const EVP_CIPHER *EVP_rc5_32_12_16_cfb(void);
86const EVP_CIPHER *EVP_rc5_32_12_16_cfb(void)
87{
88 return EVP_rc5_32_12_16_cfb64();
89}
90# endif
91
92# undef EVP_aes_128_cfb
93const EVP_CIPHER *EVP_aes_128_cfb(void);
94const EVP_CIPHER *EVP_aes_128_cfb(void)
95{
96 return EVP_aes_128_cfb128();
97}
98
99# undef EVP_aes_192_cfb
100const EVP_CIPHER *EVP_aes_192_cfb(void);
101const EVP_CIPHER *EVP_aes_192_cfb(void)
102{
103 return EVP_aes_192_cfb128();
104}
105
106# undef EVP_aes_256_cfb
107const EVP_CIPHER *EVP_aes_256_cfb(void);
108const EVP_CIPHER *EVP_aes_256_cfb(void)
109{
110 return EVP_aes_256_cfb128();
111}
112
113#endif
Note: See TracBrowser for help on using the repository browser.