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

  /external/chromium_org/third_party/openssl/openssl/crypto/ecdsa/
ecdsatest.c 295 unsigned char *raw_buf = NULL; local
443 /* Store the two BIGNUMs in raw_buf. */
453 if ((raw_buf = OPENSSL_malloc(buf_len)) == NULL)
456 memset(raw_buf, 0, buf_len);
457 BN_bn2bin(ecdsa_sig->r, raw_buf + bn_len - r_len);
458 BN_bn2bin(ecdsa_sig->s, raw_buf + buf_len - s_len);
461 offset = raw_buf[10] % buf_len;
462 dirt = raw_buf[11] ? raw_buf[11] : 1;
463 raw_buf[offset] ^= dirt
    [all...]
  /external/openssl/crypto/ecdsa/
ecdsatest.c 295 unsigned char *raw_buf = NULL; local
443 /* Store the two BIGNUMs in raw_buf. */
453 if ((raw_buf = OPENSSL_malloc(buf_len)) == NULL)
456 memset(raw_buf, 0, buf_len);
457 BN_bn2bin(ecdsa_sig->r, raw_buf + bn_len - r_len);
458 BN_bn2bin(ecdsa_sig->s, raw_buf + buf_len - s_len);
461 offset = raw_buf[10] % buf_len;
462 dirt = raw_buf[11] ? raw_buf[11] : 1;
463 raw_buf[offset] ^= dirt
    [all...]

Completed in 59 milliseconds