HomeSort by: relevance | last modified time | path
    Searched defs:shortbuf (Results 1 - 12 of 12) sorted by relevancy

  /src/crypto/external/apache2/openssl/lib/libdes/
oenc_writ.c 89 unsigned char shortbuf[8]; local
129 cp=shortbuf;
130 memcpy(shortbuf,buf,len);
131 *(u_int32_t *)&shortbuf[0] = arc4random();
132 *(u_int32_t *)&shortbuf[4] = arc4random();
oenc_writ.c 89 unsigned char shortbuf[8]; local
129 cp=shortbuf;
130 memcpy(shortbuf,buf,len);
131 *(u_int32_t *)&shortbuf[0] = arc4random();
132 *(u_int32_t *)&shortbuf[4] = arc4random();
  /src/crypto/external/bsd/openssl/lib/libdes/
oenc_writ.c 89 unsigned char shortbuf[8]; local
129 cp=shortbuf;
130 memcpy(shortbuf,buf,len);
131 *(u_int32_t *)&shortbuf[0] = arc4random();
132 *(u_int32_t *)&shortbuf[4] = arc4random();
oenc_writ.c 89 unsigned char shortbuf[8]; local
129 cp=shortbuf;
130 memcpy(shortbuf,buf,len);
131 *(u_int32_t *)&shortbuf[0] = arc4random();
132 *(u_int32_t *)&shortbuf[4] = arc4random();
  /src/crypto/external/bsd/openssl.old/lib/libdes/
oenc_writ.c 89 unsigned char shortbuf[8]; local
129 cp=shortbuf;
130 memcpy(shortbuf,buf,len);
131 *(u_int32_t *)&shortbuf[0] = arc4random();
132 *(u_int32_t *)&shortbuf[4] = arc4random();
oenc_writ.c 89 unsigned char shortbuf[8]; local
129 cp=shortbuf;
130 memcpy(shortbuf,buf,len);
131 *(u_int32_t *)&shortbuf[0] = arc4random();
132 *(u_int32_t *)&shortbuf[4] = arc4random();
  /src/external/bsd/libarchive/dist/libarchive/test/
test_short_writes.c 41 char *shortbuf; member in struct:checker
57 char *new_buf = realloc(checker->shortbuf, new_len);
60 checker->shortbuf = new_buf;
61 memcpy(checker->shortbuf + checker->shortbuf_len, buffer, to_write);
166 assert(memcmp(checker->shortbuf, checker->fullbuf, checker->fullbuf_len) == 0);
172 free(checker->shortbuf);
test_short_writes.c 41 char *shortbuf; member in struct:checker
57 char *new_buf = realloc(checker->shortbuf, new_len);
60 checker->shortbuf = new_buf;
61 memcpy(checker->shortbuf + checker->shortbuf_len, buffer, to_write);
166 assert(memcmp(checker->shortbuf, checker->fullbuf, checker->fullbuf_len) == 0);
172 free(checker->shortbuf);
  /src/external/bsd/openldap/dist/contrib/ldaptcl/
neoXldap.c 127 char shortbuf[16]; local
135 sprintf(shortbuf, "0x%03x", code);
136 errp = shortbuf;
neoXldap.c 127 char shortbuf[16]; local
135 sprintf(shortbuf, "0x%03x", code);
136 errp = shortbuf;
  /src/crypto/external/apache2/openssl/dist/test/
evp_extra_test.c 3226 uint8_t shortbuf[1]; local
3227 size_t inlen, len = 0, shortlen = sizeof(shortbuf);
3295 if ((!pub && !TEST_false(EVP_PKEY_get_raw_private_key(pkey, shortbuf, &shortlen)))
3296 || (pub && !TEST_false(EVP_PKEY_get_raw_public_key(pkey, shortbuf, &shortlen))))
4014 unsigned char shortbuf[] = { 0xa5, 0x5a }; local
4062 if (!TEST_int_le(EVP_PKEY_verify_recover(verify_ctx, shortbuf,
4070 || !TEST_mem_eq(shortbuf, sizeof(shortbuf), shortbuf_expected,
evp_extra_test.c 3226 uint8_t shortbuf[1]; local
3227 size_t inlen, len = 0, shortlen = sizeof(shortbuf);
3295 if ((!pub && !TEST_false(EVP_PKEY_get_raw_private_key(pkey, shortbuf, &shortlen)))
3296 || (pub && !TEST_false(EVP_PKEY_get_raw_public_key(pkey, shortbuf, &shortlen))))
4014 unsigned char shortbuf[] = { 0xa5, 0x5a }; local
4062 if (!TEST_int_le(EVP_PKEY_verify_recover(verify_ctx, shortbuf,
4070 || !TEST_mem_eq(shortbuf, sizeof(shortbuf), shortbuf_expected,

Completed in 72 milliseconds