Code review fixes

Reverting some deleted tests and changing the deprecated algo
Deleting deprecated headers from /alt-dummy dir
Corrections to the comments
Removal of deleted functions from compat-2.x.h
Corrections to tests/data_files/Makefile

Signed-off-by: TRodziewicz <tomasz.rodziewicz@mobica.com>
This commit is contained in:
TRodziewicz 2021-06-18 12:56:27 +02:00
parent 8f91c721d3
commit 75628d51b3
15 changed files with 131 additions and 270 deletions

View file

@ -1,30 +0,0 @@
/* arc4_alt.h with dummy types for MBEDTLS_ARC4_ALT */
/*
* Copyright The Mbed TLS Contributors
* 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.
*
*/
#ifndef ARC4_ALT_H
#define ARC4_ALT_H
typedef struct mbedtls_arc4_context
{
int dummy;
}
mbedtls_arc4_context;
#endif /* arc4_alt.h */

View file

@ -1,29 +0,0 @@
/* blowfish_alt.h with dummy types for MBEDTLS_BLOWFISH_ALT */
/*
* Copyright The Mbed TLS Contributors
* 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.
*/
#ifndef BLOWFISH_ALT_H
#define BLOWFISH_ALT_H
typedef struct mbedtls_blowfish_context
{
int dummy;
}
mbedtls_blowfish_context;
#endif /* blowfish_alt.h */

View file

@ -1,30 +0,0 @@
/* md2_alt.h with dummy types for MBEDTLS_MD2_ALT */
/*
* Copyright The Mbed TLS Contributors
* 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.
*
*/
#ifndef MD2_ALT_H
#define MD2_ALT_H
typedef struct mbedtls_md2_context
{
int dummy;
}
mbedtls_md2_context;
#endif /* md2_alt.h */

View file

@ -1,30 +0,0 @@
/* md4_alt.h with dummy types for MBEDTLS_MD4_ALT */
/*
* Copyright The Mbed TLS Contributors
* 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.
*
*/
#ifndef MD4_ALT_H
#define MD4_ALT_H
typedef struct mbedtls_md4_context
{
int dummy;
}
mbedtls_md4_context;
#endif /* md4_alt.h */

View file

@ -1,29 +0,0 @@
/* xtea_alt.h with dummy types for MBEDTLS_XTEA_ALT */
/*
* Copyright The Mbed TLS Contributors
* 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.
*/
#ifndef XTEA_ALT_H
#define XTEA_ALT_H
typedef struct mbedtls_xtea_context
{
int dummy;
}
mbedtls_xtea_context;
#endif /* xtea_alt.h */