Home
last modified time | relevance | path

Searched refs:HRSS_SAMPLE_BYTES (Results 1 – 6 of 6) sorted by relevance

/external/boringssl/src/include/openssl/
Dhrss.h42 #define HRSS_SAMPLE_BYTES (701 - 1) macro
45 #define HRSS_GENERATE_KEY_BYTES (HRSS_SAMPLE_BYTES + HRSS_SAMPLE_BYTES + 32)
48 #define HRSS_ENCAP_BYTES (HRSS_SAMPLE_BYTES + HRSS_SAMPLE_BYTES)
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Dhrss.h42 #define HRSS_SAMPLE_BYTES (701 - 1) macro
45 #define HRSS_GENERATE_KEY_BYTES (HRSS_SAMPLE_BYTES + HRSS_SAMPLE_BYTES + 32)
48 #define HRSS_ENCAP_BYTES (HRSS_SAMPLE_BYTES + HRSS_SAMPLE_BYTES)
/external/rust/crates/quiche/deps/boringssl/src/crypto/hrss/
Dhrss_test.cc204 for (unsigned i = 0; i < HRSS_SAMPLE_BYTES; i++) { in TEST()
207 for (unsigned i = HRSS_SAMPLE_BYTES; i < 2 * HRSS_SAMPLE_BYTES; i++) { in TEST()
210 for (unsigned i = 2 * HRSS_SAMPLE_BYTES; i < sizeof(generate_key_entropy); in TEST()
Dhrss.c1702 const uint8_t in[HRSS_SAMPLE_BYTES]) { in poly_short_sample() argument
1703 OPENSSL_STATIC_ASSERT(HRSS_SAMPLE_BYTES == N - 1, in poly_short_sample()
1717 const uint8_t in[HRSS_SAMPLE_BYTES]) { in poly_short_sample_plus() argument
1895 const uint8_t in[HRSS_SAMPLE_BYTES + HRSS_SAMPLE_BYTES + 32]) { in HRSS_generate_key()
1899 OPENSSL_memcpy(priv->hmac_key, in + 2 * HRSS_SAMPLE_BYTES, in HRSS_generate_key()
1909 poly_short_sample_plus(&pg_phi1, in + HRSS_SAMPLE_BYTES); in HRSS_generate_key()
1935 const uint8_t in[HRSS_SAMPLE_BYTES + HRSS_SAMPLE_BYTES]) { in HRSS_encap()
1940 poly_short_sample(&r, in + HRSS_SAMPLE_BYTES); in HRSS_encap()
/external/boringssl/src/crypto/hrss/
Dhrss_test.cc204 for (unsigned i = 0; i < HRSS_SAMPLE_BYTES; i++) { in TEST()
207 for (unsigned i = HRSS_SAMPLE_BYTES; i < 2 * HRSS_SAMPLE_BYTES; i++) { in TEST()
210 for (unsigned i = 2 * HRSS_SAMPLE_BYTES; i < sizeof(generate_key_entropy); in TEST()
Dhrss.c1702 const uint8_t in[HRSS_SAMPLE_BYTES]) { in poly_short_sample() argument
1703 OPENSSL_STATIC_ASSERT(HRSS_SAMPLE_BYTES == N - 1, in poly_short_sample()
1717 const uint8_t in[HRSS_SAMPLE_BYTES]) { in poly_short_sample_plus() argument
1895 const uint8_t in[HRSS_SAMPLE_BYTES + HRSS_SAMPLE_BYTES + 32]) { in HRSS_generate_key()
1899 OPENSSL_memcpy(priv->hmac_key, in + 2 * HRSS_SAMPLE_BYTES, in HRSS_generate_key()
1909 poly_short_sample_plus(&pg_phi1, in + HRSS_SAMPLE_BYTES); in HRSS_generate_key()
1935 const uint8_t in[HRSS_SAMPLE_BYTES + HRSS_SAMPLE_BYTES]) { in HRSS_encap()
1940 poly_short_sample(&r, in + HRSS_SAMPLE_BYTES); in HRSS_encap()