Home
last modified time | relevance | path

Searched refs:ivec (Results 1 – 25 of 77) sorted by relevance

1234

/openssl/crypto/modes/
H A Dcfb128.c55 (*block) (ivec, ivec, key); in CRYPTO_cfb128_encrypt()
67 (*block) (ivec, ivec, key); in CRYPTO_cfb128_encrypt()
81 (*block) (ivec, ivec, key); in CRYPTO_cfb128_encrypt()
95 ivec[n] = c; in CRYPTO_cfb128_encrypt()
105 (*block) (ivec, ivec, key); in CRYPTO_cfb128_encrypt()
118 (*block) (ivec, ivec, key); in CRYPTO_cfb128_encrypt()
122 ivec[n] = c; in CRYPTO_cfb128_encrypt()
135 (*block) (ivec, ivec, key); in CRYPTO_cfb128_encrypt()
138 ivec[n] = c; in CRYPTO_cfb128_encrypt()
163 memcpy(ovec, ivec, 16); in cfbr_encrypt_block()
[all …]
H A Dcts128.c48 ivec[n] ^= in[n]; in CRYPTO_cts128_encrypt_block()
49 (*block) (ivec, ivec, key); in CRYPTO_cts128_encrypt_block()
51 memcpy(out - 16, ivec, 16); in CRYPTO_cts128_encrypt_block()
80 ivec[n] ^= in[n]; in CRYPTO_nistcts128_encrypt_block()
81 (*block) (ivec, ivec, key); in CRYPTO_nistcts128_encrypt_block()
105 (*cbc) (in, out, len, key, ivec, 1); in CRYPTO_cts128_encrypt()
140 (*cbc) (in, out, len, key, ivec, 1); in CRYPTO_nistcts128_encrypt()
191 out[n] = tmp.c[n] ^ ivec[n]; in CRYPTO_cts128_decrypt_block()
192 ivec[n] = c; in CRYPTO_cts128_decrypt_block()
238 out[n] = tmp.c[n] ^ ivec[n]; in CRYPTO_nistcts128_decrypt_block()
[all …]
H A Dofb128.c27 unsigned char ivec[16], int *num, block128_f block) in CRYPTO_ofb128_encrypt()
43 *(out++) = *(in++) ^ ivec[n]; in CRYPTO_ofb128_encrypt()
48 if (((size_t)in | (size_t)out | (size_t)ivec) % sizeof(size_t) != in CRYPTO_ofb128_encrypt()
53 (*block) (ivec, ivec, key); in CRYPTO_ofb128_encrypt()
57 ^ *(size_t_aX *)(ivec + n); in CRYPTO_ofb128_encrypt()
64 (*block) (ivec, ivec, key); in CRYPTO_ofb128_encrypt()
66 out[n] = in[n] ^ ivec[n]; in CRYPTO_ofb128_encrypt()
78 (*block) (ivec, ivec, key); in CRYPTO_ofb128_encrypt()
80 out[l] = in[l] ^ ivec[n]; in CRYPTO_ofb128_encrypt()
H A Dcbc128.c29 const unsigned char *iv = ivec; in CRYPTO_cbc128_encrypt()
72 if (ivec != iv) in CRYPTO_cbc128_encrypt()
73 memcpy(ivec, iv, 16); in CRYPTO_cbc128_encrypt()
91 const unsigned char *iv = ivec; in CRYPTO_cbc128_decrypt()
118 if (ivec != iv) in CRYPTO_cbc128_decrypt()
119 memcpy(ivec, iv, 16); in CRYPTO_cbc128_decrypt()
128 out[n] = tmp.c[n] ^ ivec[n]; in CRYPTO_cbc128_decrypt()
129 ivec[n] = c; in CRYPTO_cbc128_decrypt()
160 out[n] = tmp.c[n] ^ ivec[n]; in CRYPTO_cbc128_decrypt()
161 ivec[n] = c; in CRYPTO_cbc128_decrypt()
[all …]
H A Dctr128.c99 (*block) (ivec, ecount_buf, key); in CRYPTO_ctr128_encrypt()
100 ctr128_inc_aligned(ivec); in CRYPTO_ctr128_encrypt()
112 ctr128_inc_aligned(ivec); in CRYPTO_ctr128_encrypt()
126 (*block) (ivec, ecount_buf, key); in CRYPTO_ctr128_encrypt()
127 ctr128_inc(ivec); in CRYPTO_ctr128_encrypt()
166 ctr32 = GETU32(ivec + 12); in CRYPTO_ctr128_encrypt_ctr32()
187 (*func) (in, out, blocks, key, ivec); in CRYPTO_ctr128_encrypt_ctr32()
189 PUTU32(ivec + 12, ctr32); in CRYPTO_ctr128_encrypt_ctr32()
192 ctr96_inc(ivec); in CRYPTO_ctr128_encrypt_ctr32()
202 PUTU32(ivec + 12, ctr32); in CRYPTO_ctr128_encrypt_ctr32()
[all …]
/openssl/crypto/aes/
H A Daes_ige.c58 OPENSSL_assert(in && out && key && ivec); in AES_ige_encrypt()
93 load_block(iv, ivec); in AES_ige_encrypt()
146 load_block(iv, ivec); in AES_ige_encrypt()
211 iv = ivec; in AES_bi_ige_encrypt()
212 iv2 = ivec + AES_BLOCK_SIZE; in AES_bi_ige_encrypt()
228 iv = ivec + AES_BLOCK_SIZE * 2; in AES_bi_ige_encrypt()
229 iv2 = ivec + AES_BLOCK_SIZE * 3; in AES_bi_ige_encrypt()
261 iv = ivec + AES_BLOCK_SIZE * 2; in AES_bi_ige_encrypt()
262 iv2 = ivec + AES_BLOCK_SIZE * 3; in AES_bi_ige_encrypt()
282 iv = ivec; in AES_bi_ige_encrypt()
[all …]
H A Daes_cfb.c27 unsigned char *ivec, int *num, const int enc) in AES_cfb128_encrypt() argument
30 CRYPTO_cfb128_encrypt(in, out, length, key, ivec, num, enc, in AES_cfb128_encrypt()
37 unsigned char *ivec, int *num, const int enc) in AES_cfb1_encrypt() argument
39 CRYPTO_cfb128_1_encrypt(in, out, length, key, ivec, num, enc, in AES_cfb1_encrypt()
45 unsigned char *ivec, int *num, const int enc) in AES_cfb8_encrypt() argument
47 CRYPTO_cfb128_8_encrypt(in, out, length, key, ivec, num, enc, in AES_cfb8_encrypt()
/openssl/include/crypto/
H A Daes_platform.h34 unsigned char ivec[16], int enc);
38 const unsigned char ivec[16]);
50 const unsigned char ivec[AES_BLOCK_SIZE]);
155 unsigned char ivec[16], u64 *Xi);
157 unsigned char ivec[16], u64 *Xi);
250 const unsigned char ivec[16],
257 const unsigned char ivec[16],
325 unsigned char *ivec);
328 unsigned char *ivec);
331 unsigned char *ivec);
[all …]
H A Dsm4_platform.h65 unsigned char *ivec, const int enc);
71 const unsigned char ivec[16]);
83 unsigned char *ivec, const int enc);
89 const unsigned char ivec[16]);
92 const unsigned char ivec[16], const int enc);
95 const unsigned char ivec[16], const int enc);
107 unsigned char *ivec, const int enc);
113 const unsigned char ivec[16]);
116 const unsigned char ivec[16], const int enc);
119 const SM4_KEY *key2, const unsigned char ivec[16],
H A Dcmll_platform.h31 unsigned char *ivec, int /*unused*/);
34 unsigned char *ivec, int /*unused*/);
37 unsigned char *ivec, int /*unused*/);
40 unsigned char *ivec, int /*unused*/);
43 unsigned char *ivec);
46 unsigned char *ivec);
/openssl/crypto/perlasm/
H A Dsparcv9_modes.pl56 alignaddr $ivec, %g0, $ivec
60 ldd [$ivec + 8], %f2
67 ld [$ivec + 0], %f0
68 ld [$ivec + 4], %f1
69 ld [$ivec + 8], %f2
127 st %f0, [$ivec + 0]
185 add $ivec, 16, $ivec
274 alignaddr $ivec, %g0, $ivec
518 add $ivec, 16, $ivec
926 my $rem=$ivec;
[all …]
/openssl/providers/implementations/ciphers/
H A Dcipher_aes_gcm_hw_armv8.inc16 const void *key, unsigned char ivec[16], u64 *Xi)
26 … unroll8_eor3_aes_gcm_enc_128_kernel(in, align_bytes * 8, out, (uint64_t *)Xi, ivec, key);
28 aes_gcm_enc_128_kernel(in, align_bytes * 8, out, (uint64_t *)Xi, ivec, key);
33 … unroll8_eor3_aes_gcm_enc_192_kernel(in, align_bytes * 8, out, (uint64_t *)Xi, ivec, key);
35 aes_gcm_enc_192_kernel(in, align_bytes * 8, out, (uint64_t *)Xi, ivec, key);
40 … unroll8_eor3_aes_gcm_enc_256_kernel(in, align_bytes * 8, out, (uint64_t *)Xi, ivec, key);
42 aes_gcm_enc_256_kernel(in, align_bytes * 8, out, (uint64_t *)Xi, ivec, key);
50 const void *key, unsigned char ivec[16], u64 *Xi)
62 aes_gcm_dec_128_kernel(in, align_bytes * 8, out, (uint64_t *)Xi, ivec, key);
69 aes_gcm_dec_192_kernel(in, align_bytes * 8, out, (uint64_t *)Xi, ivec, key);
[all …]
/openssl/crypto/sm4/asm/
H A Dsm4-armv8.pl340 my ($ivec) = ("v8");
390 eor $ivec.16b,$ivec.16b,@dat[0].16b
392 &rev32($ivec,$ivec);
393 &enc_blk($ivec);
394 &rev32($ivec,$ivec);
493 my ($ivec)=("v8");
506 &rev32($ivec,$ivec);
508 mov $ctr,$ivec.s[3]
563 mov $ivec.s[3],$ctr
581 mov $ivec.s[3],$ctr
[all …]
/openssl/include/openssl/
H A Dmodes.h30 unsigned char ivec[16], int enc);
38 const unsigned char ivec[16]);
42 const unsigned char ivec[16],
54 unsigned char ivec[16],
60 unsigned char ivec[16],
66 unsigned char ivec[16], int *num,
71 unsigned char ivec[16], int *num,
75 unsigned char ivec[16], int *num,
79 unsigned char ivec[16], int *num,
100 unsigned char ivec[16],
[all …]
H A Ddes.h84 const_DES_cblock *ivec);
90 long length, DES_key_schedule *schedule, DES_cblock *ivec,
94 long length, DES_key_schedule *schedule, DES_cblock *ivec,
102 long length, DES_key_schedule *schedule, DES_cblock *ivec,
145 DES_cblock *ivec, int enc);
150 DES_cblock *ivec, int *num, int enc);
155 DES_cblock *ivec, int enc);
160 DES_cblock *ivec, int *num);
171 DES_cblock *ivec, int enc);
199 DES_cblock *ivec, int *num, int enc);
[all …]
H A Daes.h68 unsigned char *ivec, const int enc);
72 unsigned char *ivec, int *num, const int enc);
76 unsigned char *ivec, int *num, const int enc);
80 unsigned char *ivec, int *num, const int enc);
84 unsigned char *ivec, int *num);
90 unsigned char *ivec, const int enc);
95 const unsigned char *ivec, const int enc);
H A Dcamellia.h75 unsigned char *ivec,
81 unsigned char *ivec,
88 unsigned char *ivec,
95 unsigned char *ivec,
102 unsigned char *ivec,
107 unsigned char ivec[CAMELLIA_BLOCK_SIZE],
/openssl/crypto/camellia/
H A Dcmll_cfb.c27 unsigned char *ivec, int *num, const int enc) in Camellia_cfb128_encrypt() argument
30 CRYPTO_cfb128_encrypt(in, out, length, key, ivec, num, enc, in Camellia_cfb128_encrypt()
37 unsigned char *ivec, int *num, const int enc) in Camellia_cfb1_encrypt() argument
39 CRYPTO_cfb128_1_encrypt(in, out, length, key, ivec, num, enc, in Camellia_cfb1_encrypt()
45 unsigned char *ivec, int *num, const int enc) in Camellia_cfb8_encrypt() argument
47 CRYPTO_cfb128_8_encrypt(in, out, length, key, ivec, num, enc, in Camellia_cfb8_encrypt()
/openssl/crypto/des/asm/
H A Ddest4-sparcv9.pl113 ld [$ivec + 4], %f1
182 st %f1, [$ivec + 4]
203 st %f1, [$ivec + 4]
214 ld [$ivec + 4], %f3
285 st %f3, [$ivec + 4]
303 st %f3, [$ivec + 4]
322 ld [$ivec + 4], %f1
445 st %f1, [$ivec + 4]
463 st %f1, [$ivec + 4]
474 ld [$ivec + 4], %f3
[all …]
/openssl/crypto/bf/
H A Dbf_cfb64.c27 unsigned char *ivec, int *num, int encrypt) in BF_cfb64_encrypt() argument
35 iv = (unsigned char *)ivec; in BF_cfb64_encrypt()
44 iv = (unsigned char *)ivec; in BF_cfb64_encrypt()
49 iv = (unsigned char *)ivec; in BF_cfb64_encrypt()
64 iv = (unsigned char *)ivec; in BF_cfb64_encrypt()
69 iv = (unsigned char *)ivec; in BF_cfb64_encrypt()
/openssl/crypto/rc2/
H A Drc2cfb64.c26 long length, RC2_KEY *schedule, unsigned char *ivec, in RC2_cfb64_encrypt() argument
35 iv = (unsigned char *)ivec; in RC2_cfb64_encrypt()
44 iv = (unsigned char *)ivec; in RC2_cfb64_encrypt()
49 iv = (unsigned char *)ivec; in RC2_cfb64_encrypt()
64 iv = (unsigned char *)ivec; in RC2_cfb64_encrypt()
69 iv = (unsigned char *)ivec; in RC2_cfb64_encrypt()
/openssl/crypto/rc5/
H A Drc5cfb64.c27 unsigned char *ivec, int *num, int encrypt) in RC5_32_cfb64_encrypt() argument
35 iv = (unsigned char *)ivec; in RC5_32_cfb64_encrypt()
44 iv = (unsigned char *)ivec; in RC5_32_cfb64_encrypt()
49 iv = (unsigned char *)ivec; in RC5_32_cfb64_encrypt()
64 iv = (unsigned char *)ivec; in RC5_32_cfb64_encrypt()
69 iv = (unsigned char *)ivec; in RC5_32_cfb64_encrypt()
/openssl/crypto/cast/
H A Dc_cfb64.c27 unsigned char *ivec, int *num, int enc) in CAST_cfb64_encrypt() argument
35 iv = ivec; in CAST_cfb64_encrypt()
44 iv = ivec; in CAST_cfb64_encrypt()
49 iv = ivec; in CAST_cfb64_encrypt()
64 iv = ivec; in CAST_cfb64_encrypt()
69 iv = ivec; in CAST_cfb64_encrypt()
/openssl/crypto/des/
H A Dcfb64enc.c26 DES_cblock *ivec, int *num, int enc) in DES_cfb64_encrypt() argument
34 iv = &(*ivec)[0]; in DES_cfb64_encrypt()
43 iv = &(*ivec)[0]; in DES_cfb64_encrypt()
48 iv = &(*ivec)[0]; in DES_cfb64_encrypt()
63 iv = &(*ivec)[0]; in DES_cfb64_encrypt()
68 iv = &(*ivec)[0]; in DES_cfb64_encrypt()
/openssl/crypto/idea/
H A Di_cfb64.c28 unsigned char *ivec, int *num, int encrypt) in IDEA_cfb64_encrypt() argument
41 iv = (unsigned char *)ivec; in IDEA_cfb64_encrypt()
50 iv = (unsigned char *)ivec; in IDEA_cfb64_encrypt()
55 iv = (unsigned char *)ivec; in IDEA_cfb64_encrypt()
70 iv = (unsigned char *)ivec; in IDEA_cfb64_encrypt()
75 iv = (unsigned char *)ivec; in IDEA_cfb64_encrypt()

Completed in 56 milliseconds

1234