| /src/crypto/external/bsd/openssl/dist/test/ |
| rand_test.c | 22 unsigned char outbuf[3]; local 30 || !TEST_int_gt(RAND_priv_bytes(outbuf, sizeof(outbuf)), 0) 31 || !TEST_mem_eq(outbuf, sizeof(outbuf), entropy1, sizeof(outbuf)) 32 || !TEST_int_le(RAND_priv_bytes(outbuf, sizeof(outbuf) + 1), 0) 33 || !TEST_int_gt(RAND_priv_bytes(outbuf, sizeof(outbuf)), 0 [all...] |
| /src/external/bsd/openldap/dist/libraries/liblutil/ |
| getopt.c | 63 char *ptr, outbuf[4096]; local 65 ptr = lutil_strncopy(outbuf, argv[0], sizeof(outbuf) - 2); 66 ptr = lutil_strncopy(ptr, s, sizeof(outbuf)-2 -(ptr-outbuf)); 70 __atoe_l(outbuf, ptr - outbuf); 72 (void) write(STDERR_FILENO,outbuf,ptr - outbuf);
|
| /src/crypto/external/apache2/openssl/lib/libdes/ |
| oenc_writ.c | 88 static unsigned char *outbuf=NULL; local 94 if (outbuf == NULL) 96 outbuf=OPENSSL_malloc(BSIZE+HDRSIZE); 97 if (outbuf == NULL) return(-1); 123 p=outbuf; 142 des_pcbc_encrypt(cp,&(outbuf[HDRSIZE]),(len<8)?8:len,sched,iv, 145 des_cbc_encrypt(cp,&(outbuf[HDRSIZE]),(len<8)?8:len,sched,iv, 155 i=write(fd,(void *)&(outbuf[j]),outnum-j);
|
| /src/crypto/external/bsd/openssl/lib/libdes/ |
| oenc_writ.c | 88 static unsigned char *outbuf=NULL; local 94 if (outbuf == NULL) 96 outbuf=OPENSSL_malloc(BSIZE+HDRSIZE); 97 if (outbuf == NULL) return(-1); 123 p=outbuf; 142 des_pcbc_encrypt(cp,&(outbuf[HDRSIZE]),(len<8)?8:len,sched,iv, 145 des_cbc_encrypt(cp,&(outbuf[HDRSIZE]),(len<8)?8:len,sched,iv, 155 i=write(fd,(void *)&(outbuf[j]),outnum-j);
|
| /src/crypto/external/bsd/openssl.old/lib/libdes/ |
| oenc_writ.c | 88 static unsigned char *outbuf=NULL; local 94 if (outbuf == NULL) 96 outbuf=OPENSSL_malloc(BSIZE+HDRSIZE); 97 if (outbuf == NULL) return(-1); 123 p=outbuf; 142 des_pcbc_encrypt(cp,&(outbuf[HDRSIZE]),(len<8)?8:len,sched,iv, 145 des_cbc_encrypt(cp,&(outbuf[HDRSIZE]),(len<8)?8:len,sched,iv, 155 i=write(fd,(void *)&(outbuf[j]),outnum-j);
|
| /src/sys/fs/cd9660/ |
| iso_rrip.h | 68 char *outbuf; /* name/symbolic link output area */ member in struct:__anon6719 77 char *outbuf, u_short *outlen, 80 char *outbuf, u_short *outlen,
|
| /src/external/public-domain/xz/dist/tests/ossfuzz/ |
| fuzz_common.h | 31 uint8_t outbuf[4096]; local 57 // outbuf became full. We don't care about the 59 // the outbuf and overwrite the old data. 60 stream->next_out = outbuf; 61 stream->avail_out = sizeof(outbuf);
|
| /src/usr.bin/gzip/ |
| unbzip2.c | 40 static char *inbuf, *outbuf; local 44 if (outbuf == NULL) 45 outbuf = malloc(BUFLEN); 46 if (inbuf == NULL || outbuf == NULL) 82 bzs.next_out = outbuf; 104 n = write(out, outbuf, BUFLEN - bzs.avail_out);
|
| /src/crypto/external/apache2/openssl/dist/test/ |
| rand_test.c | 29 unsigned char outbuf[3]; local 37 || !TEST_int_gt(RAND_priv_bytes(outbuf, sizeof(outbuf)), 0) 38 || !TEST_mem_eq(outbuf, sizeof(outbuf), entropy1, sizeof(outbuf)) 39 || !TEST_int_le(RAND_priv_bytes(outbuf, sizeof(outbuf) + 1), 0) 40 || !TEST_int_gt(RAND_priv_bytes(outbuf, sizeof(outbuf)), 0 [all...] |
| /src/usr.sbin/lpr/lptest/ |
| lptest.c | 55 char outbuf[BUFSIZ]; local 57 setbuf(stdout, outbuf);
|
| /src/external/public-domain/xz/dist/tests/ |
| test_check.c | 202 uint8_t outbuf[128]; 210 strm.next_out = outbuf; 211 strm.avail_out = sizeof(outbuf); 222 strm.next_out = outbuf; 223 strm.avail_out = sizeof(outbuf); 234 strm.next_out = outbuf; 235 strm.avail_out = sizeof(outbuf); 248 strm.next_out = outbuf; 249 strm.avail_out = sizeof(outbuf); 262 strm.next_out = outbuf; [all...] |
| /src/sys/arch/alpha/stand/mkbootimage/ |
| mkbootimage.c | 62 char *outbuf; local 118 outbuf = malloc(outbufsize); 119 if (outbuf == NULL) 121 memset(outbuf, 0, outbufsize); 124 rv = read(infd, outbuf + sizeof (struct alpha_boot_block), 133 bb = (struct alpha_boot_block *)outbuf; 159 rv = write(outfd, outbuf, outbufsize);
|
| /src/external/public-domain/xz/dist/doc/examples/ |
| 01_compress_easy.c | 116 uint8_t outbuf[BUFSIZ]; local 131 strm->next_out = outbuf; 132 strm->avail_out = sizeof(outbuf); 182 size_t write_size = sizeof(outbuf) - strm->avail_out; 184 if (fwrite(outbuf, 1, write_size, outfile) 192 strm->next_out = outbuf; 193 strm->avail_out = sizeof(outbuf);
|
| 02_decompress.c | 118 uint8_t outbuf[BUFSIZ]; local 122 strm->next_out = outbuf; 123 strm->avail_out = sizeof(outbuf); 149 size_t write_size = sizeof(outbuf) - strm->avail_out; 151 if (fwrite(outbuf, 1, write_size, outfile) 158 strm->next_out = outbuf; 159 strm->avail_out = sizeof(outbuf);
|
| 03_compress_custom.c | 109 uint8_t outbuf[BUFSIZ]; local 113 strm->next_out = outbuf; 114 strm->avail_out = sizeof(outbuf); 135 size_t write_size = sizeof(outbuf) - strm->avail_out; 137 if (fwrite(outbuf, 1, write_size, outfile) 144 strm->next_out = outbuf; 145 strm->avail_out = sizeof(outbuf);
|
| 04_compress_easy_mt.c | 122 uint8_t outbuf[BUFSIZ]; local 126 strm->next_out = outbuf; 127 strm->avail_out = sizeof(outbuf); 148 size_t write_size = sizeof(outbuf) - strm->avail_out; 150 if (fwrite(outbuf, 1, write_size, outfile) 157 strm->next_out = outbuf; 158 strm->avail_out = sizeof(outbuf);
|
| /src/crypto/external/apache2/openssl/dist/demos/cipher/ |
| aeskeywrap.c | 142 unsigned char outbuf[1024]; local 166 if (!EVP_EncryptUpdate(ctx, outbuf, &outlen, wrap_pt, sizeof(wrap_pt))) 170 if (!EVP_EncryptFinal_ex(ctx, outbuf + outlen, &tmplen)) 176 BIO_dump_fp(stdout, outbuf, outlen); 178 if (sizeof(wrap_ct) == outlen && !CRYPTO_memcmp(outbuf, wrap_ct, outlen)) 200 unsigned char outbuf[1024]; local 223 if (!EVP_DecryptUpdate(ctx, outbuf, &outlen, wrap_ct, sizeof(wrap_ct))) 227 if (!EVP_DecryptFinal_ex(ctx, outbuf + outlen, &tmplen)) 233 BIO_dump_fp(stdout, outbuf, outlen); 235 if (sizeof(wrap_pt) == outlen && !CRYPTO_memcmp(outbuf, wrap_pt, outlen) [all...] |
| ariacbc.c | 75 unsigned char outbuf[1024]; local 97 if (!EVP_EncryptUpdate(ctx, outbuf, &outlen, cbc_pt, sizeof(cbc_pt))) 101 if (!EVP_EncryptFinal_ex(ctx, outbuf + outlen, &tmplen)) 107 BIO_dump_fp(stdout, outbuf, outlen); 109 if (sizeof(cbc_ct) == outlen && !CRYPTO_memcmp(outbuf, cbc_ct, outlen)) 131 unsigned char outbuf[1024]; local 152 if (!EVP_DecryptUpdate(ctx, outbuf, &outlen, cbc_ct, sizeof(cbc_ct))) 156 if (!EVP_DecryptFinal_ex(ctx, outbuf + outlen, &tmplen)) 162 BIO_dump_fp(stdout, outbuf, outlen); 164 if (sizeof(cbc_pt) == outlen && !CRYPTO_memcmp(outbuf, cbc_pt, outlen) [all...] |
| /src/crypto/external/bsd/heimdal/dist/lib/krb5/ |
| rd_safe.c | 89 krb5_data *outbuf, 96 krb5_data_zero(outbuf); 193 outbuf->length = safe.safe_body.user_data.length; 194 outbuf->data = malloc(outbuf->length); 195 if (outbuf->data == NULL && outbuf->length != 0) { 197 krb5_data_zero(outbuf); 200 memcpy (outbuf->data, safe.safe_body.user_data.data, outbuf->length) [all...] |
| /src/crypto/external/bsd/openssl/dist/demos/cipher/ |
| aeskeywrap.c | 62 unsigned char outbuf[1024]; local 86 if (!EVP_EncryptUpdate(ctx, outbuf, &outlen, wrap_pt, sizeof(wrap_pt))) 90 if (!EVP_EncryptFinal_ex(ctx, outbuf + outlen, &tmplen)) 96 BIO_dump_fp(stdout, outbuf, outlen); 98 if (sizeof(wrap_ct) == outlen && !CRYPTO_memcmp(outbuf, wrap_ct, outlen)) 120 unsigned char outbuf[1024]; local 143 if (!EVP_DecryptUpdate(ctx, outbuf, &outlen, wrap_ct, sizeof(wrap_ct))) 147 if (!EVP_DecryptFinal_ex(ctx, outbuf + outlen, &tmplen)) 153 BIO_dump_fp(stdout, outbuf, outlen); 155 if (sizeof(wrap_pt) == outlen && !CRYPTO_memcmp(outbuf, wrap_pt, outlen) [all...] |
| ariacbc.c | 62 unsigned char outbuf[1024]; local 85 if (!EVP_EncryptUpdate(ctx, outbuf, &outlen, cbc_pt, sizeof(cbc_pt))) 89 if (!EVP_EncryptFinal_ex(ctx, outbuf + outlen, &tmplen)) 95 BIO_dump_fp(stdout, outbuf, outlen); 97 if (sizeof(cbc_ct) == outlen && !CRYPTO_memcmp(outbuf, cbc_ct, outlen)) 120 unsigned char outbuf[1024]; local 141 if (!EVP_DecryptUpdate(ctx, outbuf, &outlen, cbc_ct, sizeof(cbc_ct))) 145 if (!EVP_DecryptFinal_ex(ctx, outbuf + outlen, &tmplen)) 151 BIO_dump_fp(stdout, outbuf, outlen); 153 if (sizeof(cbc_pt) == outlen && !CRYPTO_memcmp(outbuf, cbc_pt, outlen) [all...] |
| /src/crypto/external/bsd/openssl.old/dist/demos/evp/ |
| aesgcm.c | 54 unsigned char outbuf[1024]; local 68 EVP_EncryptUpdate(ctx, outbuf, &outlen, gcm_pt, sizeof(gcm_pt)); 71 BIO_dump_fp(stdout, outbuf, outlen); 73 EVP_EncryptFinal_ex(ctx, outbuf, &outlen); 75 EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_GET_TAG, 16, outbuf); 78 BIO_dump_fp(stdout, outbuf, 16); 86 unsigned char outbuf[1024]; local 100 EVP_DecryptUpdate(ctx, outbuf, &outlen, gcm_ct, sizeof(gcm_ct)); 103 BIO_dump_fp(stdout, outbuf, outlen); 108 rv = EVP_DecryptFinal_ex(ctx, outbuf, &outlen) [all...] |
| aesccm.c | 54 unsigned char outbuf[1024]; local 73 EVP_EncryptUpdate(ctx, outbuf, &outlen, ccm_pt, sizeof(ccm_pt)); 76 BIO_dump_fp(stdout, outbuf, outlen); 78 EVP_EncryptFinal_ex(ctx, outbuf, &outlen); 80 EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_GET_TAG, 16, outbuf); 83 BIO_dump_fp(stdout, outbuf, 16); 91 unsigned char outbuf[1024]; local 111 rv = EVP_DecryptUpdate(ctx, outbuf, &outlen, ccm_ct, sizeof(ccm_ct)); 115 BIO_dump_fp(stdout, outbuf, outlen);
|
| /src/external/gpl3/gcc/dist/gcc/ |
| lto-compress.cc | 136 char *outbuf = (char *) xmalloc (outbuf_length); local 138 size_t const csize = ZSTD_compress (outbuf, outbuf_length, cursor, size, 145 stream->callback (outbuf, csize, NULL); 148 free (outbuf); 167 char *outbuf = (char *) xmalloc (rsize); local 168 size_t const dsize = ZSTD_decompress (outbuf, rsize, cursor, size); 174 stream->callback (outbuf, dsize, stream->opaque); 177 free (outbuf); 251 unsigned char *outbuf = (unsigned char *) xmalloc (outbuf_length); local 259 out_stream.next_out = outbuf; 342 unsigned char *outbuf = (unsigned char *) xmalloc (outbuf_length); local [all...] |
| /src/external/gpl3/gcc.old/dist/gcc/ |
| lto-compress.cc | 136 char *outbuf = (char *) xmalloc (outbuf_length); local 138 size_t const csize = ZSTD_compress (outbuf, outbuf_length, cursor, size, 145 stream->callback (outbuf, csize, NULL); 148 free (outbuf); 167 char *outbuf = (char *) xmalloc (rsize); local 168 size_t const dsize = ZSTD_decompress (outbuf, rsize, cursor, size); 174 stream->callback (outbuf, dsize, stream->opaque); 177 free (outbuf); 251 unsigned char *outbuf = (unsigned char *) xmalloc (outbuf_length); local 259 out_stream.next_out = outbuf; 342 unsigned char *outbuf = (unsigned char *) xmalloc (outbuf_length); local [all...] |