mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-28 09:39:53 +00:00
Fix documentation - parameter name mistakes
Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
This commit is contained in:
parent
7d49a1c907
commit
69ed8c41fa
@ -474,7 +474,7 @@ void mbedtls_asn1_sequence_free(mbedtls_asn1_sequence *seq);
|
|||||||
* on a successful invocation.
|
* on a successful invocation.
|
||||||
* \param end The end of the ASN.1 SEQUENCE container.
|
* \param end The end of the ASN.1 SEQUENCE container.
|
||||||
* \param tag_must_mask A mask to be applied to the ASN.1 tags found within
|
* \param tag_must_mask A mask to be applied to the ASN.1 tags found within
|
||||||
* the SEQUENCE before comparing to \p tag_must_value.
|
* the SEQUENCE before comparing to \p tag_must_val.
|
||||||
* \param tag_must_val The required value of each ASN.1 tag found in the
|
* \param tag_must_val The required value of each ASN.1 tag found in the
|
||||||
* SEQUENCE, after masking with \p tag_must_mask.
|
* SEQUENCE, after masking with \p tag_must_mask.
|
||||||
* Mismatching tags lead to an error.
|
* Mismatching tags lead to an error.
|
||||||
@ -483,7 +483,7 @@ void mbedtls_asn1_sequence_free(mbedtls_asn1_sequence *seq);
|
|||||||
* while a value of \c 0xFF for \p tag_must_mask means
|
* while a value of \c 0xFF for \p tag_must_mask means
|
||||||
* that \p tag_must_val is the only allowed tag.
|
* that \p tag_must_val is the only allowed tag.
|
||||||
* \param tag_may_mask A mask to be applied to the ASN.1 tags found within
|
* \param tag_may_mask A mask to be applied to the ASN.1 tags found within
|
||||||
* the SEQUENCE before comparing to \p tag_may_value.
|
* the SEQUENCE before comparing to \p tag_may_val.
|
||||||
* \param tag_may_val The desired value of each ASN.1 tag found in the
|
* \param tag_may_val The desired value of each ASN.1 tag found in the
|
||||||
* SEQUENCE, after masking with \p tag_may_mask.
|
* SEQUENCE, after masking with \p tag_may_mask.
|
||||||
* Mismatching tags will be silently ignored.
|
* Mismatching tags will be silently ignored.
|
||||||
|
@ -530,7 +530,7 @@ int mbedtls_mpi_write_file(const char *p, const mbedtls_mpi *X,
|
|||||||
* \param X The destination MPI. This must point to an initialized MPI.
|
* \param X The destination MPI. This must point to an initialized MPI.
|
||||||
* \param buf The input buffer. This must be a readable buffer of length
|
* \param buf The input buffer. This must be a readable buffer of length
|
||||||
* \p buflen Bytes.
|
* \p buflen Bytes.
|
||||||
* \param buflen The length of the input buffer \p p in Bytes.
|
* \param buflen The length of the input buffer \p buf in Bytes.
|
||||||
*
|
*
|
||||||
* \return \c 0 if successful.
|
* \return \c 0 if successful.
|
||||||
* \return #MBEDTLS_ERR_MPI_ALLOC_FAILED if memory allocation failed.
|
* \return #MBEDTLS_ERR_MPI_ALLOC_FAILED if memory allocation failed.
|
||||||
@ -545,7 +545,7 @@ int mbedtls_mpi_read_binary(mbedtls_mpi *X, const unsigned char *buf,
|
|||||||
* \param X The destination MPI. This must point to an initialized MPI.
|
* \param X The destination MPI. This must point to an initialized MPI.
|
||||||
* \param buf The input buffer. This must be a readable buffer of length
|
* \param buf The input buffer. This must be a readable buffer of length
|
||||||
* \p buflen Bytes.
|
* \p buflen Bytes.
|
||||||
* \param buflen The length of the input buffer \p p in Bytes.
|
* \param buflen The length of the input buffer \p buf in Bytes.
|
||||||
*
|
*
|
||||||
* \return \c 0 if successful.
|
* \return \c 0 if successful.
|
||||||
* \return #MBEDTLS_ERR_MPI_ALLOC_FAILED if memory allocation failed.
|
* \return #MBEDTLS_ERR_MPI_ALLOC_FAILED if memory allocation failed.
|
||||||
@ -985,8 +985,8 @@ int mbedtls_mpi_gcd(mbedtls_mpi *G, const mbedtls_mpi *A,
|
|||||||
* \return #MBEDTLS_ERR_MPI_ALLOC_FAILED if a memory allocation failed.
|
* \return #MBEDTLS_ERR_MPI_ALLOC_FAILED if a memory allocation failed.
|
||||||
* \return #MBEDTLS_ERR_MPI_BAD_INPUT_DATA if \p N is less than
|
* \return #MBEDTLS_ERR_MPI_BAD_INPUT_DATA if \p N is less than
|
||||||
* or equal to one.
|
* or equal to one.
|
||||||
* \return #MBEDTLS_ERR_MPI_NOT_ACCEPTABLE if \p has no modular inverse
|
* \return #MBEDTLS_ERR_MPI_NOT_ACCEPTABLE if \p A has no modular
|
||||||
* with respect to \p N.
|
* inverse with respect to \p N.
|
||||||
*/
|
*/
|
||||||
int mbedtls_mpi_inv_mod(mbedtls_mpi *X, const mbedtls_mpi *A,
|
int mbedtls_mpi_inv_mod(mbedtls_mpi *X, const mbedtls_mpi *A,
|
||||||
const mbedtls_mpi *N);
|
const mbedtls_mpi *N);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user