Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Unified Diff: src/trusted/desc/nacl_desc_rng.h

Issue 550523002: Remove the old "SecureRandom" service, formerly used by get_random_bytes() (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/trusted/desc/nacl_desc_base.c ('k') | src/trusted/desc/nacl_desc_rng.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/desc/nacl_desc_rng.h
diff --git a/src/trusted/desc/nacl_desc_rng.h b/src/trusted/desc/nacl_desc_rng.h
deleted file mode 100644
index 4a2176ff53428e60800babd07d4985b9c872f544..0000000000000000000000000000000000000000
--- a/src/trusted/desc/nacl_desc_rng.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright (c) 2011 The Native Client Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-/*
- * A NaClDesc subclass that exposes the platform secure RNG
- * implementation.
- */
-
-#ifndef NATIVE_CLIENT_SRC_TRUSTED_DESC_NACL_DESC_RNG_H_
-#define NATIVE_CLIENT_SRC_TRUSTED_DESC_NACL_DESC_RNG_H_
-
-#include "native_client/src/trusted/desc/nacl_desc_base.h"
-#include "native_client/src/shared/platform/nacl_secure_random.h"
-
-/*
- * NaClSecureRngModuleInit must have been called, perhaps indirectly
- * through NaClPlatformInit.
- */
-
-EXTERN_C_BEGIN
-
-/*
- * This is not a cryptographically forward secure rng, but it should
- * be cryptographically secure.
- */
-struct NaClDescRng {
- struct NaClDesc base NACL_IS_REFCOUNT_SUBCLASS;
- struct NaClSecureRng rng;
-};
-
-int NaClDescRngCtor(struct NaClDescRng *self);
-
-int NaClDescRngInternalize(struct NaClDesc **out_desc,
- struct NaClDescXferState *xfer,
- struct NaClDescQuotaInterface *quota_interface)
- NACL_WUR;
-
-EXTERN_C_END
-
-#endif
« no previous file with comments | « src/trusted/desc/nacl_desc_base.c ('k') | src/trusted/desc/nacl_desc_rng.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698