/external/boringssl/src/crypto/modes/ |
D | cfb.c | 60 const void *key, uint8_t ivec[16], int *num, int enc, in CRYPTO_cfb128_encrypt() 65 assert(in && out && key && ivec && num); in CRYPTO_cfb128_encrypt() 71 *(out++) = ivec[n] ^= *(in++); in CRYPTO_cfb128_encrypt() 76 if (((size_t)in | (size_t)out | (size_t)ivec) % sizeof(size_t) != 0) { in CRYPTO_cfb128_encrypt() 79 (*block)(ivec, ivec, key); in CRYPTO_cfb128_encrypt() 81 out[l] = ivec[n] ^= in[l]; in CRYPTO_cfb128_encrypt() 90 (*block)(ivec, ivec, key); in CRYPTO_cfb128_encrypt() 92 *(size_t *)(out + n) = *(size_t *)(ivec + n) ^= *(size_t *)(in + n); in CRYPTO_cfb128_encrypt() 100 (*block)(ivec, ivec, key); in CRYPTO_cfb128_encrypt() 102 out[n] = ivec[n] ^= in[n]; in CRYPTO_cfb128_encrypt() [all …]
|
D | ofb.c | 59 const void *key, uint8_t ivec[16], int *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 if (((size_t)in | (size_t)out | (size_t)ivec) % sizeof(size_t) != 0) { in CRYPTO_ofb128_encrypt() 78 (*block)(ivec, ivec, key); in CRYPTO_ofb128_encrypt() 80 out[l] = in[l] ^ ivec[n]; in CRYPTO_ofb128_encrypt() 91 (*block)(ivec, ivec, key); in CRYPTO_ofb128_encrypt() 93 *(size_t *)(out + n) = *(size_t *)(in + n) ^ *(size_t *)(ivec + n); in CRYPTO_ofb128_encrypt() 101 (*block)(ivec, ivec, key); in CRYPTO_ofb128_encrypt() 103 out[n] = in[n] ^ ivec[n]; in CRYPTO_ofb128_encrypt()
|
D | ctr.c | 89 const void *key, uint8_t ivec[16], in CRYPTO_ctr128_encrypt() 107 if (((size_t)in | (size_t)out | (size_t)ivec) % sizeof(size_t) != 0) { in CRYPTO_ctr128_encrypt() 111 (*block)(ivec, ecount_buf, key); in CRYPTO_ctr128_encrypt() 112 ctr128_inc(ivec); in CRYPTO_ctr128_encrypt() 125 (*block)(ivec, ecount_buf, key); in CRYPTO_ctr128_encrypt() 126 ctr128_inc(ivec); in CRYPTO_ctr128_encrypt() 136 (*block)(ivec, ecount_buf, key); in CRYPTO_ctr128_encrypt() 137 ctr128_inc(ivec); in CRYPTO_ctr128_encrypt() 164 uint8_t ivec[16], in CRYPTO_ctr128_encrypt_ctr32() 181 ctr32 = GETU32(ivec + 12); in CRYPTO_ctr128_encrypt_ctr32() [all …]
|
D | cbc.c | 60 const void *key, uint8_t ivec[16], in CRYPTO_cbc128_encrypt() 63 const uint8_t *iv = ivec; in CRYPTO_cbc128_encrypt() 65 assert(key != NULL && ivec != NULL); in CRYPTO_cbc128_encrypt() 69 ((size_t)in | (size_t)out | (size_t)ivec) % sizeof(size_t) != 0) { in CRYPTO_cbc128_encrypt() 110 memcpy(ivec, iv, 16); in CRYPTO_cbc128_encrypt() 114 const void *key, uint8_t ivec[16], in CRYPTO_cbc128_decrypt() 122 assert(key != NULL && ivec != NULL); in CRYPTO_cbc128_decrypt() 133 const uint8_t *iv = ivec; in CRYPTO_cbc128_decrypt() 136 ((size_t)in | (size_t)out | (size_t)ivec) % sizeof(size_t) != 0) { in CRYPTO_cbc128_decrypt() 161 memcpy(ivec, iv, 16); in CRYPTO_cbc128_decrypt() [all …]
|
D | internal.h | 203 const void *key, const uint8_t ivec[16]); 212 const void *key, uint8_t ivec[16], 221 const void *key, uint8_t ivec[16], 308 const void *key, uint8_t ivec[16], int enc); 315 const void *key, uint8_t ivec[16], block128_f block); 322 const void *key, uint8_t ivec[16], block128_f block); 333 size_t len, const void *key, uint8_t ivec[16], 344 const void *key, uint8_t ivec[16], int *num, int enc, 351 const void *key, uint8_t ivec[16], int *num, 358 const void *key, uint8_t ivec[16], int *num, [all …]
|
/external/boringssl/src/crypto/aes/ |
D | mode_wrappers.c | 57 const AES_KEY *key, uint8_t ivec[AES_BLOCK_SIZE], in AES_ctr128_encrypt() 59 CRYPTO_ctr128_encrypt(in, out, len, key, ivec, ecount_buf, num, in AES_ctr128_encrypt() 78 const AES_KEY *key, uint8_t *ivec, const int enc) { in AES_cbc_encrypt() argument 81 CRYPTO_cbc128_encrypt(in, out, len, key, ivec, (block128_f)AES_encrypt); in AES_cbc_encrypt() 83 CRYPTO_cbc128_decrypt(in, out, len, key, ivec, (block128_f)AES_decrypt); in AES_cbc_encrypt() 89 const AES_KEY *key, uint8_t *ivec, const int enc); 91 const AES_KEY *key, uint8_t *ivec, const int enc) { in AES_cbc_encrypt() argument 92 asm_AES_cbc_encrypt(in, out, len, key, ivec, enc); in AES_cbc_encrypt() 98 const AES_KEY *key, uint8_t *ivec, int *num) { in AES_ofb128_encrypt() argument 99 CRYPTO_ofb128_encrypt(in, out, length, key, ivec, num, in AES_ofb128_encrypt() [all …]
|
/external/boringssl/src/crypto/aes/asm/ |
D | aesv8-armx.pl | 352 my ($dat0,$dat1,$in0,$in1,$tmp0,$tmp1,$ivec,$rndlast)=map("q$_",(0..7)); 384 vld1.8 {$ivec},[$ivp] 401 veor $dat,$dat,$ivec 419 vst1.8 {$ivec},[$out],#16 461 veor $ivec,$dat,$rndlast 464 vst1.8 {$ivec},[$out],#16 476 vst1.8 {$ivec},[$out],#16 499 veor $ivec,$dat,$rndlast 502 vst1.8 {$ivec},[$out],#16 548 veor $tmp0,$ivec,$rndlast [all …]
|
D | aesni-x86.pl | 89 $inout5="xmm7"; $ivec="xmm7"; 111 { my ($p,$inout,$ivec)=@_; $inout=$inout0 if (!defined($inout)); 116 &xorps ($ivec,$rndkey0) if (defined($ivec)); 118 &xorps ($inout,$ivec) if (defined($ivec)); 119 &xorps ($inout,$rndkey0) if (!defined($ivec)); 657 &movdqu ($ivec,&QWP(0,$rounds_)); # load ivec 679 &movdqa ($inout0,$ivec); 682 &pshufb ($ivec,$inout3); 706 &paddq ($ivec,&QWP(16,"esp")); 713 &movdqa ($inout0,$ivec); [all …]
|
D | aes-x86_64.pl | 1637 my $ivec="64(%rsp)"; # ivec[16] 1796 mov %rbp,$ivec 1808 mov $ivec,%rbp # load ivp 1819 mov %rbp,$ivec # update ivp 1840 mov %r10,0+$ivec 1841 mov %r11,8+$ivec 1855 xor 0+$ivec,$s0 1856 xor 4+$ivec,$s1 1857 xor 8+$ivec,$s2 1858 xor 12+$ivec,$s3 [all …]
|
D | aes-586.pl | 2035 my $ivec=&DWP(60,"esp"); # ivec[16] 2260 &lea ($key,$ivec); 2284 &lea ($acc,$ivec); 2500 &lea ($s0,$ivec); 2554 &lea ($key,$ivec); 2584 &lea ($acc,$ivec); 2605 &lea ($acc,$ivec); 2624 &lea ("esi",$ivec);
|
D | aesni-x86_64.pl | 227 my ($p,$key,$rounds,$inout,$ivec)=@_; $inout=$inout0 if (!defined($inout)); 233 $code.=<<___ if (defined($ivec)); 234 xorps $rndkey0,$ivec 236 xorps $ivec,$inout 238 $code.=<<___ if (!defined($ivec));
|
/external/boringssl/src/decrepit/des/ |
D | cfb64ede.c | 70 DES_cblock *ivec, int *num, int enc) { in DES_ede3_cfb64_encrypt() argument 77 iv = ivec->bytes; in DES_ede3_cfb64_encrypt() 90 iv = ivec->bytes; in DES_ede3_cfb64_encrypt() 93 iv = ivec->bytes; in DES_ede3_cfb64_encrypt() 112 iv = ivec->bytes; in DES_ede3_cfb64_encrypt() 115 iv = ivec->bytes; in DES_ede3_cfb64_encrypt() 134 DES_cblock *ivec, int enc) { in DES_ede3_cfb_encrypt() argument 146 iv = ivec->bytes; in DES_ede3_cfb_encrypt() 232 iv = ivec->bytes; in DES_ede3_cfb_encrypt()
|
/external/boringssl/src/decrepit/blowfish/ |
D | blowfish.c | 152 const BF_KEY *schedule, uint8_t *ivec, int encrypt) { in BF_cbc_encrypt() argument 159 n2l(ivec, tout0); in BF_cbc_encrypt() 160 n2l(ivec, tout1); in BF_cbc_encrypt() 161 ivec -= 8; in BF_cbc_encrypt() 187 l2n(tout0, ivec); in BF_cbc_encrypt() 188 l2n(tout1, ivec); in BF_cbc_encrypt() 190 n2l(ivec, xor0); in BF_cbc_encrypt() 191 n2l(ivec, xor1); in BF_cbc_encrypt() 192 ivec -= 8; in BF_cbc_encrypt() 218 l2n(xor0, ivec); in BF_cbc_encrypt() [all …]
|
/external/boringssl/src/include/openssl/ |
D | des.h | 108 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);
|
D | aes.h | 112 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);
|
D | blowfish.h | 85 const BF_KEY *schedule, uint8_t *ivec,
|
D | cast.h | 90 uint8_t *ivec, int *num, int enc);
|
/external/boringssl/src/crypto/des/ |
D | des.c | 560 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/boringssl/src/decrepit/cast/ |
D | cast.c | 355 const CAST_KEY *schedule, uint8_t *ivec, int *num, in CAST_cfb64_encrypt() argument 363 iv = ivec; in CAST_cfb64_encrypt() 372 iv = ivec; in CAST_cfb64_encrypt() 377 iv = ivec; in CAST_cfb64_encrypt() 392 iv = ivec; in CAST_cfb64_encrypt() 397 iv = ivec; in CAST_cfb64_encrypt()
|
/external/boringssl/src/crypto/cipher/ |
D | e_aes.c | 133 const AES_KEY *key, uint8_t *ivec, const int enc); 135 const AES_KEY *key, const uint8_t ivec[16]); 143 const AES_KEY *key, uint8_t ivec[16], int enc); 145 const AES_KEY *key, const uint8_t ivec[16]); 154 const AES_KEY *key, uint8_t ivec[16], int enc) { in bsaes_cbc_encrypt() 160 const uint8_t ivec[16]) { in bsaes_ctr32_encrypt_blocks() 175 const AES_KEY *key, uint8_t *ivec, int enc); 198 const AES_KEY *key, uint8_t *ivec, int enc) { in vpaes_cbc_encrypt() argument 231 const AES_KEY *key, uint8_t *ivec, int enc) { in aes_v8_cbc_encrypt() argument 237 const uint8_t ivec[16]) { in aes_v8_ctr32_encrypt_blocks() [all …]
|
/external/deqp/doc/testspecs/GLES3/ |
D | functional.vertex_arrays.single_attribute.txt | 27 + Passing attributes to vec{N}, ivec{N} and uvec{N} (1 < n < 5).
|