mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-24 05:35:36 +00:00
parent
6432c7e782
commit
ee7db9cb6d
|
@ -75,7 +75,7 @@ int main( void )
|
||||||
|
|
||||||
unsigned char *p, *end;
|
unsigned char *p, *end;
|
||||||
unsigned char buf[2048];
|
unsigned char buf[2048];
|
||||||
unsigned char hash[20];
|
unsigned char hash[32];
|
||||||
const char *pers = "dh_client";
|
const char *pers = "dh_client";
|
||||||
|
|
||||||
entropy_context entropy;
|
entropy_context entropy;
|
||||||
|
|
|
@ -75,7 +75,7 @@ int main( void )
|
||||||
int client_fd = -1;
|
int client_fd = -1;
|
||||||
|
|
||||||
unsigned char buf[2048];
|
unsigned char buf[2048];
|
||||||
unsigned char hash[20];
|
unsigned char hash[32];
|
||||||
unsigned char buf2[2];
|
unsigned char buf2[2];
|
||||||
const char *pers = "dh_server";
|
const char *pers = "dh_server";
|
||||||
|
|
||||||
|
|
|
@ -74,7 +74,7 @@ int main( int argc, char *argv[] )
|
||||||
pk_context pk;
|
pk_context pk;
|
||||||
entropy_context entropy;
|
entropy_context entropy;
|
||||||
ctr_drbg_context ctr_drbg;
|
ctr_drbg_context ctr_drbg;
|
||||||
unsigned char hash[20];
|
unsigned char hash[32];
|
||||||
unsigned char buf[POLARSSL_MPI_MAX_SIZE];
|
unsigned char buf[POLARSSL_MPI_MAX_SIZE];
|
||||||
char filename[512];
|
char filename[512];
|
||||||
const char *pers = "pk_sign";
|
const char *pers = "pk_sign";
|
||||||
|
|
|
@ -68,7 +68,7 @@ int main( int argc, char *argv[] )
|
||||||
int ret = 1;
|
int ret = 1;
|
||||||
size_t i;
|
size_t i;
|
||||||
pk_context pk;
|
pk_context pk;
|
||||||
unsigned char hash[20];
|
unsigned char hash[32];
|
||||||
unsigned char buf[POLARSSL_MPI_MAX_SIZE];
|
unsigned char buf[POLARSSL_MPI_MAX_SIZE];
|
||||||
char filename[512];
|
char filename[512];
|
||||||
|
|
||||||
|
|
|
@ -58,7 +58,7 @@ int main( int argc, char *argv[] )
|
||||||
int ret;
|
int ret;
|
||||||
size_t i;
|
size_t i;
|
||||||
rsa_context rsa;
|
rsa_context rsa;
|
||||||
unsigned char hash[20];
|
unsigned char hash[32];
|
||||||
unsigned char buf[POLARSSL_MPI_MAX_SIZE];
|
unsigned char buf[POLARSSL_MPI_MAX_SIZE];
|
||||||
char filename[512];
|
char filename[512];
|
||||||
|
|
||||||
|
|
|
@ -74,7 +74,7 @@ int main( int argc, char *argv[] )
|
||||||
pk_context pk;
|
pk_context pk;
|
||||||
entropy_context entropy;
|
entropy_context entropy;
|
||||||
ctr_drbg_context ctr_drbg;
|
ctr_drbg_context ctr_drbg;
|
||||||
unsigned char hash[20];
|
unsigned char hash[32];
|
||||||
unsigned char buf[POLARSSL_MPI_MAX_SIZE];
|
unsigned char buf[POLARSSL_MPI_MAX_SIZE];
|
||||||
char filename[512];
|
char filename[512];
|
||||||
const char *pers = "rsa_sign_pss";
|
const char *pers = "rsa_sign_pss";
|
||||||
|
|
|
@ -57,7 +57,7 @@ int main( int argc, char *argv[] )
|
||||||
int ret, c;
|
int ret, c;
|
||||||
size_t i;
|
size_t i;
|
||||||
rsa_context rsa;
|
rsa_context rsa;
|
||||||
unsigned char hash[20];
|
unsigned char hash[32];
|
||||||
unsigned char buf[POLARSSL_MPI_MAX_SIZE];
|
unsigned char buf[POLARSSL_MPI_MAX_SIZE];
|
||||||
char filename[512];
|
char filename[512];
|
||||||
|
|
||||||
|
|
|
@ -69,7 +69,7 @@ int main( int argc, char *argv[] )
|
||||||
int ret = 1;
|
int ret = 1;
|
||||||
size_t i;
|
size_t i;
|
||||||
pk_context pk;
|
pk_context pk;
|
||||||
unsigned char hash[20];
|
unsigned char hash[32];
|
||||||
unsigned char buf[POLARSSL_MPI_MAX_SIZE];
|
unsigned char buf[POLARSSL_MPI_MAX_SIZE];
|
||||||
char filename[512];
|
char filename[512];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue