Skip to content

Commit 00c35be

Browse files
Update to latest BearSSL library version, fixes #4898 (#4900)
* Update to latest BearSSL library version, fixes #4898 * Actually install the updated BearSSL lib/headers
1 parent 89d2f42 commit 00c35be

11 files changed

+314
-18
lines changed

tools/sdk/include/bearssl/bearssl_aead.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,7 @@ extern const br_aead_class br_eax_vtable;
877877
* can still be provided by chunks, but the total size must match
878878
* the value provided upon initialisation.
879879
*
880-
* - The nonce length is constrained betwen 7 and 13 bytes (inclusive).
880+
* - The nonce length is constrained between 7 and 13 bytes (inclusive).
881881
* Furthermore, the plaintext length, when encoded, must fit over
882882
* 15-nonceLen bytes; thus, if the nonce has length 13 bytes, then
883883
* the plaintext length cannot exceed 65535 bytes.
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
// Do not edit -- Automatically generated by tools/sdk/ssl/bearssl/Makefile
2-
#define BEARSSL_GIT 94e9704
2+
#define BEARSSL_GIT 6d1cefc

tools/sdk/include/bearssl/bearssl_hash.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ extern "C" {
9393
* - `br_xxx_out(const br_xxx_context *ctx, void *out)`
9494
*
9595
* Complete the hash computation and write the result in the provided
96-
* buffer. The output buffer MUST be large enough to accomodate the
96+
* buffer. The output buffer MUST be large enough to accommodate the
9797
* result. The context is NOT modified by this operation, so this
9898
* function can be used to get a "partial hash" while still keeping
9999
* the possibility of adding more bytes to the input.

tools/sdk/include/bearssl/bearssl_hmac.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ void br_hmac_update(br_hmac_context *ctx, const void *data, size_t len);
155155
/**
156156
* \brief Compute the HMAC output.
157157
*
158-
* The destination buffer MUST be large enough to accomodate the result;
158+
* The destination buffer MUST be large enough to accommodate the result;
159159
* its length is at most the "natural length" of HMAC (i.e. the output
160160
* length of the underlying hash function). The context is NOT modified;
161161
* further bytes may be processed. Thus, "partial HMAC" values can be

tools/sdk/include/bearssl/bearssl_prf.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ extern "C" {
3737
* # The TLS PRF
3838
*
3939
* The "PRF" is the pseudorandom function used internally during the
40-
* SSL/TLS handshake, notably to expand negociated shared secrets into
40+
* SSL/TLS handshake, notably to expand negotiated shared secrets into
4141
* the symmetric encryption keys that will be used to process the
4242
* application data.
4343
*

tools/sdk/include/bearssl/bearssl_rand.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ typedef int (*br_prng_seeder)(const br_prng_class **ctx);
279279
* is returned.
280280
*
281281
* If `name` is not `NULL`, then `*name` is set to a symbolic string
282-
* that identifies the seeder implemention. If no seeder is returned
282+
* that identifies the seeder implementation. If no seeder is returned
283283
* and `name` is not `NULL`, then `*name` is set to a pointer to the
284284
* constant string `"none"`.
285285
*

0 commit comments

Comments
 (0)