Home
last modified time | relevance | path

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

12

/external/boringssl/src/crypto/fipsmodule/modes/
Dcfb.c61 const AES_KEY *key, uint8_t ivec[16], unsigned *num, in CRYPTO_cfb128_encrypt()
63 assert(in && out && key && ivec && num); in CRYPTO_cfb128_encrypt()
69 *(out++) = ivec[n] ^= *(in++); in CRYPTO_cfb128_encrypt()
74 (*block)(ivec, ivec, key); in CRYPTO_cfb128_encrypt()
76 size_t tmp = load_word_le(ivec + n) ^ load_word_le(in + n); in CRYPTO_cfb128_encrypt()
77 store_word_le(ivec + n, tmp); in CRYPTO_cfb128_encrypt()
86 (*block)(ivec, ivec, key); in CRYPTO_cfb128_encrypt()
88 out[n] = ivec[n] ^= in[n]; in CRYPTO_cfb128_encrypt()
97 *(out++) = ivec[n] ^ (c = *(in++)); in CRYPTO_cfb128_encrypt()
98 ivec[n] = c; in CRYPTO_cfb128_encrypt()
[all …]
Dctr.c86 const AES_KEY *key, uint8_t ivec[16], in CRYPTO_ctr128_encrypt()
103 (*block)(ivec, ecount_buf, key); in CRYPTO_ctr128_encrypt()
104 ctr128_inc(ivec); in CRYPTO_ctr128_encrypt()
115 (*block)(ivec, ecount_buf, key); in CRYPTO_ctr128_encrypt()
116 ctr128_inc(ivec); in CRYPTO_ctr128_encrypt()
138 const AES_KEY *key, uint8_t ivec[16], in CRYPTO_ctr128_encrypt_ctr32()
155 ctr32 = GETU32(ivec + 12); in CRYPTO_ctr128_encrypt_ctr32()
173 (*func)(in, out, blocks, key, ivec); in CRYPTO_ctr128_encrypt_ctr32()
175 PUTU32(ivec + 12, ctr32); in CRYPTO_ctr128_encrypt_ctr32()
178 ctr96_inc(ivec); in CRYPTO_ctr128_encrypt_ctr32()
[all …]
Dcbc.c58 const AES_KEY *key, uint8_t ivec[16], in CRYPTO_cbc128_encrypt()
61 const uint8_t *iv = ivec; in CRYPTO_cbc128_encrypt()
63 assert(key != NULL && ivec != NULL); in CRYPTO_cbc128_encrypt()
94 OPENSSL_memcpy(ivec, iv, 16); in CRYPTO_cbc128_encrypt()
98 const AES_KEY *key, uint8_t ivec[16], in CRYPTO_cbc128_decrypt()
106 assert(key != NULL && ivec != NULL); in CRYPTO_cbc128_decrypt()
119 const uint8_t *iv = ivec; in CRYPTO_cbc128_decrypt()
130 OPENSSL_memcpy(ivec, iv, 16); in CRYPTO_cbc128_decrypt()
140 tmp.t[n / sizeof(size_t)] ^ load_word_le(ivec + n)); in CRYPTO_cbc128_decrypt()
141 store_word_le(ivec + n, c); in CRYPTO_cbc128_decrypt()
[all …]
Dofb.c61 const AES_KEY *key, uint8_t ivec[16], unsigned *num, in CRYPTO_ofb128_encrypt()
63 assert(in && out && key && ivec && num); in CRYPTO_ofb128_encrypt()
68 *(out++) = *(in++) ^ ivec[n]; in CRYPTO_ofb128_encrypt()
74 (*block)(ivec, ivec, key); in CRYPTO_ofb128_encrypt()
78 OPENSSL_memcpy(&b, ivec + n, sizeof(size_t)); in CRYPTO_ofb128_encrypt()
89 (*block)(ivec, ivec, key); in CRYPTO_ofb128_encrypt()
91 out[n] = in[n] ^ ivec[n]; in CRYPTO_ofb128_encrypt()
Dinternal.h105 const AES_KEY *key, const uint8_t ivec[16]);
114 const AES_KEY *key, uint8_t ivec[16],
123 const AES_KEY *key, uint8_t ivec[16],
305 const AES_KEY *key, uint8_t ivec[16], uint64_t *Xi);
307 const AES_KEY *key, uint8_t ivec[16], uint64_t *Xi);
388 const AES_KEY *key, uint8_t ivec[16], int enc);
395 const AES_KEY *key, uint8_t ivec[16],
403 const AES_KEY *key, uint8_t ivec[16],
415 const AES_KEY *key, uint8_t ivec[16], unsigned *num,
426 const AES_KEY *key, uint8_t ivec[16], unsigned *num,
[all …]
/external/boringssl/src/crypto/fipsmodule/aes/
Dmode_wrappers.c58 const AES_KEY *key, uint8_t ivec[AES_BLOCK_SIZE], in AES_ctr128_encrypt()
60 CRYPTO_ctr128_encrypt(in, out, len, key, ivec, ecount_buf, num, AES_encrypt); in AES_ctr128_encrypt()
76 const AES_KEY *key, uint8_t *ivec, const int enc) { in AES_cbc_encrypt() argument
78 aes_hw_cbc_encrypt(in, out, len, key, ivec, enc); in AES_cbc_encrypt()
84 aes_nohw_cbc_encrypt(in, out, len, key, ivec, enc); in AES_cbc_encrypt()
89 CRYPTO_cbc128_encrypt(in, out, len, key, ivec, AES_encrypt); in AES_cbc_encrypt()
91 CRYPTO_cbc128_decrypt(in, out, len, key, ivec, AES_decrypt); in AES_cbc_encrypt()
96 const AES_KEY *key, uint8_t *ivec, int *num) { in AES_ofb128_encrypt() argument
98 CRYPTO_ofb128_encrypt(in, out, length, key, ivec, &num_u, AES_encrypt); in AES_ofb128_encrypt()
103 const AES_KEY *key, uint8_t *ivec, int *num, in AES_cfb128_encrypt() argument
[all …]
Dinternal.h81 const AES_KEY *key, uint8_t *ivec, const int enc);
83 const AES_KEY *key, const uint8_t ivec[16]);
113 uint8_t *ivec, int enc) { in aes_hw_cbc_encrypt() argument
119 const uint8_t ivec[16]) { in aes_hw_ctr32_encrypt_blocks()
136 const AES_KEY *key, uint8_t ivec[16], int enc);
138 const AES_KEY *key, const uint8_t ivec[16]);
146 uint8_t ivec[16], int enc) { in bsaes_cbc_encrypt()
152 const uint8_t ivec[16]) { in bsaes_ctr32_encrypt_blocks()
168 const AES_KEY *key, uint8_t *ivec, int enc);
171 const AES_KEY *key, const uint8_t ivec[16]);
[all …]
/external/boringssl/src/decrepit/blowfish/
Dblowfish.c156 const BF_KEY *schedule, uint8_t *ivec, int encrypt) { in BF_cbc_encrypt() argument
163 n2l(ivec, tout0); in BF_cbc_encrypt()
164 n2l(ivec, tout1); in BF_cbc_encrypt()
165 ivec -= 8; in BF_cbc_encrypt()
192 l2n(tout0, ivec); in BF_cbc_encrypt()
193 l2n(tout1, ivec); in BF_cbc_encrypt()
195 n2l(ivec, xor0); in BF_cbc_encrypt()
196 n2l(ivec, xor1); in BF_cbc_encrypt()
197 ivec -= 8; in BF_cbc_encrypt()
224 l2n(xor0, ivec); in BF_cbc_encrypt()
[all …]
/external/boringssl/src/crypto/fipsmodule/aes/asm/
Daesv8-armx.pl372 my ($dat0,$dat1,$in0,$in1,$tmp0,$tmp1,$ivec,$rndlast)=map("q$_",(0..7));
404 vld1.8 {$ivec},[$ivp]
421 veor $dat,$dat,$ivec
439 vst1.8 {$ivec},[$out],#16
481 veor $ivec,$dat,$rndlast
484 vst1.8 {$ivec},[$out],#16
496 vst1.8 {$ivec},[$out],#16
519 veor $ivec,$dat,$rndlast
522 vst1.8 {$ivec},[$out],#16
568 veor $tmp0,$ivec,$rndlast
[all …]
Daesp8-ppc.pl503 my ($ivec,$inptail,$inpperm,$outhead,$outperm,$outmask,$keyperm)=
521 lvx $ivec,0,$ivp # load [unaligned] iv
525 vperm $ivec,$ivec,$inptail,$inpperm
562 vxor $inout,$inout,$ivec
580 vcipherlast $ivec,$inout,$rndkey0
583 vperm $tmp,$ivec,$ivec,$outperm
630 vxor $inout,$inout,$ivec
631 vmr $ivec,$tmp
654 vperm $ivec,$ivec,$ivec,$outperm
655 vsel $inout,$outhead,$ivec,$outmask
[all …]
Daesni-x86.pl110 $inout5="xmm7"; $ivec="xmm7";
132 { my ($p,$inout,$ivec)=@_; $inout=$inout0 if (!defined($inout));
137 &xorps ($ivec,$rndkey0) if (defined($ivec));
139 &xorps ($inout,$ivec) if (defined($ivec));
140 &xorps ($inout,$rndkey0) if (!defined($ivec));
680 &movdqu ($ivec,&QWP(0,$rounds_)); # load ivec
702 &movdqa ($inout0,$ivec);
705 &pshufb ($ivec,$inout3);
729 &paddq ($ivec,&QWP(16,"esp"));
736 &movdqa ($inout0,$ivec);
[all …]
Daes-x86_64.pl1714 my $ivec="64(%rsp)"; # ivec[16]
1886 mov %rbp,$ivec
1898 mov $ivec,%rbp # load ivp
1909 mov %rbp,$ivec # update ivp
1930 mov %r10,0+$ivec
1931 mov %r11,8+$ivec
1945 xor 0+$ivec,$s0
1946 xor 4+$ivec,$s1
1947 xor 8+$ivec,$s2
1948 xor 12+$ivec,$s3
[all …]
Dvpaes-armv8.pl1110 my ($inp,$out,$len,$key,$ivec,$dir) = map("x$_",(0..5));
1127 ld1 {v0.16b}, [$ivec] // load ivec
1140 st1 {v0.16b}, [$ivec] // write ivec
1159 ld1 {v6.16b}, [$ivec] // load ivec
1184 st1 {v6.16b}, [$ivec]
1303 ldr $ctr, [$ivec, #12]
1304 ld1 {v7.16b}, [$ivec]
/external/boringssl/src/decrepit/des/
Dcfb64ede.c71 DES_cblock *ivec, int *num, int enc) { in DES_ede3_cfb64_encrypt() argument
78 iv = ivec->bytes; in DES_ede3_cfb64_encrypt()
91 iv = ivec->bytes; in DES_ede3_cfb64_encrypt()
94 iv = ivec->bytes; in DES_ede3_cfb64_encrypt()
113 iv = ivec->bytes; in DES_ede3_cfb64_encrypt()
116 iv = ivec->bytes; in DES_ede3_cfb64_encrypt()
135 DES_cblock *ivec, int enc) { in DES_ede3_cfb_encrypt() argument
147 iv = ivec->bytes; in DES_ede3_cfb_encrypt()
233 iv = ivec->bytes; in DES_ede3_cfb_encrypt()
/external/boringssl/src/include/openssl/
Ddes.h108 DES_cblock *ivec, int enc);
127 DES_cblock *ivec, int enc);
137 DES_cblock *ivec, int enc);
150 DES_cblock *ivec, int *num, int enc);
157 DES_cblock *ivec, int enc);
Daes.h112 uint8_t ivec[AES_BLOCK_SIZE],
124 const AES_KEY *key, uint8_t *ivec,
132 uint8_t *ivec, int *num);
139 uint8_t *ivec, int *num, int enc);
Dblowfish.h86 uint8_t *ivec, int enc);
Dcast.h90 uint8_t *ivec, int *num, int enc);
/external/boringssl/src/crypto/fipsmodule/des/
Ddes.c560 const DES_key_schedule *schedule, DES_cblock *ivec, in DES_ncbc_encrypt() argument
567 iv = ivec->bytes; in DES_ncbc_encrypt()
597 iv = ivec->bytes; in DES_ncbc_encrypt()
628 iv = ivec->bytes; in DES_ncbc_encrypt()
661 const DES_key_schedule *ks3, DES_cblock *ivec, in DES_ede3_cbc_encrypt() argument
668 iv = ivec->bytes; in DES_ede3_cbc_encrypt()
702 iv = ivec->bytes; in DES_ede3_cbc_encrypt()
750 iv = ivec->bytes; in DES_ede3_cbc_encrypt()
761 DES_cblock *ivec, in DES_ede2_cbc_encrypt() argument
763 DES_ede3_cbc_encrypt(in, out, len, ks1, ks2, ks1, ivec, enc); in DES_ede2_cbc_encrypt()
/external/swiftshader/src/OpenGL/compiler/
DInitialize.cpp202 TType *ivec = new TType(EbtIVec); in InsertBuiltInFunctions() local
210 symbolTable.insertBuiltIn(COMMON_BUILTINS, EOpLessThan, bvec, "lessThan", ivec, ivec); in InsertBuiltInFunctions()
213 symbolTable.insertBuiltIn(COMMON_BUILTINS, EOpLessThanEqual, bvec, "lessThanEqual", ivec, ivec); in InsertBuiltInFunctions()
216 symbolTable.insertBuiltIn(COMMON_BUILTINS, EOpGreaterThan, bvec, "greaterThan", ivec, ivec); in InsertBuiltInFunctions()
219 …bolTable.insertBuiltIn(COMMON_BUILTINS, EOpGreaterThanEqual, bvec, "greaterThanEqual", ivec, ivec); in InsertBuiltInFunctions()
222 symbolTable.insertBuiltIn(COMMON_BUILTINS, EOpVectorEqual, bvec, "equal", ivec, ivec); in InsertBuiltInFunctions()
226 symbolTable.insertBuiltIn(COMMON_BUILTINS, EOpVectorNotEqual, bvec, "notEqual", ivec, ivec); in InsertBuiltInFunctions()
/external/mesa3d/src/compiler/glsl/
Dlower_instructions.cpp421 const glsl_type *ivec = glsl_type::get_instance(GLSL_TYPE_INT, vec_elem, 1); in ldexp_to_arith() local
427 ir_variable *exp = new(ir) ir_variable(ivec, "exp", ir_var_temporary); in ldexp_to_arith()
431 new(ir) ir_variable(ivec, "extracted_biased_exp", ir_var_temporary); in ldexp_to_arith()
433 new(ir) ir_variable(ivec, "resulting_biased_exp", ir_var_temporary); in ldexp_to_arith()
490 ir_constant::zero(ir, ivec)))); in ldexp_to_arith()
493 ir_constant::zero(ir, ivec), in ldexp_to_arith()
544 const glsl_type *ivec = glsl_type::get_instance(GLSL_TYPE_INT, vec_elem, 1); in dldexp_to_arith() local
548 ir_constant *zeroi = ir_constant::zero(ir, ivec); in dldexp_to_arith()
558 ir_variable *exp = new(ir) ir_variable(ivec, "exp", ir_var_temporary); in dldexp_to_arith()
564 new(ir) ir_variable(ivec, "extracted_biased_exp", ir_var_temporary); in dldexp_to_arith()
[all …]
/external/boringssl/src/decrepit/cast/
Dcast.c360 const CAST_KEY *schedule, uint8_t *ivec, int *num, in CAST_cfb64_encrypt() argument
368 iv = ivec; in CAST_cfb64_encrypt()
377 iv = ivec; in CAST_cfb64_encrypt()
382 iv = ivec; in CAST_cfb64_encrypt()
397 iv = ivec; in CAST_cfb64_encrypt()
402 iv = ivec; in CAST_cfb64_encrypt()
/external/skqp/src/sksl/
Dsksl.inc175 $bvec lessThan($ivec x, $ivec y);
182 $bvec lessThanEqual($ivec x, $ivec y);
189 $bvec greaterThan($ivec x, $ivec y);
196 $bvec greaterThanEqual($ivec x, $ivec y);
203 $bvec equal($ivec x, $ivec y);
211 $bvec notEqual($ivec x, $ivec y);
/external/skia/src/sksl/
Dsksl.inc243 $bvec lessThan($ivec x, $ivec y);
250 $bvec lessThanEqual($ivec x, $ivec y);
257 $bvec greaterThan($ivec x, $ivec y);
264 $bvec greaterThanEqual($ivec x, $ivec y);
271 $bvec equal($ivec x, $ivec y);
279 $bvec notEqual($ivec x, $ivec y);
/external/deqp-deps/glslang/Test/baseResults/
Dhlsl.matType.int.frag.out492 18: TypeMatrix 17(ivec) 1
497 28: TypeMatrix 17(ivec) 2
502 37: TypeMatrix 17(ivec) 3
507 46: TypeMatrix 17(ivec) 4
529 119: TypeMatrix 118(ivec) 1
534 129: TypeMatrix 118(ivec) 2
539 138: TypeMatrix 118(ivec) 3
544 147: TypeMatrix 118(ivec) 4

12