Skip to main content
  • Home
  • login
  • Browse the archive

    swh mirror partner logo
swh logo
SoftwareHeritage
Software
Heritage
Mirror
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

Revision 661f884ed921ce7afb60834b7f58a3bc5b9ad777 authored by Tomas Mraz on 11 September 2024, 15:41:30 UTC, committed by Tomas Mraz on 11 September 2024, 15:41:30 UTC
Fixup conflicting SSL_R_ECH_REQUIRED
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25435)
1 parent f303c9a
  • Files
  • Changes
  • c2cf0b7
  • /
  • test
  • /
  • bn_rand_range.h
Raw File
Cook and download a directory from the Software Heritage Vault

You have requested the cooking of the directory with identifier None into a standard tar.gz archive.

Are you sure you want to continue ?

Download a directory from the Software Heritage Vault

You have requested the download of the directory with identifier None as a standard tar.gz archive.

Are you sure you want to continue ?

Cook and download a revision from the Software Heritage Vault

You have requested the cooking of the history heading to revision with identifier swh:1:rev:661f884ed921ce7afb60834b7f58a3bc5b9ad777 into a bare git archive.

Are you sure you want to continue ?

Download a revision from the Software Heritage Vault

You have requested the download of the history heading to revision with identifier swh:1:rev:661f884ed921ce7afb60834b7f58a3bc5b9ad777 as a bare git archive.

Are you sure you want to continue ?

Invalid Email !

The provided email is not well-formed.

Download link has expired

The requested archive is no longer available for download from the Software Heritage Vault.

Do you want to cook it again ?

Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • revision
  • content
revision badge
swh:1:rev:661f884ed921ce7afb60834b7f58a3bc5b9ad777
content badge Iframe embedding
swh:1:cnt:2a63ef721966e5687d8eb462884b2a77b1780fc9
bn_rand_range.h
/*
 * WARNING: do not edit!
 * Generated by statistics/bn_rand_range.py in the OpenSSL tool repository.
 *
 * Copyright 2019 The OpenSSL Project Authors. All Rights Reserved.
 *
 * Licensed under the Apache License 2.0 (the "License").  You may not use
 * this file except in compliance with the License.  You can obtain a copy
 * in the file LICENSE in the source distribution or at
 * https://www.openssl.org/source/license.html
 */

static const struct {
    unsigned int range;
    unsigned int iterations;
    double critical;
} rand_range_cases[] = {
    {     2,     200,     3.841459 },
    {     3,     300,     5.991465 },
    {     4,     400,     7.814728 },
    {     5,     500,     9.487729 },
    {     6,     600,    11.070498 },
    {     7,     700,    12.591587 },
    {     8,     800,    14.067140 },
    {     9,     900,    15.507313 },
    {    10,    1000,    16.918978 },
    {    11,    1100,    18.307038 },
    {    12,    1200,    19.675138 },
    {    13,    1300,    21.026070 },
    {    14,    1400,    22.362032 },
    {    15,    1500,    23.684791 },
    {    16,    1600,    24.995790 },
    {    17,    1700,    26.296228 },
    {    18,    1800,    27.587112 },
    {    19,    1900,    28.869299 },
    {    20,    2000,    30.143527 },
    {    30,    3000,    42.556968 },
    {    40,    4000,    54.572228 },
    {    50,    5000,    66.338649 },
    {    60,    6000,    77.930524 },
    {    70,    7000,    89.391208 },
    {    80,    8000,   100.748619 },
    {    90,    9000,   112.021986 },
    {   100,   10000,   123.225221 },
    {  1000,   10000,  1073.642651 },
    {  2000,   20000,  2104.128222 },
    {  3000,   30000,  3127.515432 },
    {  4000,   40000,  4147.230012 },
    {  5000,   50000,  5164.598069 },
    {  6000,   60000,  6180.299514 },
    {  7000,   70000,  7194.738181 },
    {  8000,   80000,  8208.177159 },
    {  9000,   90000,  9220.799176 },
    { 10000,  100000, 10232.737266 },
};

static const int binomial_critical = 29;

The diff you're trying to view is too large. Only the first 1000 changed files have been loaded.
Showing with 0 additions and 0 deletions (0 / 0 diffs computed)
swh spinner

Computing file changes ...

ENEA — Copyright (C), ENEA. License: GNU AGPLv3+.
Legal notes  ::  JavaScript license information ::  Web API

back to top