rsa.c | 409 uint8_t *signed_msg; local 417 signed_msg = OPENSSL_malloc(signed_msg_len); 418 if (!signed_msg) { 423 memcpy(signed_msg, prefix, prefix_len); 424 memcpy(signed_msg + prefix_len, msg, msg_len); 426 *out_msg = signed_msg; 441 uint8_t *signed_msg; local 450 if (!RSA_add_pkcs1_prefix(&signed_msg, &signed_msg_len, 461 if (RSA_sign_raw(rsa, &size_t_out_len, out, rsa_size, signed_msg, 469 OPENSSL_free(signed_msg); 479 uint8_t *signed_msg = NULL; local [all...] |