aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/aws/s2n/utils/s2n_random.h
diff options
context:
space:
mode:
authororivej <orivej@yandex-team.ru>2022-02-10 16:44:49 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:44:49 +0300
commit718c552901d703c502ccbefdfc3c9028d608b947 (patch)
tree46534a98bbefcd7b1f3faa5b52c138ab27db75b7 /contrib/restricted/aws/s2n/utils/s2n_random.h
parente9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (diff)
downloadydb-718c552901d703c502ccbefdfc3c9028d608b947.tar.gz
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/restricted/aws/s2n/utils/s2n_random.h')
-rw-r--r--contrib/restricted/aws/s2n/utils/s2n_random.h68
1 files changed, 34 insertions, 34 deletions
diff --git a/contrib/restricted/aws/s2n/utils/s2n_random.h b/contrib/restricted/aws/s2n/utils/s2n_random.h
index 1d316328b9..15efe7cd10 100644
--- a/contrib/restricted/aws/s2n/utils/s2n_random.h
+++ b/contrib/restricted/aws/s2n/utils/s2n_random.h
@@ -1,34 +1,34 @@
-/*
- * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License").
- * You may not use this file except in compliance with the License.
- * A copy of the License is located at
- *
- * http://aws.amazon.com/apache2.0
- *
- * or in the "license" file accompanying this file. This file is distributed
- * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
- * express or implied. See the License for the specific language governing
- * permissions and limitations under the License.
- */
-
-#pragma once
-
-#include "crypto/s2n_drbg.h"
-
-#include "utils/s2n_blob.h"
-#include "utils/s2n_result.h"
-
-extern S2N_RESULT s2n_rand_init(void);
-extern S2N_RESULT s2n_rand_cleanup(void);
-extern S2N_RESULT s2n_get_seed_entropy(struct s2n_blob *blob);
-extern S2N_RESULT s2n_get_mix_entropy(struct s2n_blob *blob);
-
-extern S2N_RESULT s2n_rand_cleanup_thread(void);
-extern S2N_RESULT s2n_set_private_drbg_for_test(struct s2n_drbg drbg);
-extern S2N_RESULT s2n_get_public_random_data(struct s2n_blob *blob);
-extern S2N_RESULT s2n_get_public_random_bytes_used(uint64_t *bytes_used);
-extern S2N_RESULT s2n_get_private_random_data(struct s2n_blob *blob);
-extern S2N_RESULT s2n_get_private_random_bytes_used(uint64_t *bytes_used);
-extern S2N_RESULT s2n_public_random(int64_t max, uint64_t *output);
+/*
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License").
+ * You may not use this file except in compliance with the License.
+ * A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing
+ * permissions and limitations under the License.
+ */
+
+#pragma once
+
+#include "crypto/s2n_drbg.h"
+
+#include "utils/s2n_blob.h"
+#include "utils/s2n_result.h"
+
+extern S2N_RESULT s2n_rand_init(void);
+extern S2N_RESULT s2n_rand_cleanup(void);
+extern S2N_RESULT s2n_get_seed_entropy(struct s2n_blob *blob);
+extern S2N_RESULT s2n_get_mix_entropy(struct s2n_blob *blob);
+
+extern S2N_RESULT s2n_rand_cleanup_thread(void);
+extern S2N_RESULT s2n_set_private_drbg_for_test(struct s2n_drbg drbg);
+extern S2N_RESULT s2n_get_public_random_data(struct s2n_blob *blob);
+extern S2N_RESULT s2n_get_public_random_bytes_used(uint64_t *bytes_used);
+extern S2N_RESULT s2n_get_private_random_data(struct s2n_blob *blob);
+extern S2N_RESULT s2n_get_private_random_bytes_used(uint64_t *bytes_used);
+extern S2N_RESULT s2n_public_random(int64_t max, uint64_t *output);