HomeSort by: relevance | last modified time | path
    Searched defs:iv (Results 1 - 25 of 45) sorted by relevancy

1 2

  /src/tests/crypto/opencrypto/
h_camellia.c 44 unsigned char iv[16] = {0}; variable in typeref:typename:unsigned char[16]
78 co.iv = iv;
h_cbcdes.c 40 unsigned char iv[8] = {0}; variable in typeref:typename:unsigned char[8]
73 co.iv = iv;
h_aescbc.c 48 unsigned char iv[16]; member in struct:__anond7f5095a0108
148 co.iv = __UNCONST(&tests[i].iv);
h_aesctr1.c 51 unsigned char iv[8]; member in struct:__anond7e42dac0108
234 co.iv = __UNCONST(&tests[i].iv);
h_aesctr2.c 42 unsigned char iv[8] = {0}; variable in typeref:typename:unsigned char[8]
69 memcpy(ibuf, iv, 8);
h_cbc3des.c 43 unsigned char iv[8] = {0}; variable in typeref:typename:unsigned char[8]
78 co.iv = iv;
94 co2.iv = iv;
h_gcm.c 41 unsigned char iv[16] = { 0 }; variable in typeref:typename:unsigned char[16]
84 co.iv = iv;
115 co.iv = iv;
  /src/sys/crypto/des/
des_cbc.c 72 unsigned char *iv; local in function:des_ncbc_encrypt
74 iv = &(*ivec)[0];
78 c2l(iv,tout0);
79 c2l(iv,tout1);
99 iv = &(*ivec)[0];
100 l2c(tout0,iv);
101 l2c(tout1,iv);
105 c2l(iv,xor0);
106 c2l(iv,xor1);
130 iv = &(*ivec)[0]
148 unsigned char *iv; local in function:des_ede3_cbc_encrypt
    [all...]
  /src/usr.bin/audio/common/
audio.c 185 struct iovec iv[3]; local in function:write_header
210 iv[veclen].iov_base = hdr;
211 iv[veclen].iov_len = hdrlen;
212 tlen += iv[veclen++].iov_len;
215 iv[veclen].iov_base = ti->header_info;
216 iv[veclen].iov_len = (int)strlen(ti->header_info) + 1;
217 tlen += iv[veclen++].iov_len;
220 iv[veclen].iov_base = audio_default_info;
221 iv[veclen].iov_len = left;
222 tlen += iv[veclen++].iov_len
    [all...]
  /src/sys/crypto/aes/
aes_selftest.c 212 uint8_t iv0[16], iv[16]; local in function:aes_selftest_encdec_cbc
227 memcpy(iv, iv0, 16);
228 impl->ai_cbc_enc(&enc, in, out, 144, iv, aes_nrounds[i]);
233 memcpy(iv, iv0, 16);
234 impl->ai_cbc_dec(&dec, out, out, 144, iv, aes_nrounds[i]);
239 /* Try incrementally, with IV update. */
241 memcpy(iv, iv0, 16);
242 impl->ai_cbc_enc(&enc, in, out, j, iv, aes_nrounds[i]);
243 impl->ai_cbc_enc(&enc, in + j, out + j, 144 - j, iv,
250 memcpy(iv, iv0, 16)
342 uint8_t iv0[16], iv[16]; local in function:aes_selftest_encdec_xts
    [all...]
  /src/sys/crypto/aes/arch/x86/
aes_sse2_subr.c 128 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16],
141 /* Load the IV. */
142 cv = _mm_loadu_epi8(iv);
158 /* Store updated IV. */
159 _mm_storeu_epi8(iv, cv);
173 __m128i cv, iv, w; local in function:aes_sse2_cbc_dec
181 /* Load the IV. */
182 iv = _mm_loadu_epi8(ivp);
187 /* Store the updated IV. */
270 * it might be the IV
    [all...]
  /src/sys/opencrypto/
