Home
last modified time | relevance | path

Searched refs:signed_msg (Results 1 – 1 of 1) sorted by relevance

/external/boringssl/src/crypto/fipsmodule/rsa/
Drsa.c476 uint8_t *signed_msg; in RSA_add_pkcs1_prefix() local
484 signed_msg = OPENSSL_malloc(signed_msg_len); in RSA_add_pkcs1_prefix()
485 if (!signed_msg) { in RSA_add_pkcs1_prefix()
490 OPENSSL_memcpy(signed_msg, prefix, prefix_len); in RSA_add_pkcs1_prefix()
491 OPENSSL_memcpy(signed_msg + prefix_len, msg, msg_len); in RSA_add_pkcs1_prefix()
493 *out_msg = signed_msg; in RSA_add_pkcs1_prefix()
508 uint8_t *signed_msg = NULL; in RSA_sign() local
517 if (!RSA_add_pkcs1_prefix(&signed_msg, &signed_msg_len, in RSA_sign()
519 !RSA_sign_raw(rsa, &size_t_out_len, out, rsa_size, signed_msg, in RSA_sign()
529 OPENSSL_free(signed_msg); in RSA_sign()
[all …]