Lines Matching full:rsa
2 * PSA RSA layer on top of Mbed TLS crypto
13 #include <mbedtls/rsa.h>
15 /** Load the contents of a key buffer into an internal RSA representation
20 * \param[out] p_rsa Returns a pointer to an RSA context on success.
30 /** Import an RSA key in binary format.
49 * \retval #PSA_SUCCESS The RSA key was imported successfully.
62 /** Export an RSA key to export representation
65 * \param[in] rsa The internal RSA representation from which to export
71 mbedtls_rsa_context *rsa,
76 /** Export a public RSA key or the public part of an RSA key pair in binary
92 * \retval #PSA_SUCCESS The RSA public key was exported successfully.
106 * \brief Generate an RSA key.
108 * \param[in] attributes The attributes for the RSA key to generate.
132 /** Sign an already-calculated hash with an RSA private key.
139 * \param[in] attributes The attributes of the RSA key to use for the
141 * \param[in] key_buffer The buffer containing the RSA key context.
145 * an RSA key.
158 * \p alg) where \c key_bits is the bit-size of the RSA key.
172 * \brief Verify the signature a hash or short message using a public RSA key.
179 * \param[in] attributes The attributes of the RSA key to use for the
181 * \param[in] key_buffer The buffer containing the RSA key context.
185 * an RSA key.