godot/core
Fabio Alessandrelli 564d93ff10 CryptoCore class to access to base crypto utils.
Godot core needs MD5/SHA256/AES/Base64 which used to be provided by
separate libraries.
Since we bundle mbedtls in most cases, and we can easily only include
the needed sources if we so desire, let's use it.

To simplify library changes in the future, and better isolate header
dependencies all functions have been wrapped around inside a class in
`core/math/crypto_base.h`.

If the mbedtls module is disabled, we only bundle the needed source
files independently of the `builtin_mbedtls` option.
If the module is enabled, the `builtin_mbedtls` option works as usual.

Also remove some unused headers from StreamPeerMbedTLS which were
causing build issues.
2019-07-02 12:36:27 +02:00
..
bind CryptoCore class to access to base crypto utils. 2019-07-02 12:36:27 +02:00
io CryptoCore class to access to base crypto utils. 2019-07-02 12:36:27 +02:00
math CryptoCore class to access to base crypto utils. 2019-07-02 12:36:27 +02:00
os CryptoCore class to access to base crypto utils. 2019-07-02 12:36:27 +02:00
array.cpp Remove unnecessary code and add some error explanations 2019-07-01 12:59:42 +02:00
array.h Don't crash on printing nested types 2019-04-20 02:01:55 +02:00
class_db.cpp Merge pull request #30126 from qarmin/remove_unnecessary_code 2019-07-01 14:32:04 +02:00
class_db.h Remove bogus nulls from generated default values 2019-06-29 15:51:33 +03:00
color.cpp Remove unnecessary code and add some error explanations 2019-07-01 12:59:42 +02:00
color.h Some code changed with Clang-Tidy 2019-06-26 15:08:25 +02:00
color_names.inc Add "transparent" to named color list 2019-05-24 20:37:40 +01:00
command_queue_mt.cpp Fix alignment and locking issues with CommandQueueMT 2019-02-16 04:00:19 +01:00
command_queue_mt.h Remove unnecessary code and add some error explanations 2019-07-01 12:59:42 +02:00
compressed_translation.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
compressed_translation.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
core_builders.py
core_string_names.cpp Allow overriding how scripted objects are converted to strings 2019-05-03 15:06:05 -07:00
core_string_names.h Allow overriding how scripted objects are converted to strings 2019-05-03 15:06:05 -07:00
cowdata.h Repair String lstrip and rstrip. 2019-01-07 17:34:44 +00:00
dictionary.cpp Don't crash on printing nested types 2019-04-20 02:01:55 +02:00
dictionary.h Don't crash on printing nested types 2019-04-20 02:01:55 +02:00
engine.cpp Remove unnecessary code and add some error explanations 2019-07-01 12:59:42 +02:00
engine.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
error_list.h Properly expose all Error constants to scripting languages 2019-06-27 12:48:26 +02:00
error_macros.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
error_macros.h Some code changed with Clang-Tidy 2019-06-26 15:08:25 +02:00
func_ref.cpp Added an is_valid function to FuncRef so script can check if it is safe to call it. 2019-04-29 23:38:42 +01:00
func_ref.h Added an is_valid function to FuncRef so script can check if it is safe to call it. 2019-04-29 23:38:42 +01:00
global_constants.cpp Properly expose all Error constants to scripting languages 2019-06-27 12:48:26 +02:00
global_constants.h Core: Ensure classes match their header filename 2019-02-12 13:34:25 +01:00
hash_map.h Remove unnecessary code and add some error explanations 2019-07-01 12:59:42 +02:00
hashfuncs.h Core: Ensure classes match their header filename 2019-02-12 13:34:25 +01:00
image.cpp Merge pull request #29980 from Dentrax/directed-by-qarmin 2019-07-01 14:59:29 +02:00
image.h Some code changed with Clang-Tidy 2019-06-26 15:08:25 +02:00
input_map.cpp Some code changed with Clang-Tidy 2019-06-26 15:08:25 +02:00
input_map.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
int_types.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
list.h Remove unnecessary assignment 2019-06-03 23:25:07 +02:00
make_binders.py C#: Generate the correct integer and floating point types 2019-04-27 01:30:46 +02:00
map.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
message_queue.cpp MessageQueue::flush now always destroys parameters of a spent message 2019-05-19 14:05:15 +01:00
message_queue.h Change "ID" to lowercase "id" 2019-05-09 06:25:32 -04:00
method_bind.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
method_bind.h C#: Generate the correct integer and floating point types 2019-04-27 01:30:46 +02:00
method_ptrcall.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
node_path.cpp Some code changed with Clang-Tidy 2019-06-26 15:08:25 +02:00
node_path.h Core: Ensure classes match their header filename 2019-02-12 13:34:25 +01:00
oa_hash_map.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
object.cpp Merge pull request #30126 from qarmin/remove_unnecessary_code 2019-07-01 14:32:04 +02:00
object.h Add default values to the editor help, docs, and generated RST 2019-06-27 18:29:35 +03:00
ordered_hash_map.h Don't crash on printing nested types 2019-04-20 02:01:55 +02:00
packed_data_container.cpp Many fallthrough switch cases now have the FALLTHROUGH macro to tell the compiler that this is intended. 2019-06-29 16:08:48 -04:00
packed_data_container.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
pair.h Fix many asan and ubsan reported issues 2019-01-30 06:43:56 +01:00
path_remap.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
path_remap.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
pool_allocator.cpp Some code changed with Clang-Tidy 2019-06-26 15:08:25 +02:00
pool_allocator.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
pool_vector.cpp Core: Ensure classes match their header filename 2019-02-12 13:34:25 +01:00
pool_vector.h Fix PoolVector resize and subarray. 2019-06-24 09:24:09 +02:00
print_string.cpp Properly unlock mutex 2019-05-30 10:28:03 +02:00
print_string.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
project_settings.cpp Remove unnecessary code and add some error explanations 2019-07-01 12:59:42 +02:00
project_settings.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
ref_ptr.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
ref_ptr.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
reference.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
reference.h C#: Generate the correct integer and floating point types 2019-04-27 01:30:46 +02:00
register_core_types.cpp Add default values to the editor help, docs, and generated RST 2019-06-27 18:29:35 +03:00
register_core_types.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
resource.cpp No more metadata and dependency indices kept in resources saved. 2019-04-11 14:36:58 -03:00
resource.h No more metadata and dependency indices kept in resources saved. 2019-04-11 14:36:58 -03:00
rid.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
rid.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
ring_buffer.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
safe_refcount.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
safe_refcount.h Some code changed with Clang-Tidy 2019-06-26 15:08:25 +02:00
script_debugger_local.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
script_debugger_local.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
script_debugger_remote.cpp Revert accidental commits 2019-03-20 21:43:55 +01:00
script_debugger_remote.h Revert accidental commits 2019-03-20 21:43:55 +01:00
script_language.cpp Allow overriding how scripted objects are converted to strings 2019-05-03 15:06:05 -07:00
script_language.h Merge pull request #28099 from lupoDharkael/fix-completion 2019-06-03 14:01:07 +02:00
SCsub CryptoCore class to access to base crypto utils. 2019-07-02 12:36:27 +02:00
self_list.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
set.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
simple_type.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
sort_array.h Fix error macro calls not ending with semicolon 2019-06-11 14:49:34 +02:00
string_buffer.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
string_builder.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
string_builder.h Use StringBuilder in C# bindings generator 2019-04-19 02:11:39 +02:00
string_name.cpp Core: Ensure classes match their header filename 2019-02-12 13:34:25 +01:00
string_name.h Core: Ensure classes match their header filename 2019-02-12 13:34:25 +01:00
translation.cpp Locales: Add some missing locale names 2019-05-02 09:22:40 +02:00
translation.h Added TranslationServer::get_loaded_locales to return an array of all locales with a loaded Translation 2019-04-24 21:39:29 -04:00
type_info.h C#: Generate the correct integer and floating point types 2019-04-27 01:30:46 +02:00
typedefs.h Fix -Wimplicit-fallthrough warnings from GCC 8 2019-04-05 15:14:53 +02:00
ucaps.h Reorder reverse caps characters table for string lower case conversion 2019-04-05 11:10:15 +03:00
undo_redo.cpp UndoRedo add version changed signal 2019-06-26 16:32:34 +02:00
undo_redo.h UndoRedo add version changed signal 2019-06-26 16:32:34 +02:00
ustring.cpp CryptoCore class to access to base crypto utils. 2019-07-02 12:36:27 +02:00
ustring.h Some code changed with Clang-Tidy 2019-06-26 15:08:25 +02:00
variant.cpp Remove unnecessary code and add some error explanations 2019-07-01 12:59:42 +02:00
variant.h Some code changed with Clang-Tidy 2019-06-26 15:08:25 +02:00
variant_call.cpp CryptoCore class to access to base crypto utils. 2019-07-02 12:36:27 +02:00
variant_op.cpp Remove unnecessary code and add some error explanations 2019-07-01 12:59:42 +02:00
variant_parser.cpp Remove unnecessary code and add some error explanations 2019-07-01 12:59:42 +02:00
variant_parser.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
vector.h Fix error macro calls not ending with semicolon 2019-06-11 14:49:34 +02:00
version.h Add hex-encoded version number to Engine singleton for easy comparisons 2019-02-17 13:38:52 +01:00
vmap.h Replace a few #if/#elif with #ifdef and "#elif defined" 2019-04-05 23:41:51 +02:00
vset.h Replace a few #if/#elif with #ifdef and "#elif defined" 2019-04-05 23:41:51 +02:00