ocryptodev.h 121 void * iv; member in struct:ocrypt_op
155 void * iv; member in struct:ocrypt_n_op
cryptosoft.c 91 unsigned char iv[EALG_MAX_BLOCK_LEN], blk[EALG_MAX_BLOCK_LEN], *idat; local in function:swcr_encdec
106 /* Initialize the IV */
108 /* IV explicitly provided ? */
110 memcpy(iv, crd->crd_iv, ivlen);
112 exf->reinit(sw->sw_kschedule, iv, 0);
114 exf->reinit(sw->sw_kschedule, 0, iv);
116 cprng_fast(iv, EALG_MAX_BLOCK_LEN);
119 /* Do we need to write the IV */
121 COPYBACK(outtype, buf, crd->crd_inject, ivlen, iv);
125 /* IV explicitly provided ? *
568 u_char iv[EALG_MAX_BLOCK_LEN]; local in function:swcr_combined
    [all...]
  /src/sys/net80211/
ieee80211_crypto_wep.c 131 u_int32_t iv; local in function:wep_encap
140 * IV must not duplicate during the lifetime of the key.
142 * for WEP. And the IV may be duplicated at other stations
144 * pseudo random IV for now, though it is not the right way.
146 * NB: Rather than use a strictly random IV we select a
157 iv = ctx->wc_iv;
158 if ((iv & 0xff00) == 0xff00) {
159 int B = (iv & 0xff0000) >> 16;
161 iv += 0x0100;
163 ctx->wc_iv = iv + 1
    [all...]
  /src/sys/arch/amd64/amd64/
db_interface.c 115 struct idt_vec *iv = &(cpu_info_primary.ci_idtvec); local in function:db_machine_init
117 idt_descriptor_t *idt = iv->iv_idt;
122 ddb_vec = idt_vec_alloc(iv, 0xf0, 0xff);
  /src/sys/arch/i386/i386/
db_interface.c 118 struct idt_vec *iv; local in function:db_machine_init
120 iv = &(cpu_info_primary.ci_idtvec);
125 ddb_vec = idt_vec_alloc(iv, 0xf0, 0xff);
127 idt_vec_set(iv, ddb_vec, handler);
trap.c 253 struct idt_vec *iv; local in function:ss_shadow
260 iv = idt_vec_ref(&ci->ci_idtvec);
261 idt = iv->iv_idt;
  /src/sys/arch/hppa/dev/
apic.c 164 void *iv; local in function:apic_intr_establish
184 iv = hppa_intr_establish(pri, apic_intr, aiv, &ci->ci_ir, irq);
185 if (iv == NULL) {
236 struct apic_iv *iv = v; local in function:apic_intr
237 struct elroy_softc *sc = iv->sc;
239 uint32_t irq = APIC_INT_IRQ(iv->ih);
242 while (iv) {
243 claimed = iv->handler(iv->arg);
244 if (claimed && iv->cnt
    [all...]
ssio.c 317 struct ssio_iv *iv; local in function:ssio_intr
334 iv = &ssio_intr_table[irq];
335 if (iv->handler)
336 claimed = iv->handler(iv->arg);
348 struct ssio_iv *iv; local in function:ssio_intr_establish
353 iv = &ssio_intr_table[irq];
354 iv->handler = handler;
355 iv->arg = arg;
357 return (iv);
    [all...]
mongoose.c 281 struct hppa_isa_iv *iv; local in function:mg_intr_establish
295 iv = &sc->sc_iv[irq];
296 if (iv->iv_handler) {
302 iv->iv_pri = pri;
303 iv->iv_handler = handler;
304 iv->iv_arg = arg;
320 return iv;
326 struct hppa_isa_iv *iv = cookie; local in function:mg_intr_disestablish
334 irq = iv - sc->sc_iv;
343 iv->iv_handler = NULL
356 struct hppa_isa_iv *iv; local in function:mg_intr
    [all...]
  /src/sys/dev/
cgd_crypto.c 183 uint8_t iv[CGD_AES_BLOCK_SIZE] __aligned(CGD_AES_BLOCK_SIZE) = {0}; local in function:cgd_cipher_aes_cbc
185 /* Compute the CBC IV as AES_k(blkno). */
186 aes_enc(&apd->ap_enckey, blkno, iv, apd->ap_nrounds);
190 aes_cbc_enc(&apd->ap_enckey, src, dst, nbytes, iv,
194 aes_cbc_dec(&apd->ap_deckey, src, dst, nbytes, iv,
335 uint8_t iv[CGD_3DES_BLOCK_SIZE]; local in function:cgd_cipher_3des_cbc
337 /* Compute the CBC IV as 3DES_k(blkno) = 3DES-CBC_k(iv=blkno, 0). */
339 des_ede3_cbc_encrypt(blkno, iv, CGD_3DES_BLOCK_SIZE,
346 (des_cblock *)iv, /*encrypt*/1)
405 uint8_t zero[CGD_BF_BLOCK_SIZE], iv[CGD_BF_BLOCK_SIZE]; local in function:cgd_cipher_bf_cbc
    [all...]
  /src/sys/dev/marvell/
mvcesa.c 152 * I havn't found IV registers.
379 uint32_t alg, mode, dir, *iv, ivbuf[2]; local in function:mvcesa_process
391 iv = (uint32_t *)crd->crd_iv;
394 iv = ivbuf;
399 8, iv);
402 crd->crd_inject, 8, iv);
407 iv = (uint32_t *)crd->crd_iv;
415 iv = ivbuf;
420 alg, mode, dir, iv, crd->crd_skip, crd->crd_len,
431 uint32_t alg, *iv = NULL, digest[512 / 8 / 4], dlen local in function:mvcesa_process
    [all...]
  /src/sys/dev/ic/
