mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 15:43:19 +00:00
[MBEDTLS] Update to version 2.7.12. CORE-16440
This commit is contained in:
parent
e02cdcce68
commit
c1eccaffaa
29 changed files with 434 additions and 136 deletions
4
dll/3rdparty/mbedtls/ecjpake.c
vendored
4
dll/3rdparty/mbedtls/ecjpake.c
vendored
|
@ -215,7 +215,7 @@ static int ecjpake_hash( const mbedtls_md_info_t *md_info,
|
|||
p += id_len;
|
||||
|
||||
/* Compute hash */
|
||||
mbedtls_md( md_info, buf, p - buf, hash );
|
||||
MBEDTLS_MPI_CHK( mbedtls_md( md_info, buf, p - buf, hash ) );
|
||||
|
||||
/* Turn it into an integer mod n */
|
||||
MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( h, hash,
|
||||
|
@ -919,7 +919,7 @@ static const unsigned char ecjpake_test_pms[] = {
|
|||
0xb4, 0x38, 0xf7, 0x19, 0xd3, 0xc4, 0xf3, 0x51
|
||||
};
|
||||
|
||||
/* Load my private keys and generate the correponding public keys */
|
||||
/* Load my private keys and generate the corresponding public keys */
|
||||
static int ecjpake_test_load( mbedtls_ecjpake_context *ctx,
|
||||
const unsigned char *xm1, size_t len1,
|
||||
const unsigned char *xm2, size_t len2 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue