Home
last modified time | relevance | path

Searched refs:iv (Results 1 – 25 of 815) sorted by relevance

12345678910>>...33

/third_party/FreeBSD/sys/crypto/rijndael/
Drijndael-api-fst.c87 uint8_t block[16], iv[4][4]; in rijndael_blockEncrypt() local
112 memcpy(iv, input, 16); in rijndael_blockEncrypt()
113 ((uint32_t*)block)[0] ^= ((uint32_t*)iv)[0]; in rijndael_blockEncrypt()
114 ((uint32_t*)block)[1] ^= ((uint32_t*)iv)[1]; in rijndael_blockEncrypt()
115 ((uint32_t*)block)[2] ^= ((uint32_t*)iv)[2]; in rijndael_blockEncrypt()
116 ((uint32_t*)block)[3] ^= ((uint32_t*)iv)[3]; in rijndael_blockEncrypt()
128 memcpy(iv, input, 16); in rijndael_blockEncrypt()
129 ((uint32_t*)block)[0] ^= ((uint32_t*)iv)[0]; in rijndael_blockEncrypt()
130 ((uint32_t*)block)[1] ^= ((uint32_t*)iv)[1]; in rijndael_blockEncrypt()
131 ((uint32_t*)block)[2] ^= ((uint32_t*)iv)[2]; in rijndael_blockEncrypt()
[all …]
/third_party/node/test/fixtures/
Daead-vectors.js4 iv: '583673497131313748307652', plain: 'Hello World!', property
9 iv: '583673497131313748307652', plain: 'Hello World!', property
14 iv: '583673497131313748307652', plain: 'Hello World!', property
19 iv: '36306950306836764a6f4561', plain: 'Hello node.js world!', property
24 iv: '36306950306836764a6f4561', plain: 'Hello node.js world!', property
29 iv: '0e1791e9db3bd21a9122c416', plain: 'Hello node.js world!', property
40 iv: '000000000000000000000000', property
49 iv: '000000000000000000000000', property
58 iv: 'cafebabefacedbaddecaf888', property
73 iv: 'cafebabefacedbaddecaf888', property
[all …]
/third_party/openssl/test/
Digetest.c39 const unsigned char iv[32]; member
83 const unsigned char iv[64]; member
154 unsigned char iv[AES_BLOCK_SIZE * 2]; in test_ige_vectors() local
164 memcpy(iv, v->iv, sizeof(iv)); in test_ige_vectors()
165 AES_ige_encrypt(v->in, buf, v->length, &key, iv, v->encrypt); in test_ige_vectors()
170 test_output_memory("iv", v->iv, sizeof(v->iv)); in test_ige_vectors()
176 memcpy(iv, v->iv, sizeof(iv)); in test_ige_vectors()
178 AES_ige_encrypt(buf, buf, v->length, &key, iv, v->encrypt); in test_ige_vectors()
183 test_output_memory("iv", v->iv, sizeof(v->iv)); in test_ige_vectors()
209 AES_bi_ige_encrypt(v->in, buf, v->length, &key1, &key2, v->iv, in test_bi_ige_vectors()
[all …]
/third_party/openssl/crypto/des/
Dcfb64ede.c33 unsigned char *iv, c, cc; in DES_ede3_cfb64_encrypt() local
35 iv = &(*ivec)[0]; in DES_ede3_cfb64_encrypt()
39 c2l(iv, v0); in DES_ede3_cfb64_encrypt()
40 c2l(iv, v1); in DES_ede3_cfb64_encrypt()
48 iv = &(*ivec)[0]; in DES_ede3_cfb64_encrypt()
49 l2c(v0, iv); in DES_ede3_cfb64_encrypt()
50 l2c(v1, iv); in DES_ede3_cfb64_encrypt()
51 iv = &(*ivec)[0]; in DES_ede3_cfb64_encrypt()
53 c = *(in++) ^ iv[n]; in DES_ede3_cfb64_encrypt()
55 iv[n] = c; in DES_ede3_cfb64_encrypt()
[all …]
Dcfb64enc.c32 unsigned char *iv, c, cc; in DES_cfb64_encrypt() local
34 iv = &(*ivec)[0]; in DES_cfb64_encrypt()
38 c2l(iv, v0); in DES_cfb64_encrypt()
40 c2l(iv, v1); in DES_cfb64_encrypt()
43 iv = &(*ivec)[0]; in DES_cfb64_encrypt()
45 l2c(v0, iv); in DES_cfb64_encrypt()
47 l2c(v0, iv); in DES_cfb64_encrypt()
48 iv = &(*ivec)[0]; in DES_cfb64_encrypt()
50 c = *(in++) ^ iv[n]; in DES_cfb64_encrypt()
52 iv[n] = c; in DES_cfb64_encrypt()
[all …]
Dcfb_enc.c39 unsigned char *iv; in DES_cfb_encrypt() local
54 iv = &(*ivec)[0]; in DES_cfb_encrypt()
55 c2l(iv, v0); in DES_cfb_encrypt()
56 c2l(iv, v1); in DES_cfb_encrypt()
81 iv = &ovec[0]; in DES_cfb_encrypt()
82 l2c(v0, iv); in DES_cfb_encrypt()
83 l2c(v1, iv); in DES_cfb_encrypt()
84 l2c(d0, iv); in DES_cfb_encrypt()
85 l2c(d1, iv); in DES_cfb_encrypt()
98 iv = &ovec[0]; in DES_cfb_encrypt()
[all …]
/third_party/node/deps/openssl/openssl/crypto/des/
Dcfb64ede.c33 unsigned char *iv, c, cc; in DES_ede3_cfb64_encrypt() local
35 iv = &(*ivec)[0]; in DES_ede3_cfb64_encrypt()
39 c2l(iv, v0); in DES_ede3_cfb64_encrypt()
40 c2l(iv, v1); in DES_ede3_cfb64_encrypt()
48 iv = &(*ivec)[0]; in DES_ede3_cfb64_encrypt()
49 l2c(v0, iv); in DES_ede3_cfb64_encrypt()
50 l2c(v1, iv); in DES_ede3_cfb64_encrypt()
51 iv = &(*ivec)[0]; in DES_ede3_cfb64_encrypt()
53 c = *(in++) ^ iv[n]; in DES_ede3_cfb64_encrypt()
55 iv[n] = c; in DES_ede3_cfb64_encrypt()
[all …]
Dcfb64enc.c32 unsigned char *iv, c, cc; in DES_cfb64_encrypt() local
34 iv = &(*ivec)[0]; in DES_cfb64_encrypt()
38 c2l(iv, v0); in DES_cfb64_encrypt()
40 c2l(iv, v1); in DES_cfb64_encrypt()
43 iv = &(*ivec)[0]; in DES_cfb64_encrypt()
45 l2c(v0, iv); in DES_cfb64_encrypt()
47 l2c(v0, iv); in DES_cfb64_encrypt()
48 iv = &(*ivec)[0]; in DES_cfb64_encrypt()
50 c = *(in++) ^ iv[n]; in DES_cfb64_encrypt()
52 iv[n] = c; in DES_cfb64_encrypt()
[all …]
Dcfb_enc.c39 unsigned char *iv; in DES_cfb_encrypt() local
54 iv = &(*ivec)[0]; in DES_cfb_encrypt()
55 c2l(iv, v0); in DES_cfb_encrypt()
56 c2l(iv, v1); in DES_cfb_encrypt()
81 iv = &ovec[0]; in DES_cfb_encrypt()
82 l2c(v0, iv); in DES_cfb_encrypt()
83 l2c(v1, iv); in DES_cfb_encrypt()
84 l2c(d0, iv); in DES_cfb_encrypt()
85 l2c(d1, iv); in DES_cfb_encrypt()
98 iv = &ovec[0]; in DES_cfb_encrypt()
[all …]
/third_party/node/deps/openssl/openssl/crypto/rc2/
Drc2cfb64.c33 unsigned char *iv, c, cc; in RC2_cfb64_encrypt() local
35 iv = (unsigned char *)ivec; in RC2_cfb64_encrypt()
39 c2l(iv, v0); in RC2_cfb64_encrypt()
41 c2l(iv, v1); in RC2_cfb64_encrypt()
44 iv = (unsigned char *)ivec; in RC2_cfb64_encrypt()
46 l2c(t, iv); in RC2_cfb64_encrypt()
48 l2c(t, iv); in RC2_cfb64_encrypt()
49 iv = (unsigned char *)ivec; in RC2_cfb64_encrypt()
51 c = *(in++) ^ iv[n]; in RC2_cfb64_encrypt()
53 iv[n] = c; in RC2_cfb64_encrypt()
[all …]
/third_party/node/deps/openssl/openssl/crypto/bf/
Dbf_cfb64.c33 unsigned char *iv, c, cc; in BF_cfb64_encrypt() local
35 iv = (unsigned char *)ivec; in BF_cfb64_encrypt()
39 n2l(iv, v0); in BF_cfb64_encrypt()
41 n2l(iv, v1); in BF_cfb64_encrypt()
44 iv = (unsigned char *)ivec; in BF_cfb64_encrypt()
46 l2n(t, iv); in BF_cfb64_encrypt()
48 l2n(t, iv); in BF_cfb64_encrypt()
49 iv = (unsigned char *)ivec; in BF_cfb64_encrypt()
51 c = *(in++) ^ iv[n]; in BF_cfb64_encrypt()
53 iv[n] = c; in BF_cfb64_encrypt()
[all …]
/third_party/openssl/crypto/idea/
Di_cfb64.c34 unsigned char *iv, c, cc; in IDEA_cfb64_encrypt() local
41 iv = (unsigned char *)ivec; in IDEA_cfb64_encrypt()
45 n2l(iv, v0); in IDEA_cfb64_encrypt()
47 n2l(iv, v1); in IDEA_cfb64_encrypt()
50 iv = (unsigned char *)ivec; in IDEA_cfb64_encrypt()
52 l2n(t, iv); in IDEA_cfb64_encrypt()
54 l2n(t, iv); in IDEA_cfb64_encrypt()
55 iv = (unsigned char *)ivec; in IDEA_cfb64_encrypt()
57 c = *(in++) ^ iv[n]; in IDEA_cfb64_encrypt()
59 iv[n] = c; in IDEA_cfb64_encrypt()
[all …]
/third_party/node/deps/openssl/openssl/crypto/idea/
Di_cfb64.c34 unsigned char *iv, c, cc; in IDEA_cfb64_encrypt() local
41 iv = (unsigned char *)ivec; in IDEA_cfb64_encrypt()
45 n2l(iv, v0); in IDEA_cfb64_encrypt()
47 n2l(iv, v1); in IDEA_cfb64_encrypt()
50 iv = (unsigned char *)ivec; in IDEA_cfb64_encrypt()
52 l2n(t, iv); in IDEA_cfb64_encrypt()
54 l2n(t, iv); in IDEA_cfb64_encrypt()
55 iv = (unsigned char *)ivec; in IDEA_cfb64_encrypt()
57 c = *(in++) ^ iv[n]; in IDEA_cfb64_encrypt()
59 iv[n] = c; in IDEA_cfb64_encrypt()
[all …]
/third_party/openssl/crypto/rc5/
Drc5cfb64.c33 unsigned char *iv, c, cc; in RC5_32_cfb64_encrypt() local
35 iv = (unsigned char *)ivec; in RC5_32_cfb64_encrypt()
39 c2l(iv, v0); in RC5_32_cfb64_encrypt()
41 c2l(iv, v1); in RC5_32_cfb64_encrypt()
44 iv = (unsigned char *)ivec; in RC5_32_cfb64_encrypt()
46 l2c(t, iv); in RC5_32_cfb64_encrypt()
48 l2c(t, iv); in RC5_32_cfb64_encrypt()
49 iv = (unsigned char *)ivec; in RC5_32_cfb64_encrypt()
51 c = *(in++) ^ iv[n]; in RC5_32_cfb64_encrypt()
53 iv[n] = c; in RC5_32_cfb64_encrypt()
[all …]
/third_party/node/deps/openssl/openssl/crypto/cast/
Dc_cfb64.c33 unsigned char *iv, c, cc; in CAST_cfb64_encrypt() local
35 iv = ivec; in CAST_cfb64_encrypt()
39 n2l(iv, v0); in CAST_cfb64_encrypt()
41 n2l(iv, v1); in CAST_cfb64_encrypt()
44 iv = ivec; in CAST_cfb64_encrypt()
46 l2n(t, iv); in CAST_cfb64_encrypt()
48 l2n(t, iv); in CAST_cfb64_encrypt()
49 iv = ivec; in CAST_cfb64_encrypt()
51 c = *(in++) ^ iv[n]; in CAST_cfb64_encrypt()
53 iv[n] = c; in CAST_cfb64_encrypt()
[all …]
/third_party/openssl/crypto/cast/
Dc_cfb64.c33 unsigned char *iv, c, cc; in CAST_cfb64_encrypt() local
35 iv = ivec; in CAST_cfb64_encrypt()
39 n2l(iv, v0); in CAST_cfb64_encrypt()
41 n2l(iv, v1); in CAST_cfb64_encrypt()
44 iv = ivec; in CAST_cfb64_encrypt()
46 l2n(t, iv); in CAST_cfb64_encrypt()
48 l2n(t, iv); in CAST_cfb64_encrypt()
49 iv = ivec; in CAST_cfb64_encrypt()
51 c = *(in++) ^ iv[n]; in CAST_cfb64_encrypt()
53 iv[n] = c; in CAST_cfb64_encrypt()
[all …]
/third_party/openssl/crypto/bf/
Dbf_cfb64.c33 unsigned char *iv, c, cc; in BF_cfb64_encrypt() local
35 iv = (unsigned char *)ivec; in BF_cfb64_encrypt()
39 n2l(iv, v0); in BF_cfb64_encrypt()
41 n2l(iv, v1); in BF_cfb64_encrypt()
44 iv = (unsigned char *)ivec; in BF_cfb64_encrypt()
46 l2n(t, iv); in BF_cfb64_encrypt()
48 l2n(t, iv); in BF_cfb64_encrypt()
49 iv = (unsigned char *)ivec; in BF_cfb64_encrypt()
51 c = *(in++) ^ iv[n]; in BF_cfb64_encrypt()
53 iv[n] = c; in BF_cfb64_encrypt()
[all …]
/third_party/openssl/crypto/rc2/
Drc2cfb64.c33 unsigned char *iv, c, cc; in RC2_cfb64_encrypt() local
35 iv = (unsigned char *)ivec; in RC2_cfb64_encrypt()
39 c2l(iv, v0); in RC2_cfb64_encrypt()
41 c2l(iv, v1); in RC2_cfb64_encrypt()
44 iv = (unsigned char *)ivec; in RC2_cfb64_encrypt()
46 l2c(t, iv); in RC2_cfb64_encrypt()
48 l2c(t, iv); in RC2_cfb64_encrypt()
49 iv = (unsigned char *)ivec; in RC2_cfb64_encrypt()
51 c = *(in++) ^ iv[n]; in RC2_cfb64_encrypt()
53 iv[n] = c; in RC2_cfb64_encrypt()
[all …]
/third_party/node/deps/openssl/openssl/crypto/rc5/
Drc5cfb64.c33 unsigned char *iv, c, cc; in RC5_32_cfb64_encrypt() local
35 iv = (unsigned char *)ivec; in RC5_32_cfb64_encrypt()
39 c2l(iv, v0); in RC5_32_cfb64_encrypt()
41 c2l(iv, v1); in RC5_32_cfb64_encrypt()
44 iv = (unsigned char *)ivec; in RC5_32_cfb64_encrypt()
46 l2c(t, iv); in RC5_32_cfb64_encrypt()
48 l2c(t, iv); in RC5_32_cfb64_encrypt()
49 iv = (unsigned char *)ivec; in RC5_32_cfb64_encrypt()
51 c = *(in++) ^ iv[n]; in RC5_32_cfb64_encrypt()
53 iv[n] = c; in RC5_32_cfb64_encrypt()
[all …]
/third_party/rust/crates/rust-openssl/openssl/src/
Dsymm.rs497 iv: Option<&[u8]>, in new()
515 if let (Some(iv), Some(iv_len)) = (iv, t.iv_len()) { in new()
516 if iv.len() != iv_len { in new()
517 ctx.set_iv_length(iv.len())?; in new()
521 f(&mut ctx, None, Some(key), iv)?; in new()
646 iv: Option<&[u8]>, in encrypt()
649 cipher(t, Mode::Encrypt, key, iv, data) in encrypt()
685 iv: Option<&[u8]>, in decrypt()
688 cipher(t, Mode::Decrypt, key, iv, data) in decrypt()
695 iv: Option<&[u8]>, in cipher()
[all …]
/third_party/glslang/Test/
Dspv.image.frag33 ivec3 iv = ivec3(0);
34 iv.x += imageSize(i1D);
35 iv.xy += imageSize(i2D);
36 iv.xyz += imageSize(i3D);
37 iv.xy += imageSize(iCube);
38 iv.xyz += imageSize(iCubeArray);
39 iv.xy += imageSize(i2DRect);
40 iv.xy += imageSize(i1DArray);
41 iv.xyz += imageSize(i2DArray);
42 iv.x += imageSize(iBuffer);
[all …]
DnewTexture.frag52 ivec4 iv = texture(is2D, c2D);
53 v += vec4(iv);
54 iv = textureProjOffset(is2D, c4D, ivec2(3));
55 v += vec4(iv);
56 iv = textureProjLod(is2D, c3D, c1D);
57 v += vec4(iv);
58 iv = textureProjGrad(is2D, c3D, c2D, c2D);
59 v += vec4(iv);
60 iv = texture(is3D, c3D, 4.2);
61 v += vec4(iv);
[all …]
/third_party/glslang/Test/baseResults/
Dspv.image.frag.out23 Name 9 "iv"
191 9(iv): 8(ptr) Variable Function
194 Store 9(iv) 11
197 21: 20(ptr) AccessChain 9(iv) 19
200 24: 20(ptr) AccessChain 9(iv) 19
204 31: 7(ivec3) Load 9(iv)
207 34: 20(ptr) AccessChain 9(iv) 19
210 37: 20(ptr) AccessChain 9(iv) 36
215 44: 7(ivec3) Load 9(iv)
217 Store 9(iv) 45
[all …]
/third_party/openssl/crypto/evp/
De_aes.c52 unsigned char *iv; /* Temporary IV store */ member
71 const unsigned char iv[16]);
108 unsigned char *iv; /* Temporary IV store */ member
145 const unsigned char *iv, int enc) in aesni_init_key() argument
184 ctx->iv, EVP_CIPHER_CTX_is_encrypting(ctx)); in aesni_cbc_cipher()
224 const unsigned char *iv, int enc) in aesni_gcm_init_key() argument
227 if (!iv && !key) in aesni_gcm_init_key()
237 if (iv == NULL && gctx->iv_set) in aesni_gcm_init_key()
238 iv = gctx->iv; in aesni_gcm_init_key()
239 if (iv) { in aesni_gcm_init_key()
[all …]
/third_party/node/deps/openssl/openssl/crypto/evp/
De_aes.c52 unsigned char *iv; /* Temporary IV store */ member
71 const unsigned char iv[16]);
108 unsigned char *iv; /* Temporary IV store */ member
145 const unsigned char *iv, int enc) in aesni_init_key() argument
184 ctx->iv, EVP_CIPHER_CTX_is_encrypting(ctx)); in aesni_cbc_cipher()
224 const unsigned char *iv, int enc) in aesni_gcm_init_key() argument
227 if (!iv && !key) in aesni_gcm_init_key()
237 if (iv == NULL && gctx->iv_set) in aesni_gcm_init_key()
238 iv = gctx->iv; in aesni_gcm_init_key()
239 if (iv) { in aesni_gcm_init_key()
[all …]

12345678910>>...33