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

Side by Side Diff: crypto/random.h

Issue 10698177: Added crypto random-number generator (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Comment fixes Created 8 years, 4 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CRYPTO_RANDOM_H_
6 #define CRYPTO_RANDOM_H_
7
8 #include "crypto/crypto_export.h"
9
10 namespace crypto {
11
12 // Fills the given buffer with |length| random bytes of cryptographically
13 // secure random numbers.
14 // |length| must be positive.
15 CRYPTO_EXPORT void RandBytes(void *bytes, size_t length);
16
17 }
akalin 2012/08/02 07:01:12 } // namespace crypto
18
19 #endif
OLDNEW
« base/rand_util_win.cc ('K') | « crypto/p224_spake.cc ('k') | crypto/random.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698