Searched refs:signed_msg (Results 1 – 1 of 1) sorted by relevance
/external/boringssl/src/crypto/rsa/ |
D | rsa.c | 409 uint8_t *signed_msg; in RSA_add_pkcs1_prefix() local 417 signed_msg = OPENSSL_malloc(signed_msg_len); in RSA_add_pkcs1_prefix() 418 if (!signed_msg) { in RSA_add_pkcs1_prefix() 423 memcpy(signed_msg, prefix, prefix_len); in RSA_add_pkcs1_prefix() 424 memcpy(signed_msg + prefix_len, msg, msg_len); in RSA_add_pkcs1_prefix() 426 *out_msg = signed_msg; in RSA_add_pkcs1_prefix() 441 uint8_t *signed_msg; in RSA_sign() local 450 if (!RSA_add_pkcs1_prefix(&signed_msg, &signed_msg_len, in RSA_sign() 461 if (RSA_sign_raw(rsa, &size_t_out_len, out, rsa_size, signed_msg, in RSA_sign() 469 OPENSSL_free(signed_msg); in RSA_sign() [all …]
|