Searched refs:shortbuf (Results 1 – 4 of 4) sorted by relevance
| /netbsd-src/crypto/external/bsd/openssl/lib/libdes/ |
| H A D | oenc_writ.c | 89 unsigned char shortbuf[8]; in des_enc_write() local 129 cp=shortbuf; in des_enc_write() 130 memcpy(shortbuf,buf,len); in des_enc_write() 131 *(u_int32_t *)&shortbuf[0] = arc4random(); in des_enc_write() 132 *(u_int32_t *)&shortbuf[4] = arc4random(); in des_enc_write()
|
| /netbsd-src/crypto/external/bsd/openssl.old/lib/libdes/ |
| H A D | oenc_writ.c | 89 unsigned char shortbuf[8]; in des_enc_write() local 129 cp=shortbuf; in des_enc_write() 130 memcpy(shortbuf,buf,len); in des_enc_write() 131 *(u_int32_t *)&shortbuf[0] = arc4random(); in des_enc_write() 132 *(u_int32_t *)&shortbuf[4] = arc4random(); in des_enc_write()
|
| /netbsd-src/external/bsd/libarchive/dist/libarchive/test/ |
| H A D | test_short_writes.c | 41 char *shortbuf; member 57 char *new_buf = realloc(checker->shortbuf, new_len); in short_write_callback() 60 checker->shortbuf = new_buf; in short_write_callback() 61 memcpy(checker->shortbuf + checker->shortbuf_len, buffer, to_write); in short_write_callback() 166 assert(memcmp(checker->shortbuf, checker->fullbuf, checker->fullbuf_len) == 0); in checker_check() 172 free(checker->shortbuf); in checker_free()
|
| /netbsd-src/external/bsd/openldap/dist/contrib/ldaptcl/ |
| H A D | neoXldap.c | 127 char shortbuf[16]; in LDAP_SetErrorCode() local 135 sprintf(shortbuf, "0x%03x", code); in LDAP_SetErrorCode() 136 errp = shortbuf; in LDAP_SetErrorCode()
|