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

Side by Side Diff: srtp/crypto/rng/prng.c

Issue 889083003: Update libsrtp to upstream 1.5.0 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libsrtp@master
Patch Set: Updated to libsrtp 1.5.1 Created 5 years, 10 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
« no previous file with comments | « srtp/crypto/rng/ctr_prng.c ('k') | srtp/crypto/rng/rand_source_ossl.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * prng.c 2 * prng.c
3 * 3 *
4 * pseudorandom source 4 * pseudorandom source
5 * 5 *
6 * David A. McGrew 6 * David A. McGrew
7 * Cisco Systems, Inc. 7 * Cisco Systems, Inc.
8 */ 8 */
9 /* 9 /*
10 * 10 *
(...skipping 25 matching lines...) Expand all
36 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 36 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
37 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 37 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
38 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 38 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
39 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 39 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
40 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 40 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
41 * OF THE POSSIBILITY OF SUCH DAMAGE. 41 * OF THE POSSIBILITY OF SUCH DAMAGE.
42 * 42 *
43 */ 43 */
44 44
45 45
46 #ifdef HAVE_CONFIG_H
47 #include <config.h>
48 #endif
49
46 #include "prng.h" 50 #include "prng.h"
47 51
48 /* single, global prng structure */ 52 /* single, global prng structure */
49 53
50 x917_prng_t x917_prng; 54 x917_prng_t x917_prng;
51 55
52 err_status_t 56 err_status_t
53 x917_prng_init(rand_source_func_t random_source) { 57 x917_prng_init(rand_source_func_t random_source) {
54 uint8_t tmp_key[16]; 58 uint8_t tmp_key[16];
55 err_status_t status; 59 err_status_t status;
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 } 175 }
172 176
173 return err_status_ok; 177 return err_status_ok;
174 } 178 }
175 179
176 err_status_t 180 err_status_t
177 x917_prng_deinit(void) { 181 x917_prng_deinit(void) {
178 182
179 return err_status_ok; 183 return err_status_ok;
180 } 184 }
OLDNEW
« no previous file with comments | « srtp/crypto/rng/ctr_prng.c ('k') | srtp/crypto/rng/rand_source_ossl.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698