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

1 2 3 4

  /src/sys/arch/x86/x86/
idt.c 167 idt_vec_alloc(struct idt_vec *iv, int low, int high)
170 char *idt_allocmap = iv->iv_allocmap;
174 if (low < 0 || high >= __arraycount(iv->iv_allocmap))
194 idt_vec_reserve(struct idt_vec *iv, int vec)
200 result = idt_vec_alloc(iv, vec, vec);
207 idt_vec_set(struct idt_vec *iv, int vec, void (*function)(void))
210 char *idt_allocmap __diagused = iv->iv_allocmap;
214 idt = iv->iv_idt;
223 idt_vec_free(struct idt_vec *iv, int vec)
226 char *idt_allocmap = iv->iv_allocmap
    [all...]
  /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/arch/mips/cavium/dev/
octeon_cop2var.h 113 octeon_cop2_aes_set_iv_unaligned_vaddr64(uint64_t iv)
119 /* Store the IV to cop2 */
120 CNASM_ULD(tmp0, 0, iv)
121 CNASM_ULD(tmp1, 8, iv)
127 : [iv] "d" (iv));
131 octeon_cop2_aes_set_iv_unaligned(uint8_t *iv)
133 octeon_cop2_aes_set_iv_unaligned_vaddr64((intptr_t)iv);
342 octeon_cop2_des_set_iv_unaligned_vaddr64(uint64_t iv)
348 /* Load IV to a register *
    [all...]
  /src/tests/crypto/opencrypto/
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_cbcdes.c 40 unsigned char iv[8] = {0}; variable in typeref:typename:unsigned char[8]
73 co.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;
h_camellia.c 44 unsigned char iv[16] = {0}; variable in typeref:typename:unsigned char[16]
78 co.iv = iv;
  /src/sys/crypto/aes/arch/x86/
aes_ssse3_impl.c 89 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16],
96 aes_ssse3_cbc_enc(enc, in, out, nbytes, iv, nrounds);
102 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16],
109 aes_ssse3_cbc_dec(dec, in, out, nbytes, iv, nrounds);
115 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16],
122 aes_ssse3_xts_enc(enc, in, out, nbytes, iv, nrounds);
128 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16],
135 aes_ssse3_xts_dec(dec, in, out, nbytes, iv, nrounds);
aes_ni.c 124 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16],
131 aesni_cbc_enc(enc, in, out, nbytes, iv, nrounds);
137 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16],
146 aesni_cbc_dec1(dec, in, out, nbytes % 128, iv, nrounds);
154 aesni_cbc_dec8(dec, in, out, nbytes, iv, nrounds);
161 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16],
170 aesni_xts_enc1(enc, in, out, nbytes % 128, iv, nrounds);
178 aesni_xts_enc8(enc, in, out, nbytes, iv, nrounds);
185 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16],
194 aesni_xts_dec1(dec, in, out, nbytes % 128, iv, nrounds)
    [all...]
aes_sse2_impl.c 96 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16],
103 aes_sse2_cbc_enc(enc, in, out, nbytes, iv, nrounds);
109 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16],
116 aes_sse2_cbc_dec(dec, in, out, nbytes, iv, nrounds);
  /src/sys/external/isc/libsodium/dist/src/libsodium/crypto_stream/chacha20/dolbeau/
chacha20_dolbeau-avx2.c 54 chacha_ivsetup(chacha_ctx *ctx, const uint8_t *iv, const uint8_t *counter)
58 ctx->input[14] = LOAD32_LE(iv + 0);
59 ctx->input[15] = LOAD32_LE(iv + 4);
63 chacha_ietf_ivsetup(chacha_ctx *ctx, const uint8_t *iv, const uint8_t *counter)
66 ctx->input[13] = LOAD32_LE(iv + 0);
67 ctx->input[14] = LOAD32_LE(iv + 4);
68 ctx->input[15] = LOAD32_LE(iv + 8);
chacha20_dolbeau-ssse3.c 49 chacha_ivsetup(chacha_ctx *ctx, const uint8_t *iv, const uint8_t *counter)
53 ctx->input[14] = LOAD32_LE(iv + 0);
54 ctx->input[15] = LOAD32_LE(iv + 4);
58 chacha_ietf_ivsetup(chacha_ctx *ctx, const uint8_t *iv, const uint8_t *counter)
61 ctx->input[13] = LOAD32_LE(iv + 0);
62 ctx->input[14] = LOAD32_LE(iv + 4);
63 ctx->input[15] = LOAD32_LE(iv + 8);
  /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...]
  /src/tests/dev/cgd/
t_cgdconfig.sh 39 iv-method encblkno1;
58 iv-method encblkno1;
66 iv-method encblkno1;
92 iv-method encblkno1;
113 iv-method encblkno1;
134 iv-method encblkno1;
156 iv-method encblkno1;
180 iv-method encblkno1;
191 iv-method encblkno1;
229 iv-method encblkno1
    [all...]
  /src/sys/opencrypto/
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...]
ocryptodev.h 121 void * iv; member in struct:ocrypt_op
155 void * iv; member in struct:ocrypt_n_op
  /src/sys/crypto/aes/arch/arm/
aes_neon_impl.c 97 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16],
104 aes_neon_cbc_enc(enc, in, out, nbytes, iv, nrounds);
110 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16],
117 aes_neon_cbc_dec(dec, in, out, nbytes, iv, nrounds);
123 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16],
130 aes_neon_xts_enc(enc, in, out, nbytes, iv, nrounds);
136 uint8_t out[static 16], size_t nbytes, uint8_t iv[static 16],
143 aes_neon_xts_dec(dec, in, out, nbytes, iv, nrounds);
  /src/sys/dev/mscp/
mscpreg.h 153 #define STEP2GOOD(iv) (MP_STEP3 | MP_IE | (iv))
  /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
amdgpu_ih.h 74 #define amdgpu_ih_decode_iv(adev, iv) \
75 (adev)->irq.ih_funcs->decode_iv((adev), (ih), (iv))
  /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/external/isc/libsodium/dist/src/libsodium/crypto_stream/salsa20/xmm6int/
salsa20_xmm6int-avx2.c 57 salsa_ivsetup(salsa_ctx *ctx, const uint8_t *iv, const uint8_t *counter)
59 ctx->input[TR[6]] = LOAD32_LE(iv + 0);
60 ctx->input[TR[7]] = LOAD32_LE(iv + 4);
salsa20_xmm6int-sse2.c 49 salsa_ivsetup(salsa_ctx *ctx, const uint8_t *iv, const uint8_t *counter)
51 ctx->input[TR[6]] = LOAD32_LE(iv + 0);
52 ctx->input[TR[7]] = LOAD32_LE(iv + 4);
  /src/sys/arch/hpcmips/include/
pci_machdep.h 94 #define pci_intr_disestablish(c, iv) \
95 (*(c)->pc_intr_disestablish)((c), (iv))

Completed in 236 milliseconds

1 2 3 4