- Renamed rnd_info structure to correct rnd_buf_info structure
This commit is contained in:
parent
4fa1a76c92
commit
4cce2bbd5a
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ pkcs1_rsaes_oaep_encrypt:mod:radix_N:input_N:radix_E:input_E:hash:message_hex_st
|
|||
unsigned char rnd_buf[1000];
|
||||
rsa_context ctx;
|
||||
int msg_len;
|
||||
rnd_info info;
|
||||
rnd_buf_info info;
|
||||
|
||||
info.length = unhexify( rnd_buf, {seed} );
|
||||
info.buf = rnd_buf;
|
||||
|
@ -106,7 +106,7 @@ pkcs1_rsassa_pss_sign:mod:radix_P:input_P:radix_Q:input_Q:radix_N:input_N:radix_
|
|||
rsa_context ctx;
|
||||
mpi P1, Q1, H, G;
|
||||
int msg_len;
|
||||
rnd_info info;
|
||||
rnd_buf_info info;
|
||||
|
||||
info.length = unhexify( rnd_buf, {salt} );
|
||||
info.buf = rnd_buf;
|
||||
|
|
Loading…
Reference in a new issue