/external/boringssl/src/crypto/fipsmodule/modes/ |
D | cfb.c | 61 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 …]
|
D | ctr.c | 86 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 …]
|
D | ofb.c | 61 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()
|
D | cbc.c | 58 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 …]
|
D | internal.h | 105 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], 298 const AES_KEY *key, uint8_t ivec[16], uint64_t *Xi); 300 const AES_KEY *key, uint8_t ivec[16], uint64_t *Xi); 342 const AES_KEY *key, uint8_t ivec[16], int enc); 349 const AES_KEY *key, uint8_t ivec[16], 357 const AES_KEY *key, uint8_t ivec[16], 369 const AES_KEY *key, uint8_t ivec[16], unsigned *num, 380 const AES_KEY *key, uint8_t ivec[16], unsigned *num, [all …]
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/modes/ |
D | cfb.c | 61 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 …]
|
D | ctr.c | 86 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 …]
|
D | ofb.c | 61 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()
|
D | cbc.c | 58 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 …]
|
D | internal.h | 105 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], 298 const AES_KEY *key, uint8_t ivec[16], uint64_t *Xi); 300 const AES_KEY *key, uint8_t ivec[16], uint64_t *Xi); 342 const AES_KEY *key, uint8_t ivec[16], int enc); 349 const AES_KEY *key, uint8_t ivec[16], 357 const AES_KEY *key, uint8_t ivec[16], 369 const AES_KEY *key, uint8_t ivec[16], unsigned *num, 380 const AES_KEY *key, uint8_t ivec[16], unsigned *num, [all …]
|
/external/boringssl/src/crypto/fipsmodule/aes/ |
D | mode_wrappers.c | 58 const AES_KEY *key, uint8_t ivec[AES_BLOCK_SIZE], in AES_ctr128_encrypt() 61 CRYPTO_ctr128_encrypt_ctr32(in, out, len, key, ivec, ecount_buf, num, in AES_ctr128_encrypt() 67 CRYPTO_ctr128_encrypt_ctr32(in, out, len, key, ivec, ecount_buf, num, in AES_ctr128_encrypt() 70 CRYPTO_ctr128_encrypt(in, out, len, key, ivec, ecount_buf, num, in AES_ctr128_encrypt() 74 CRYPTO_ctr128_encrypt_ctr32(in, out, len, key, ivec, ecount_buf, num, in AES_ctr128_encrypt() 92 const AES_KEY *key, uint8_t *ivec, const int enc) { in AES_cbc_encrypt() argument 94 aes_hw_cbc_encrypt(in, out, len, key, ivec, enc); in AES_cbc_encrypt() 99 aes_nohw_cbc_encrypt(in, out, len, key, ivec, enc); in AES_cbc_encrypt() 103 CRYPTO_cbc128_encrypt(in, out, len, key, ivec, AES_encrypt); in AES_cbc_encrypt() 105 CRYPTO_cbc128_decrypt(in, out, len, key, ivec, AES_decrypt); in AES_cbc_encrypt() [all …]
|
D | internal.h | 86 const AES_KEY *key, uint8_t *ivec, const int enc); 88 const AES_KEY *key, const uint8_t ivec[16]); 118 uint8_t *ivec, int enc) { in aes_hw_cbc_encrypt() argument 124 const uint8_t ivec[16]) { in aes_hw_ctr32_encrypt_blocks() 140 const AES_KEY *key, uint8_t ivec[16], int enc); 142 const AES_KEY *key, const uint8_t ivec[16]); 153 uint8_t ivec[16], int enc) { in bsaes_cbc_encrypt() 159 const uint8_t ivec[16]) { in bsaes_ctr32_encrypt_blocks() 186 const AES_KEY *key, uint8_t *ivec, int enc); 190 const AES_KEY *key, const uint8_t ivec[16]); [all …]
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/aes/ |
D | mode_wrappers.c | 58 const AES_KEY *key, uint8_t ivec[AES_BLOCK_SIZE], in AES_ctr128_encrypt() 61 CRYPTO_ctr128_encrypt_ctr32(in, out, len, key, ivec, ecount_buf, num, in AES_ctr128_encrypt() 67 CRYPTO_ctr128_encrypt_ctr32(in, out, len, key, ivec, ecount_buf, num, in AES_ctr128_encrypt() 70 CRYPTO_ctr128_encrypt(in, out, len, key, ivec, ecount_buf, num, in AES_ctr128_encrypt() 74 CRYPTO_ctr128_encrypt_ctr32(in, out, len, key, ivec, ecount_buf, num, in AES_ctr128_encrypt() 92 const AES_KEY *key, uint8_t *ivec, const int enc) { in AES_cbc_encrypt() argument 94 aes_hw_cbc_encrypt(in, out, len, key, ivec, enc); in AES_cbc_encrypt() 99 aes_nohw_cbc_encrypt(in, out, len, key, ivec, enc); in AES_cbc_encrypt() 103 CRYPTO_cbc128_encrypt(in, out, len, key, ivec, AES_encrypt); in AES_cbc_encrypt() 105 CRYPTO_cbc128_decrypt(in, out, len, key, ivec, AES_decrypt); in AES_cbc_encrypt() [all …]
|
D | internal.h | 86 const AES_KEY *key, uint8_t *ivec, const int enc); 88 const AES_KEY *key, const uint8_t ivec[16]); 118 uint8_t *ivec, int enc) { in aes_hw_cbc_encrypt() argument 124 const uint8_t ivec[16]) { in aes_hw_ctr32_encrypt_blocks() 140 const AES_KEY *key, uint8_t ivec[16], int enc); 142 const AES_KEY *key, const uint8_t ivec[16]); 153 uint8_t ivec[16], int enc) { in bsaes_cbc_encrypt() 159 const uint8_t ivec[16]) { in bsaes_ctr32_encrypt_blocks() 186 const AES_KEY *key, uint8_t *ivec, int enc); 190 const AES_KEY *key, const uint8_t ivec[16]); [all …]
|
/external/boringssl/src/crypto/fipsmodule/aes/asm/ |
D | aesv8-armx.pl | 377 my ($dat0,$dat1,$in0,$in1,$tmp0,$tmp1,$ivec,$rndlast)=map("q$_",(0..7)); 411 vld1.8 {$ivec},[$ivp] 428 veor $dat,$dat,$ivec 446 vst1.8 {$ivec},[$out],#16 488 veor $ivec,$dat,$rndlast 491 vst1.8 {$ivec},[$out],#16 503 vst1.8 {$ivec},[$out],#16 526 veor $ivec,$dat,$rndlast 529 vst1.8 {$ivec},[$out],#16 575 veor $tmp0,$ivec,$rndlast [all …]
|
/external/rust/crates/ring/crypto/fipsmodule/aes/asm/ |
D | aesv8-armx.pl | 291 my ($dat0,$dat1,$in0,$in1,$tmp0,$tmp1,$ivec,$rndlast)=map("q$_",(0..7)); 344 // We write to $ivec and copy to the final register as a workaround. 352 vorr $ivec,$dat0,$dat0 354 vmov.32 ${ivec}[3],$tctr1 356 vorr $dat1,$ivec,$ivec 359 vmov.32 ${ivec}[3],$tctr2 361 vorr $dat2,$ivec,$ivec 419 vmov.32 ${ivec}[3], $tctr0 422 vorr $dat0,$ivec,$ivec 426 vmov.32 ${ivec}[3], $tctr1 [all …]
|
/external/boringssl/src/decrepit/blowfish/ |
D | blowfish.c | 156 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/rust/crates/quiche/deps/boringssl/src/decrepit/blowfish/ |
D | blowfish.c | 156 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/rust/crates/quiche/deps/boringssl/src/decrepit/des/ |
D | cfb64ede.c | 71 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/decrepit/des/ |
D | cfb64ede.c | 71 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/skia/src/sksl/ |
D | sksl_public.sksl | 116 $bvec lessThan($ivec x, $ivec y); 119 $bvec lessThanEqual($ivec x, $ivec y); 122 $bvec greaterThan($ivec x, $ivec y); 125 $bvec greaterThanEqual($ivec x, $ivec y); 128 $bvec equal($ivec x, $ivec y); 132 $bvec notEqual($ivec x, $ivec y);
|
/external/boringssl/src/include/openssl/ |
D | des.h | 114 DES_cblock *ivec, int enc); 133 DES_cblock *ivec, int enc); 143 DES_cblock *ivec, int enc); 156 DES_cblock *ivec, int *num, int enc); 163 DES_cblock *ivec, int enc);
|
D | aes.h | 115 uint8_t ivec[AES_BLOCK_SIZE], 132 const AES_KEY *key, uint8_t *ivec, 142 uint8_t *ivec, int *num); 151 uint8_t *ivec, int *num, int enc);
|
/external/rust/crates/quiche/deps/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);
|