boringssl/crypto/pkcs8
David Benjamin a6d81018f8 Consistently use RAND_bytes and check for failure.
RAND_pseudo_bytes just calls RAND_bytes now and only returns 0 or 1. Switch all
callers within the library call the new one and use the simpler failure check.
This fixes a few error checks that no longer work (< 0) and some missing ones.

Change-Id: Id51c79deec80075949f73fa1fbd7b76aac5570c6
Reviewed-on: https://boringssl-review.googlesource.com/2621
Reviewed-by: Adam Langley <agl@google.com>
2014-12-16 19:15:59 +00:00
..
CMakeLists.txt Add PKCS#12 parser. 2014-08-25 21:47:02 +00:00
internal.h
p5_pbe.c Consistently use RAND_bytes and check for failure. 2014-12-16 19:15:59 +00:00
p5_pbev2.c Consistently use RAND_bytes and check for failure. 2014-12-16 19:15:59 +00:00
p8_pkey.c Add PKCS#12 parser. 2014-08-25 21:47:02 +00:00
pkcs8_error.c Add PKCS#12 parser. 2014-08-25 21:47:02 +00:00
pkcs8.c Provide compatibility functions for PKCS#12 parsing. 2014-09-20 00:10:03 +00:00
pkcs12_test.c Provide compatibility functions for PKCS#12 parsing. 2014-09-20 00:10:03 +00:00