Skip to content

Commit

Permalink
Update to latest BearSSL library version, fixes esp8266#4898 (esp8266…
Browse files Browse the repository at this point in the history
…#4900)

* Update to latest BearSSL library version, fixes esp8266#4898

* Actually install the updated BearSSL lib/headers
  • Loading branch information
earlephilhower authored Jul 9, 2018
1 parent 89d2f42 commit 00c35be
Show file tree
Hide file tree
Showing 11 changed files with 314 additions and 18 deletions.
2 changes: 1 addition & 1 deletion tools/sdk/include/bearssl/bearssl_aead.h
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,7 @@ extern const br_aead_class br_eax_vtable;
* can still be provided by chunks, but the total size must match
* the value provided upon initialisation.
*
* - The nonce length is constrained betwen 7 and 13 bytes (inclusive).
* - The nonce length is constrained between 7 and 13 bytes (inclusive).
* Furthermore, the plaintext length, when encoded, must fit over
* 15-nonceLen bytes; thus, if the nonce has length 13 bytes, then
* the plaintext length cannot exceed 65535 bytes.
Expand Down
2 changes: 1 addition & 1 deletion tools/sdk/include/bearssl/bearssl_git.h
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// Do not edit -- Automatically generated by tools/sdk/ssl/bearssl/Makefile
#define BEARSSL_GIT 94e9704
#define BEARSSL_GIT 6d1cefc
2 changes: 1 addition & 1 deletion tools/sdk/include/bearssl/bearssl_hash.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ extern "C" {
* - `br_xxx_out(const br_xxx_context *ctx, void *out)`
*
* Complete the hash computation and write the result in the provided
* buffer. The output buffer MUST be large enough to accomodate the
* buffer. The output buffer MUST be large enough to accommodate the
* result. The context is NOT modified by this operation, so this
* function can be used to get a "partial hash" while still keeping
* the possibility of adding more bytes to the input.
Expand Down
2 changes: 1 addition & 1 deletion tools/sdk/include/bearssl/bearssl_hmac.h
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ void br_hmac_update(br_hmac_context *ctx, const void *data, size_t len);
/**
* \brief Compute the HMAC output.
*
* The destination buffer MUST be large enough to accomodate the result;
* The destination buffer MUST be large enough to accommodate the result;
* its length is at most the "natural length" of HMAC (i.e. the output
* length of the underlying hash function). The context is NOT modified;
* further bytes may be processed. Thus, "partial HMAC" values can be
Expand Down
2 changes: 1 addition & 1 deletion tools/sdk/include/bearssl/bearssl_prf.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ extern "C" {
* # The TLS PRF
*
* The "PRF" is the pseudorandom function used internally during the
* SSL/TLS handshake, notably to expand negociated shared secrets into
* SSL/TLS handshake, notably to expand negotiated shared secrets into
* the symmetric encryption keys that will be used to process the
* application data.
*
Expand Down
2 changes: 1 addition & 1 deletion tools/sdk/include/bearssl/bearssl_rand.h
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ typedef int (*br_prng_seeder)(const br_prng_class **ctx);
* is returned.
*
* If `name` is not `NULL`, then `*name` is set to a symbolic string
* that identifies the seeder implemention. If no seeder is returned
* that identifies the seeder implementation. If no seeder is returned
* and `name` is not `NULL`, then `*name` is set to a pointer to the
* constant string `"none"`.
*
Expand Down
Loading

0 comments on commit 00c35be

Please sign in to comment.