icp.c 323 struct icp_ioc_version *iv; local in function:icp_init
327 iv = (struct icp_ioc_version *)icp->icp_scr;
328 iv->iv_version = htole32(ICP_IOC_NEWEST);
329 iv->iv_listents = ICP_MAXBUS;
330 iv->iv_firstchan = 0;
331 iv->iv_lastchan = ICP_MAXBUS - 1;
332 iv->iv_listoffset = htole32(sizeof(*iv));
336 sizeof(*iv) + ICP_MAXBUS * sizeof(*ri))) {
337 ri = (struct icp_rawioc *)(iv + 1)
    [all...]
  /src/sys/arch/xen/xen/
hypervisor.c 305 struct idt_vec *iv = &(cpu_info_primary.ci_idtvec); local in function:xen_hvm_init_late
362 xen_hvm_vec = idt_vec_alloc(iv, 129, 255);
363 idt_vec_set(iv, xen_hvm_vec, &IDTVEC(hypervisor_pvhvm_callback));
  /src/sys/arch/x86/x86/
lapic.c 343 struct idt_vec *iv = &(cpu_info_primary.ci_idtvec); local in function:lapic_setup_bsp
344 idt_descriptor_t *idt = iv->iv_idt;
482 struct idt_vec *iv = &(cpu_info_primary.ci_idtvec); local in function:lapic_boot_init
487 idt_vec_reserve(iv, LAPIC_IPI_VECTOR);
488 idt_vec_set(iv, LAPIC_IPI_VECTOR,
491 idt_vec_reserve(iv, LAPIC_TLB_VECTOR);
492 idt_vec_set(iv, LAPIC_TLB_VECTOR,
495 idt_vec_reserve(iv, LAPIC_SPURIOUS_VECTOR);
496 idt_vec_set(iv, LAPIC_SPURIOUS_VECTOR, Xintrspurious);
498 idt_vec_reserve(iv, LAPIC_TIMER_VECTOR)
    [all...]

Completed in 22 milliseconds

1 2