Fixed some typos, courtesy of codespell
This commit is contained in:
@@ -62,7 +62,7 @@ struct private_gcm_aead_t {
|
||||
};
|
||||
|
||||
/**
|
||||
* Find a suiteable word size and network order conversion functions
|
||||
* Find a suitable word size and network order conversion functions
|
||||
*/
|
||||
#if ULONG_MAX == 18446744073709551615UL && defined(htobe64)
|
||||
# define htobeword htobe64
|
||||
|
||||
@@ -306,7 +306,7 @@ METHOD(diffie_hellman_t, get_my_public_value, bool,
|
||||
rng = lib->crypto->create_rng(lib->crypto, RNG_STRONG);
|
||||
if (!rng)
|
||||
{
|
||||
DBG1(DBG_LIB, "could not instatiate random source");
|
||||
DBG1(DBG_LIB, "could not instantiate random source");
|
||||
return FALSE;
|
||||
}
|
||||
if (!rng->get_bytes(rng, seed_len, a_seed.ptr))
|
||||
@@ -463,7 +463,7 @@ METHOD(diffie_hellman_t, set_other_public_value, bool,
|
||||
rng = lib->crypto->create_rng(lib->crypto, RNG_STRONG);
|
||||
if (!rng)
|
||||
{
|
||||
DBG1(DBG_LIB, "could not instatiate random source");
|
||||
DBG1(DBG_LIB, "could not instantiate random source");
|
||||
goto end;
|
||||
}
|
||||
if (!rng->get_bytes(rng, seed_len, noise_seed.ptr))
|
||||
|
||||
@@ -71,7 +71,7 @@ struct ntru_drbg_t {
|
||||
};
|
||||
|
||||
/**
|
||||
* Create and instantiate a new DRBG objet.
|
||||
* Create and instantiate a new DRBG object.
|
||||
*
|
||||
* @param strength security strength in bits
|
||||
* @param pers_str personalization string
|
||||
|
||||
@@ -49,7 +49,7 @@ struct ntru_poly_t {
|
||||
void (*get_array)(ntru_poly_t *this, uint16_t *array);
|
||||
|
||||
/**
|
||||
* Multiply polynomial a with ntru_poly_t object b having sparse coeffients
|
||||
* Multiply polynomial a with ntru_poly_t object b having sparse coefficients
|
||||
* to form result polynomial c = a * b
|
||||
*
|
||||
* @param a input polynomial a
|
||||
|
||||
Reference in New Issue
Block a user