source: EcnlProtoTool/trunk/openssl-1.1.0e/crypto/evp/c_alld.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: 1.4 KB
Line 
1/*
2 * Copyright 1995-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 <stdio.h>
11#include "internal/cryptlib.h"
12#include <openssl/evp.h>
13#include <internal/evp_int.h>
14#include <openssl/pkcs12.h>
15#include <openssl/objects.h>
16
17void openssl_add_all_digests_int(void)
18{
19#ifndef OPENSSL_NO_MD4
20 EVP_add_digest(EVP_md4());
21#endif
22#ifndef OPENSSL_NO_MD5
23 EVP_add_digest(EVP_md5());
24 EVP_add_digest_alias(SN_md5, "ssl3-md5");
25 EVP_add_digest(EVP_md5_sha1());
26#endif
27 EVP_add_digest(EVP_sha1());
28 EVP_add_digest_alias(SN_sha1, "ssl3-sha1");
29 EVP_add_digest_alias(SN_sha1WithRSAEncryption, SN_sha1WithRSA);
30#if !defined(OPENSSL_NO_MDC2) && !defined(OPENSSL_NO_DES)
31 EVP_add_digest(EVP_mdc2());
32#endif
33#ifndef OPENSSL_NO_RMD160
34 EVP_add_digest(EVP_ripemd160());
35 EVP_add_digest_alias(SN_ripemd160, "ripemd");
36 EVP_add_digest_alias(SN_ripemd160, "rmd160");
37#endif
38 EVP_add_digest(EVP_sha224());
39 EVP_add_digest(EVP_sha256());
40 EVP_add_digest(EVP_sha384());
41 EVP_add_digest(EVP_sha512());
42#ifndef OPENSSL_NO_WHIRLPOOL
43 EVP_add_digest(EVP_whirlpool());
44#endif
45#ifndef OPENSSL_NO_BLAKE2
46 EVP_add_digest(EVP_blake2b512());
47 EVP_add_digest(EVP_blake2s256());
48#endif
49}
Note: See TracBrowser for help on using the repository browser.