HomeSort by relevance Sort by last modified time
    Searched refs:k_bytes (Results 1 - 2 of 2) sorted by null

  /external/chromium_org/third_party/boringssl/src/crypto/bn/
random.c 256 uint8_t *k_bytes = NULL; local
268 k_bytes = OPENSSL_malloc(num_k_bytes);
269 if (!k_bytes) {
304 memcpy(k_bytes + done, digest, todo);
308 k_bytes[0] &= 0xff >> bits_to_mask;
310 if (!BN_bin2bn(k_bytes, num_k_bytes, out)) {
321 if (k_bytes) {
322 OPENSSL_free(k_bytes);
  /external/openssl/crypto/bn/
bn_rand.c 327 unsigned char *k_bytes; local
330 k_bytes = OPENSSL_malloc(num_k_bytes);
331 if (!k_bytes)
360 memcpy(k_bytes + done, digest, todo);
364 if (!BN_bin2bn(k_bytes, num_k_bytes, out))
371 if (k_bytes)
372 OPENSSL_free(k_bytes);

Completed in 2678 milliseconds