Skip to content
#

crypto

Here are 3,132 public repositories matching this topic...

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.
mpg
mpg commented Mar 15, 2021

In crypto_sizes.h we rely on the fact that the largest block size is a multiple of all possible block sizes when we compute maximum output lengths by rounding up to a multiple of the maximum block size. (This would not be correct if the largest block size was not a multiple of the others: for example if 8, 12 and 16 are possible block sizes the length to round up is say 13, then the maximum will

HElib is an open-source software library that implements homomorphic encryption. It supports the BGV scheme with bootstrapping and the Approximate Number CKKS scheme. HElib also includes optimizations for efficient homomorphic evaluation, focusing on effective use of ciphertext packing techniques and on the Gentry-Halevi-Smart optimizations.

  • Updated Mar 18, 2021
  • C++

Improve this page

Add a description, image, and links to the crypto 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 crypto topic, visit your repo's landing page and select "manage topics."

Learn more