Searched refs:encbuf (Results 1 – 6 of 6) sorted by relevance
| /openbsd/src/usr.sbin/smtpd/ |
| D | queue_backend.c | 379 char encbuf[sizeof(struct envelope)]; in queue_envelope_dump_buffer() local 395 enclen = crypto_encrypt_buffer(evp, evplen, encbuf, sizeof encbuf); in queue_envelope_dump_buffer() 398 evp = encbuf; in queue_envelope_dump_buffer() 414 char encbuf[sizeof(struct envelope)]; in queue_envelope_load_buffer() local 421 enclen = crypto_decrypt_buffer(evp, evplen, encbuf, sizeof encbuf); in queue_envelope_load_buffer() 424 evp = encbuf; in queue_envelope_load_buffer()
|
| /openbsd/src/usr.bin/sndiod/ |
| D | dev.c | 419 if (s->sub.encbuf) in slot_skip() 587 resamp_out = s->sub.encbuf ? s->sub.encbuf : enc_out; in dev_sub_bcopy() 611 if (s->sub.encbuf) in dev_sub_bcopy() 612 enc_do(&s->sub.enc, s->sub.encbuf, (void *)enc_out, s->round); in dev_sub_bcopy() 649 if (d->encbuf) { in dev_cycle() 651 d->encbuf, d->round); in dev_cycle() 761 if ((d->mode & MODE_PLAY) && d->encbuf) { in dev_cycle() 763 d->encbuf, d->round); in dev_cycle() 927 d->encbuf = xmalloc(d->round * d->pchan * d->par.bps); in dev_allocbufs() 929 d->encbuf = NULL; in dev_allocbufs() [all …]
|
| D | dev.h | 85 void *resampbuf, *encbuf; /* tmp buffers */ member 244 unsigned char *encbuf; /* buffer for encoding */ member
|
| D | siofile.c | 399 base = d->encbuf ? d->encbuf : (unsigned char *)DEV_PBUF(d); in dev_sio_run()
|
| /openbsd/src/usr.sbin/snmpd/ |
| D | usm.c | 483 u_char *encbuf; in usm_encrypt() local 497 (encbuf = malloc(len + EVP_MAX_BLOCK_LENGTH)) != NULL) { in usm_encrypt() 498 elen = usm_crypt(msg, ptr, len, encbuf, 1); in usm_encrypt() 500 encrpdu = ober_add_nstring(NULL, (char *)encbuf, elen); in usm_encrypt() 501 free(encbuf); in usm_encrypt()
|
| /openbsd/src/sys/arch/octeon/dev/ |
| D | octcrypto.c | 949 uint8_t *buf, *authbuf, *encbuf; in octcrypto_authenc_hmac() local 999 encbuf = buf + encskip; in octcrypto_authenc_hmac() 1069 octcrypto_aes_cbc_enc(encbuf, crde->crd_len, in octcrypto_authenc_hmac() 1072 octcrypto_aes_cbc_dec(encbuf, crde->crd_len, in octcrypto_authenc_hmac() 1085 octcrypto_aes_ctr_enc(encbuf, crde->crd_len, icb); in octcrypto_authenc_hmac() 1095 crde->crd_skip, crde->crd_len, encbuf, M_NOWAIT)) { in octcrypto_authenc_hmac() 1101 crde->crd_skip, crde->crd_len, encbuf); in octcrypto_authenc_hmac()
|