26 changed files with 1 additions and 434 deletions
-
1config.h.cmake
-
10configure.cmake
-
4extra/yassl/CMakeLists.txt
-
21extra/yassl/src/crypto_wrapper.cpp
-
110extra/yassl/src/template_instnt.cpp
-
10extra/yassl/src/yassl_int.cpp
-
4extra/yassl/taocrypt/CMakeLists.txt
-
10extra/yassl/taocrypt/src/algebra.cpp
-
12extra/yassl/taocrypt/src/integer.cpp
-
81extra/yassl/taocrypt/src/template_instnt.cpp
-
5sql/field.cc
-
4sql/filesort.cc
-
11sql/item.cc
-
9sql/item_buff.cc
-
4sql/keycaches.cc
-
20sql/mysqld.cc
-
8sql/opt_range.cc
-
5sql/slave.cc
-
11sql/sql_acl.cc
-
38sql/sql_class.cc
-
13sql/sql_insert.cc
-
3sql/sql_lex.cc
-
8sql/sql_select.cc
-
9sql/sql_show.cc
-
15sql/sys_vars.h
-
9sql/table.cc
@ -1,110 +0,0 @@ |
|||
/*
|
|||
Copyright (C) 2000-2007 MySQL AB |
|||
|
|||
This program is free software; you can redistribute it and/or modify |
|||
it under the terms of the GNU General Public License as published by |
|||
the Free Software Foundation; version 2 of the License. |
|||
|
|||
This program is distributed in the hope that it will be useful, |
|||
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
GNU General Public License for more details. |
|||
|
|||
You should have received a copy of the GNU General Public License |
|||
along with this program; see the file COPYING. If not, write to the |
|||
Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, |
|||
MA 02110-1301 USA. |
|||
*/ |
|||
|
|||
|
|||
/* Explicit template instantiation requests
|
|||
*/ |
|||
|
|||
|
|||
#include "runtime.hpp"
|
|||
#include "handshake.hpp"
|
|||
#include "yassl_int.hpp"
|
|||
#include "crypto_wrapper.hpp"
|
|||
#include "hmac.hpp"
|
|||
#include "md5.hpp"
|
|||
#include "sha.hpp"
|
|||
#include "ripemd.hpp"
|
|||
#include "openssl/ssl.h"
|
|||
|
|||
#ifdef HAVE_EXPLICIT_TEMPLATE_INSTANTIATION
|
|||
|
|||
namespace mySTL { |
|||
template class list<unsigned char*>; |
|||
template yaSSL::del_ptr_zero for_each(mySTL::list<unsigned char*>::iterator, mySTL::list<unsigned char*>::iterator, yaSSL::del_ptr_zero); |
|||
template pair<int, yaSSL::Message* (*)()>* uninit_copy<mySTL::pair<int, yaSSL::Message* (*)()>*, mySTL::pair<int, yaSSL::Message* (*)()>*>(mySTL::pair<int, yaSSL::Message* (*)()>*, mySTL::pair<int, yaSSL::Message* (*)()>*, mySTL::pair<int, yaSSL::Message* (*)()>*); |
|||
template pair<int, yaSSL::HandShakeBase* (*)()>* uninit_copy<mySTL::pair<int, yaSSL::HandShakeBase* (*)()>*, mySTL::pair<int, yaSSL::HandShakeBase* (*)()>*>(mySTL::pair<int, yaSSL::HandShakeBase* (*)()>*, mySTL::pair<int, yaSSL::HandShakeBase* (*)()>*, mySTL::pair<int, yaSSL::HandShakeBase* (*)()>*); |
|||
template void destroy<mySTL::pair<int, yaSSL::Message* (*)()>*>(mySTL::pair<int, yaSSL::Message* (*)()>*, mySTL::pair<int, yaSSL::Message* (*)()>*); |
|||
template void destroy<mySTL::pair<int, yaSSL::HandShakeBase* (*)()>*>(mySTL::pair<int, yaSSL::HandShakeBase* (*)()>*, mySTL::pair<int, yaSSL::HandShakeBase* (*)()>*); |
|||
template pair<int, yaSSL::ServerKeyBase* (*)()>* uninit_copy<mySTL::pair<int, yaSSL::ServerKeyBase* (*)()>*, mySTL::pair<int, yaSSL::ServerKeyBase* (*)()>*>(mySTL::pair<int, yaSSL::ServerKeyBase* (*)()>*, mySTL::pair<int, yaSSL::ServerKeyBase* (*)()>*, mySTL::pair<int, yaSSL::ServerKeyBase* (*)()>*); |
|||
template void destroy<mySTL::pair<int, yaSSL::ServerKeyBase* (*)()>*>(mySTL::pair<int, yaSSL::ServerKeyBase* (*)()>*, mySTL::pair<int, yaSSL::ServerKeyBase* (*)()>*); |
|||
template pair<int, yaSSL::ClientKeyBase* (*)()>* uninit_copy<mySTL::pair<int, yaSSL::ClientKeyBase* (*)()>*, mySTL::pair<int, yaSSL::ClientKeyBase* (*)()>*>(mySTL::pair<int, yaSSL::ClientKeyBase* (*)()>*, mySTL::pair<int, yaSSL::ClientKeyBase* (*)()>*, mySTL::pair<int, yaSSL::ClientKeyBase* (*)()>*); |
|||
template class list<TaoCrypt::Signer*>; |
|||
template class list<yaSSL::SSL_SESSION*>; |
|||
template class list<yaSSL::input_buffer*>; |
|||
template class list<yaSSL::output_buffer*>; |
|||
template class list<yaSSL::x509*>; |
|||
template class list<yaSSL::Digest*>; |
|||
template class list<yaSSL::BulkCipher*>; |
|||
template void destroy<mySTL::pair<int, yaSSL::ClientKeyBase* (*)()>*>(mySTL::pair<int, yaSSL::ClientKeyBase* (*)()>*, mySTL::pair<int, yaSSL::ClientKeyBase* (*)()>*); |
|||
template yaSSL::del_ptr_zero for_each<mySTL::list<TaoCrypt::Signer*>::iterator, yaSSL::del_ptr_zero>(mySTL::list<TaoCrypt::Signer*>::iterator, mySTL::list<TaoCrypt::Signer*>::iterator, yaSSL::del_ptr_zero); |
|||
template yaSSL::del_ptr_zero for_each<mySTL::list<yaSSL::SSL_SESSION*>::iterator, yaSSL::del_ptr_zero>(mySTL::list<yaSSL::SSL_SESSION*>::iterator, mySTL::list<yaSSL::SSL_SESSION*>::iterator, yaSSL::del_ptr_zero); |
|||
template yaSSL::del_ptr_zero for_each<mySTL::list<yaSSL::input_buffer*>::iterator, yaSSL::del_ptr_zero>(mySTL::list<yaSSL::input_buffer*>::iterator, mySTL::list<yaSSL::input_buffer*>::iterator, yaSSL::del_ptr_zero); |
|||
template yaSSL::del_ptr_zero for_each<mySTL::list<yaSSL::output_buffer*>::iterator, yaSSL::del_ptr_zero>(mySTL::list<yaSSL::output_buffer*>::iterator, mySTL::list<yaSSL::output_buffer*>::iterator, yaSSL::del_ptr_zero); |
|||
template yaSSL::del_ptr_zero for_each<mySTL::list<yaSSL::x509*>::iterator, yaSSL::del_ptr_zero>(mySTL::list<yaSSL::x509*>::iterator, mySTL::list<yaSSL::x509*>::iterator, yaSSL::del_ptr_zero); |
|||
template yaSSL::del_ptr_zero for_each<mySTL::list<yaSSL::Digest*>::iterator, yaSSL::del_ptr_zero>(mySTL::list<yaSSL::Digest*>::iterator, mySTL::list<yaSSL::Digest*>::iterator, yaSSL::del_ptr_zero); |
|||
template yaSSL::del_ptr_zero for_each<mySTL::list<yaSSL::BulkCipher*>::iterator, yaSSL::del_ptr_zero>(mySTL::list<yaSSL::BulkCipher*>::iterator, mySTL::list<yaSSL::BulkCipher*>::iterator, yaSSL::del_ptr_zero); |
|||
template bool list<yaSSL::ThreadError>::erase(list<yaSSL::ThreadError>::iterator); |
|||
template void list<yaSSL::ThreadError>::push_back(yaSSL::ThreadError); |
|||
template void list<yaSSL::ThreadError>::pop_front(); |
|||
template void list<yaSSL::ThreadError>::pop_back(); |
|||
template list<yaSSL::ThreadError>::~list(); |
|||
template pair<int, yaSSL::Message* (*)()>* GetArrayMemory<pair<int, yaSSL::Message* (*)()> >(size_t); |
|||
template void FreeArrayMemory<pair<int, yaSSL::Message* (*)()> >(pair<int, yaSSL::Message* (*)()>*); |
|||
template pair<int, yaSSL::HandShakeBase* (*)()>* GetArrayMemory<pair<int, yaSSL::HandShakeBase* (*)()> >(size_t); |
|||
template void FreeArrayMemory<pair<int, yaSSL::HandShakeBase* (*)()> >(pair<int, yaSSL::HandShakeBase* (*)()>*); |
|||
template pair<int, yaSSL::ServerKeyBase* (*)()>* GetArrayMemory<pair<int, yaSSL::ServerKeyBase* (*)()> >(size_t); |
|||
template void FreeArrayMemory<pair<int, yaSSL::ServerKeyBase* (*)()> >(pair<int, yaSSL::ServerKeyBase* (*)()>*); |
|||
template pair<int, yaSSL::ClientKeyBase* (*)()>* GetArrayMemory<pair<int, yaSSL::ClientKeyBase* (*)()> >(size_t); |
|||
template void FreeArrayMemory<pair<int, yaSSL::ClientKeyBase* (*)()> >(pair<int, yaSSL::ClientKeyBase* (*)()>*); |
|||
} |
|||
|
|||
namespace yaSSL { |
|||
template void ysDelete<SSL_CTX>(yaSSL::SSL_CTX*); |
|||
template void ysDelete<SSL>(yaSSL::SSL*); |
|||
template void ysDelete<BIGNUM>(yaSSL::BIGNUM*); |
|||
template void ysDelete<unsigned char>(unsigned char*); |
|||
template void ysDelete<DH>(yaSSL::DH*); |
|||
template void ysDelete<TaoCrypt::Signer>(TaoCrypt::Signer*); |
|||
template void ysDelete<SSL_SESSION>(yaSSL::SSL_SESSION*); |
|||
template void ysDelete<input_buffer>(input_buffer*); |
|||
template void ysDelete<output_buffer>(output_buffer*); |
|||
template void ysDelete<x509>(x509*); |
|||
template void ysDelete<Auth>(Auth*); |
|||
template void ysDelete<HandShakeBase>(HandShakeBase*); |
|||
template void ysDelete<ServerKeyBase>(ServerKeyBase*); |
|||
template void ysDelete<ClientKeyBase>(ClientKeyBase*); |
|||
template void ysDelete<SSL_METHOD>(SSL_METHOD*); |
|||
template void ysDelete<DiffieHellman>(DiffieHellman*); |
|||
template void ysDelete<BulkCipher>(BulkCipher*); |
|||
template void ysDelete<Digest>(Digest*); |
|||
template void ysDelete<X509>(X509*); |
|||
template void ysDelete<Message>(Message*); |
|||
template void ysDelete<sslFactory>(sslFactory*); |
|||
template void ysDelete<Sessions>(Sessions*); |
|||
template void ysDelete<Errors>(Errors*); |
|||
template void ysArrayDelete<unsigned char>(unsigned char*); |
|||
template void ysArrayDelete<char>(char*); |
|||
|
|||
template int min<int>(int, int); |
|||
template uint16 min<uint16>(uint16, uint16); |
|||
template unsigned int min<unsigned int>(unsigned int, unsigned int); |
|||
template unsigned long min<unsigned long>(unsigned long, unsigned long); |
|||
} |
|||
|
|||
#endif // HAVE_EXPLICIT_TEMPLATE_INSTANTIATION
|
|||
|
@ -1,81 +0,0 @@ |
|||
/*
|
|||
Copyright (C) 2000-2007 MySQL AB |
|||
|
|||
This program is free software; you can redistribute it and/or modify |
|||
it under the terms of the GNU General Public License as published by |
|||
the Free Software Foundation; version 2 of the License. |
|||
|
|||
This program is distributed in the hope that it will be useful, |
|||
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
GNU General Public License for more details. |
|||
|
|||
You should have received a copy of the GNU General Public License |
|||
along with this program; see the file COPYING. If not, write to the |
|||
Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, |
|||
MA 02110-1301 USA. |
|||
*/ |
|||
|
|||
|
|||
/* Explicit template instantiation requests
|
|||
*/ |
|||
|
|||
|
|||
#include "runtime.hpp"
|
|||
#include "integer.hpp"
|
|||
#include "rsa.hpp"
|
|||
#include "sha.hpp"
|
|||
#include "md5.hpp"
|
|||
#include "hmac.hpp"
|
|||
#include "ripemd.hpp"
|
|||
#include "pwdbased.hpp"
|
|||
#include "algebra.hpp"
|
|||
#include "vector.hpp"
|
|||
#include "hash.hpp"
|
|||
|
|||
#ifdef HAVE_EXPLICIT_TEMPLATE_INSTANTIATION
|
|||
namespace TaoCrypt { |
|||
|
|||
#if defined(SSE2_INTRINSICS_AVAILABLE)
|
|||
template AlignedAllocator<unsigned int>::pointer StdReallocate<unsigned int, AlignedAllocator<unsigned int> >(AlignedAllocator<unsigned int>&, unsigned int*, AlignedAllocator<unsigned int>::size_type, AlignedAllocator<unsigned int>::size_type, bool); |
|||
#endif
|
|||
|
|||
template class RSA_Decryptor<RSA_BlockType2>; |
|||
template class RSA_Encryptor<RSA_BlockType1>; |
|||
template class RSA_Encryptor<RSA_BlockType2>; |
|||
template void tcDelete<HASH>(HASH*); |
|||
template void tcDelete<Integer>(Integer*); |
|||
template void tcArrayDelete<byte>(byte*); |
|||
template AllocatorWithCleanup<byte>::pointer StdReallocate<byte, AllocatorWithCleanup<byte> >(AllocatorWithCleanup<byte>&, byte*, AllocatorWithCleanup<byte>::size_type, AllocatorWithCleanup<byte>::size_type, bool); |
|||
template void tcArrayDelete<word>(word*); |
|||
template AllocatorWithCleanup<word>::pointer StdReallocate<word, AllocatorWithCleanup<word> >(AllocatorWithCleanup<word>&, word*, AllocatorWithCleanup<word>::size_type, AllocatorWithCleanup<word>::size_type, bool); |
|||
|
|||
#ifndef TAOCRYPT_SLOW_WORD64 // defined when word != word32
|
|||
template void tcArrayDelete<word32>(word32*); |
|||
template AllocatorWithCleanup<word32>::pointer StdReallocate<word32, AllocatorWithCleanup<word32> >(AllocatorWithCleanup<word32>&, word32*, AllocatorWithCleanup<word32>::size_type, AllocatorWithCleanup<word32>::size_type, bool); |
|||
#endif
|
|||
|
|||
template void tcArrayDelete<char>(char*); |
|||
|
|||
template class PBKDF2_HMAC<SHA>; |
|||
template class HMAC<MD5>; |
|||
template class HMAC<SHA>; |
|||
template class HMAC<RIPEMD160>; |
|||
} |
|||
|
|||
namespace mySTL { |
|||
template vector<TaoCrypt::Integer>* uninit_fill_n<vector<TaoCrypt::Integer>*, size_t, vector<TaoCrypt::Integer> >(vector<TaoCrypt::Integer>*, size_t, vector<TaoCrypt::Integer> const&); |
|||
template void destroy<vector<TaoCrypt::Integer>*>(vector<TaoCrypt::Integer>*, vector<TaoCrypt::Integer>*); |
|||
template TaoCrypt::Integer* uninit_copy<TaoCrypt::Integer*, TaoCrypt::Integer*>(TaoCrypt::Integer*, TaoCrypt::Integer*, TaoCrypt::Integer*); |
|||
template TaoCrypt::Integer* uninit_fill_n<TaoCrypt::Integer*, size_t, TaoCrypt::Integer>(TaoCrypt::Integer*, size_t, TaoCrypt::Integer const&); |
|||
template void destroy<TaoCrypt::Integer*>(TaoCrypt::Integer*, TaoCrypt::Integer*); |
|||
template TaoCrypt::byte* GetArrayMemory<TaoCrypt::byte>(size_t); |
|||
template void FreeArrayMemory<TaoCrypt::byte>(TaoCrypt::byte*); |
|||
template TaoCrypt::Integer* GetArrayMemory<TaoCrypt::Integer>(size_t); |
|||
template void FreeArrayMemory<TaoCrypt::Integer>(TaoCrypt::Integer*); |
|||
template vector<TaoCrypt::Integer>* GetArrayMemory<vector<TaoCrypt::Integer> >(size_t); |
|||
template void FreeArrayMemory<vector<TaoCrypt::Integer> >(vector<TaoCrypt::Integer>*); |
|||
template void FreeArrayMemory<void>(void*); |
|||
} |
|||
|
|||
#endif
|
Write
Preview
Loading…
Cancel
Save
Reference in new issue