mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2026-04-20 22:05:15 +00:00
Merge branch 'development' into development-restricted
* development: (87 commits) entropy: Adjust parameter type of internal function to avoid a cast entropy: Avoid arithmetic on void pointer add comment about potential future extension Adjust comments about SEED synchronisation entropy: Rename sysctl_wrapper to sysctl_arnd_wrapper test_suite_x509parse.function improvement Pass "certificate policies" extension to callback Update iv and len context pointers manually when reallocating buffers Add Apache-2.0 headers to all source files Remove Dangerous Parameter Passing Add Apache-2.0 headers to all scripts Add missing copyright dates to scripts and sources Show failure in ssl-opts.sh when key export fails Add changelog entry tests: Reformating due to rnd_* renaming tests: Add mbedtls_test_ prefix to rnd_* symbols tests: Reformating due to hexcmp() renaming tests: Add mbedtls_test_ prefix to hexcmp() tests: Reformating due to unhexify_alloc() renaming tests: Add mbedtls_test_ prefix to unhexify_alloc() ...
This commit is contained in:
commit
db61c3503b
218 changed files with 4132 additions and 2453 deletions
|
|
@ -1,6 +1,23 @@
|
|||
#!/bin/sh
|
||||
# -*-sh-basic-offset: 4-*-
|
||||
# Usage: udp_proxy_wrapper.sh [PROXY_PARAM...] -- [SERVER_PARAM...]
|
||||
#
|
||||
# Copyright (C) 2017, Arm Limited, All Rights Reserved
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
# This file is part of Mbed TLS (https://tls.mbed.org)
|
||||
|
||||
set -u
|
||||
|
||||
|
|
|
|||
|
|
@ -4,12 +4,10 @@
|
|||
* This is a simple test application used for debugger-driven testing to check
|
||||
* whether calls to mbedtls_platform_zeroize() are being eliminated by compiler
|
||||
* optimizations. This application is used by the GDB script at
|
||||
* tests/scripts/test_zeroize.gdb under the assumption that the code does not
|
||||
* change often (as opposed to the library code) because the script sets a
|
||||
* breakpoint at the last return statement in the main() function of this
|
||||
* program. The debugger facilities are then used to manually inspect the
|
||||
* memory and verify that the call to mbedtls_platform_zeroize() was not
|
||||
* eliminated.
|
||||
* tests/scripts/test_zeroize.gdb: the script sets a breakpoint at the last
|
||||
* return statement in the main() function of this program. The debugger
|
||||
* facilities are then used to manually inspect the memory and verify that the
|
||||
* call to mbedtls_platform_zeroize() was not eliminated.
|
||||
*
|
||||
* Copyright (C) 2018, Arm Limited, All Rights Reserved
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
|
|
@ -98,5 +96,5 @@ int main( int argc, char** argv )
|
|||
fclose( fp );
|
||||
mbedtls_platform_zeroize( buf, sizeof( buf ) );
|
||||
|
||||
mbedtls_exit( exit_code );
|
||||
mbedtls_exit( exit_code ); // GDB_BREAK_HERE -- don't remove this comment!
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue