![]() |
nrfxlib API 3.3.99
|
| psa_status_t cc3xx_internal_rsa_sign | ( | const psa_key_attributes_t * | attributes, |
| const uint8_t * | key_buffer, | ||
| size_t | key_length, | ||
| psa_algorithm_t | alg, | ||
| const uint8_t * | input, | ||
| size_t | input_length, | ||
| uint8_t * | signature, | ||
| size_t | signature_size, | ||
| size_t * | signature_length, | ||
| bool | do_hashing ) |
Internal RSA sign operation.
| [in] | attributes | Attributes of the key to use |
| [in] | key_buffer | Buffer holding the private key |
| [in] | key_length | Size in bytes of the key |
| [in] | alg | Algorithm to use |
| [in] | input | Data to sign buffer |
| [in] | input_length | Size in bytes of the data to sign |
| [out] | signature | Buffer to hold the signature data |
| [in] | signature_size | Size in bytes of the signature buffer |
| [out] | signature_length | Size in bytes of the signature |
| [in] | do_hashing | Whether to hash the input before signing |
| PSA_SUCCESS | on success. Error code from psa_status_t on failure |