Merge pull request #1399 from mazimkhan/feature-opaque-keys

Enable deprecated API wrappers for _ALT implementation
This commit is contained in:
Mohammad Azim Khan 2018-02-23 16:33:10 +00:00 committed by GitHub
commit 31a24b8d0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 6 deletions

View File

@ -158,6 +158,7 @@ int mbedtls_internal_md2_process( mbedtls_md2_context *ctx )
return( 0 );
}
#endif /* !MBEDTLS_MD2_PROCESS_ALT */
#if !defined(MBEDTLS_DEPRECATED_REMOVED)
void mbedtls_md2_process( mbedtls_md2_context *ctx )
@ -165,7 +166,6 @@ void mbedtls_md2_process( mbedtls_md2_context *ctx )
mbedtls_internal_md2_process( ctx );
}
#endif
#endif /* !MBEDTLS_MD2_PROCESS_ALT */
/*
* MD2 process buffer

View File

@ -224,6 +224,7 @@ int mbedtls_internal_md4_process( mbedtls_md4_context *ctx,
return( 0 );
}
#endif /* !MBEDTLS_MD4_PROCESS_ALT */
#if !defined(MBEDTLS_DEPRECATED_REMOVED)
void mbedtls_md4_process( mbedtls_md4_context *ctx,
@ -232,7 +233,6 @@ void mbedtls_md4_process( mbedtls_md4_context *ctx,
mbedtls_internal_md4_process( ctx, data );
}
#endif
#endif /* !MBEDTLS_MD4_PROCESS_ALT */
/*
* MD4 process buffer

View File

@ -243,6 +243,7 @@ int mbedtls_internal_md5_process( mbedtls_md5_context *ctx,
return( 0 );
}
#endif /* !MBEDTLS_MD5_PROCESS_ALT */
#if !defined(MBEDTLS_DEPRECATED_REMOVED)
void mbedtls_md5_process( mbedtls_md5_context *ctx,
@ -251,7 +252,6 @@ void mbedtls_md5_process( mbedtls_md5_context *ctx,
mbedtls_internal_md5_process( ctx, data );
}
#endif
#endif /* !MBEDTLS_MD5_PROCESS_ALT */
/*
* MD5 process buffer

View File

@ -277,6 +277,7 @@ int mbedtls_internal_sha1_process( mbedtls_sha1_context *ctx,
return( 0 );
}
#endif /* !MBEDTLS_SHA1_PROCESS_ALT */
#if !defined(MBEDTLS_DEPRECATED_REMOVED)
void mbedtls_sha1_process( mbedtls_sha1_context *ctx,
@ -285,7 +286,6 @@ void mbedtls_sha1_process( mbedtls_sha1_context *ctx,
mbedtls_internal_sha1_process( ctx, data );
}
#endif
#endif /* !MBEDTLS_SHA1_PROCESS_ALT */
/*
* SHA-1 process buffer

View File

@ -246,6 +246,7 @@ int mbedtls_internal_sha256_process( mbedtls_sha256_context *ctx,
return( 0 );
}
#endif /* !MBEDTLS_SHA256_PROCESS_ALT */
#if !defined(MBEDTLS_DEPRECATED_REMOVED)
void mbedtls_sha256_process( mbedtls_sha256_context *ctx,
@ -254,7 +255,6 @@ void mbedtls_sha256_process( mbedtls_sha256_context *ctx,
mbedtls_internal_sha256_process( ctx, data );
}
#endif
#endif /* !MBEDTLS_SHA256_PROCESS_ALT */
/*
* SHA-256 process buffer

View File

@ -277,6 +277,7 @@ int mbedtls_internal_sha512_process( mbedtls_sha512_context *ctx,
return( 0 );
}
#endif /* !MBEDTLS_SHA512_PROCESS_ALT */
#if !defined(MBEDTLS_DEPRECATED_REMOVED)
void mbedtls_sha512_process( mbedtls_sha512_context *ctx,
@ -285,7 +286,6 @@ void mbedtls_sha512_process( mbedtls_sha512_context *ctx,
mbedtls_internal_sha512_process( ctx, data );
}
#endif
#endif /* !MBEDTLS_SHA512_PROCESS_ALT */
/*
* SHA-512 process buffer