Skip to content
#

ssl

Here are 1,844 public repositories matching this topic...

aschiffmann
aschiffmann commented Apr 21, 2021

Checklist

  • Dependencies installed
  • No typos
  • Searched existing issues and docs

Issue Description

When using the RateLimiter Middleware with a rate between 0 and 1 all events will be rejected instead of applying the specified rate. E.g.: e.Use(middleware.RateLimiter(middleware.NewRateLimiterMemoryStore(0.5)))

I am not saying that it is a common use case to have

paulidale
paulidale commented Jul 9, 2021

As noted in #14464, the randomisation used does not need to be cryptographically secure. Any form of randomisation is sufficient.

The project could implement a low quality but fast RNG for the purposes generating this kind of blinding material. There is an existing low quality RNG in impl_cache_flush_cache() in crypto/property/property.c which could be used more widely. There is another

baldwinmatt
baldwinmatt commented Jun 26, 2020

Problem:

A common pattern is:

GUARD(s2n_stuffer_skip_write(stuffer, bytes_to_write));
uint8_t* ptr = suffer->blob.data + stuffer->write_cursor - bytes_to_write;

which could be simplified.

Solution:

*ptr could be an *out parameter to s2n_stuffer_skip_write

  • Does this change what S2N sends over the wire? No.
  • Does this change any public APIs? No.
oauth2-proxy
gilles-peskine-arm
gilles-peskine-arm commented Jul 1, 2021

There are advantages to grouping commonly-used fields in structures together. On Cortex-M0, an access to the first 128 elements of a structure (p->x when offsetof(t, x) / sizeof(x) < 128 where sizeof(x) is 1, 2 or 4) uses less code than an access beyond this boundary. On platforms with a cache, putting commonly-used fields in the same cache line optimizes cache use.

Anecdotal evidence sug

An FTP and FTPS client for .NET & .NET Standard, optimized for speed. Provides extensive FTP commands, File uploads/downloads, SSL/TLS connections, Automatic directory listing parsing, File hashing/checksums, File permissions/CHMOD, FTP proxies, FXP support, UTF-8 support, Async/await support, Powershell support and more. Written entirely in C#, with no external dependencies.

  • Updated Jul 9, 2021
  • C#

Improve this page

Add a description, image, and links to the ssl topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the ssl topic, visit your repo's landing page and select "manage topics."

Learn more