mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-09 15:45:37 +00:00
parent
144c3cc8ab
commit
089b70d5a6
|
@ -134,7 +134,7 @@ int aes_crypt_cfb128( aes_context *ctx,
|
||||||
const unsigned char *input,
|
const unsigned char *input,
|
||||||
unsigned char *output );
|
unsigned char *output );
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* \brief AES-CTR buffer encryption/decryption
|
* \brief AES-CTR buffer encryption/decryption
|
||||||
*
|
*
|
||||||
* Warning: You have to keep the maximum use of your counter in mind!
|
* Warning: You have to keep the maximum use of your counter in mind!
|
||||||
|
|
|
@ -66,7 +66,7 @@ void arc4_setup( arc4_context *ctx, const unsigned char *key, unsigned int keyle
|
||||||
int arc4_crypt( arc4_context *ctx, size_t length, const unsigned char *input,
|
int arc4_crypt( arc4_context *ctx, size_t length, const unsigned char *input,
|
||||||
unsigned char *output );
|
unsigned char *output );
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* \brief Checkup routine
|
* \brief Checkup routine
|
||||||
*
|
*
|
||||||
* \return 0 if successful, or 1 if the test failed
|
* \return 0 if successful, or 1 if the test failed
|
||||||
|
|
|
@ -184,7 +184,7 @@ void mpi_swap( mpi *X, mpi *Y );
|
||||||
*/
|
*/
|
||||||
int mpi_lset( mpi *X, t_sint z );
|
int mpi_lset( mpi *X, t_sint z );
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* \brief Get a specific bit from X
|
* \brief Get a specific bit from X
|
||||||
*
|
*
|
||||||
* \param X MPI to use
|
* \param X MPI to use
|
||||||
|
@ -194,7 +194,7 @@ int mpi_lset( mpi *X, t_sint z );
|
||||||
*/
|
*/
|
||||||
int mpi_get_bit( mpi *X, size_t pos );
|
int mpi_get_bit( mpi *X, size_t pos );
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* \brief Set a bit of X to a specific value of 0 or 1
|
* \brief Set a bit of X to a specific value of 0 or 1
|
||||||
*
|
*
|
||||||
* \note Will grow X if necessary to set a bit to 1 in a not yet
|
* \note Will grow X if necessary to set a bit to 1 in a not yet
|
||||||
|
|
|
@ -139,7 +139,7 @@ int camellia_crypt_cfb128( camellia_context *ctx,
|
||||||
const unsigned char *input,
|
const unsigned char *input,
|
||||||
unsigned char *output );
|
unsigned char *output );
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* \brief CAMELLIA-CTR buffer encryption/decryption
|
* \brief CAMELLIA-CTR buffer encryption/decryption
|
||||||
*
|
*
|
||||||
* Warning: You have to keep the maximum use of your counter in mind!
|
* Warning: You have to keep the maximum use of your counter in mind!
|
||||||
|
|
|
@ -606,7 +606,7 @@
|
||||||
*/
|
*/
|
||||||
#define POLARSSL_SSL_CLI_C
|
#define POLARSSL_SSL_CLI_C
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* \def POLARSSL_SSL_SRV_C
|
* \def POLARSSL_SSL_SRV_C
|
||||||
*
|
*
|
||||||
* Enable the SSL/TLS server code.
|
* Enable the SSL/TLS server code.
|
||||||
|
|
|
@ -213,7 +213,7 @@ int des3_crypt_cbc( des3_context *ctx,
|
||||||
const unsigned char *input,
|
const unsigned char *input,
|
||||||
unsigned char *output );
|
unsigned char *output );
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* \brief Checkup routine
|
* \brief Checkup routine
|
||||||
*
|
*
|
||||||
* \return 0 if successful, or 1 if the test failed
|
* \return 0 if successful, or 1 if the test failed
|
||||||
|
|
|
@ -134,7 +134,7 @@ int dhm_make_public( dhm_context *ctx, int x_size,
|
||||||
int dhm_calc_secret( dhm_context *ctx,
|
int dhm_calc_secret( dhm_context *ctx,
|
||||||
unsigned char *output, size_t *olen );
|
unsigned char *output, size_t *olen );
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* \brief Free the components of a DHM key
|
* \brief Free the components of a DHM key
|
||||||
*/
|
*/
|
||||||
void dhm_free( dhm_context *ctx );
|
void dhm_free( dhm_context *ctx );
|
||||||
|
|
|
@ -617,7 +617,7 @@ int x509parse_crl_info( char *buf, size_t size, const char *prefix,
|
||||||
*/
|
*/
|
||||||
const char *x509_oid_get_description( x509_buf *oid );
|
const char *x509_oid_get_description( x509_buf *oid );
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* \brief Give an OID, return a string version of its OID number.
|
* \brief Give an OID, return a string version of its OID number.
|
||||||
*
|
*
|
||||||
* \param buf Buffer to write to
|
* \param buf Buffer to write to
|
||||||
|
|
|
@ -97,7 +97,7 @@ int xtea_crypt_cbc( xtea_context *ctx,
|
||||||
unsigned char *input,
|
unsigned char *input,
|
||||||
unsigned char *output);
|
unsigned char *output);
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* \brief Checkup routine
|
* \brief Checkup routine
|
||||||
*
|
*
|
||||||
* \return 0 if successful, or 1 if the test failed
|
* \return 0 if successful, or 1 if the test failed
|
||||||
|
|
Loading…
Reference in a new issue