/external/boringssl/src/crypto/modes/ |
ofb.c | 57 const void *key, uint8_t ivec[16], int *num, 61 assert(in && out && key && ivec && num); 67 *(out++) = *(in++) ^ ivec[n]; 73 if (((size_t)in | (size_t)out | (size_t)ivec) % sizeof(size_t) != 0) { 77 (*block)(ivec, ivec, key); 79 out[l] = in[l] ^ ivec[n]; 90 (*block)(ivec, ivec, key); 92 *(size_t *)(out + n) = *(size_t *)(in + n) ^ *(size_t *)(ivec + n) [all...] |
cfb.c | 58 const void *key, uint8_t ivec[16], int *num, int enc, 63 assert(in && out && key && ivec && num); 70 *(out++) = ivec[n] ^= *(in++); 75 if (((size_t)in | (size_t)out | (size_t)ivec) % sizeof(size_t) != 0) { 78 (*block)(ivec, ivec, key); 80 out[l] = ivec[n] ^= in[l]; 89 (*block)(ivec, ivec, key); 91 *(size_t *)(out + n) = *(size_t *)(ivec + n) ^= *(size_t *)(in + n) [all...] |
ctr.c | 82 * (ivec), and that the application has full control over overflow and the rest 86 const void *key, uint8_t ivec[16], 105 if (((size_t)in | (size_t)out | (size_t)ivec) % sizeof(size_t) != 0) { 109 (*block)(ivec, ecount_buf, key); 110 ctr128_inc(ivec); 123 (*block)(ivec, ecount_buf, key); 124 ctr128_inc(ivec); 134 (*block)(ivec, ecount_buf, key); 135 ctr128_inc(ivec); 162 uint8_t ivec[16] [all...] |
cbc.c | 61 const void *key, uint8_t ivec[16], 64 const uint8_t *iv = ivec; 66 assert(key != NULL && ivec != NULL); 70 ((size_t)in | (size_t)out | (size_t)ivec) % sizeof(size_t) != 0) { 111 memcpy(ivec, iv, 16); 115 const void *key, uint8_t ivec[16], 123 assert(key != NULL && ivec != NULL); 134 const uint8_t *iv = ivec; 137 ((size_t)in | (size_t)out | (size_t)ivec) % sizeof(size_t) != 0) { 162 memcpy(ivec, iv, 16) [all...] |
/external/boringssl/src/crypto/aes/ |
mode_wrappers.c | 57 const AES_KEY *key, uint8_t ivec[AES_BLOCK_SIZE], 59 CRYPTO_ctr128_encrypt(in, out, len, key, ivec, ecount_buf, num, 78 const AES_KEY *key, uint8_t *ivec, const int enc) { 81 CRYPTO_cbc128_encrypt(in, out, len, key, ivec, (block128_f)AES_encrypt); 83 CRYPTO_cbc128_decrypt(in, out, len, key, ivec, (block128_f)AES_decrypt); 89 const AES_KEY *key, uint8_t *ivec, const int enc); 91 const AES_KEY *key, uint8_t *ivec, const int enc) { 92 asm_AES_cbc_encrypt(in, out, len, key, ivec, enc); 98 const AES_KEY *key, uint8_t *ivec, int *num) { 99 CRYPTO_ofb128_encrypt(in, out, length, key, ivec, num [all...] |
/external/boringssl/src/include/openssl/ |
modes.h | 71 const void *key, const uint8_t ivec[16]); 77 * call. The counter is a 128-bit, big-endian value in |ivec| and is 81 uint8_t ivec[16], 91 uint8_t ivec[16], uint8_t ecount_buf[16], unsigned int *num, ctr128_f ctr); 161 const void *key, uint8_t ivec[16], int enc); 168 const void *key, uint8_t ivec[16], block128_f block); 175 const void *key, uint8_t ivec[16], block128_f block); 183 * stored in |ivec| and |*num|, the latter must be zero before the initial 186 size_t len, const void *key, uint8_t ivec[16], 194 * |len| be a multiple of any value and any partial blocks are stored in |ivec| [all...] |
aes.h | 109 * first call and |ivec| will be incremented. */ 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);
|
des.h | 113 DES_cblock *ivec, int enc); 132 DES_cblock *ivec, int enc); 142 DES_cblock *ivec, int enc);
|
blowfish.h | 85 const BF_KEY *schedule, uint8_t *ivec,
|
cast.h | 90 uint8_t *ivec, int *num, int enc);
|
/external/boringssl/src/crypto/aes/asm/ |
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,$rndlas [all...] |
aesni-x86.pl | 89 $inout5="xmm7"; $ivec="xmm7"; 112 { my ($p,$inout,$ivec)=@_; $inout=$inout0 if (!defined($inout)); 117 &xorps ($ivec,$rndkey0) if (defined($ivec)); 119 &xorps ($inout,$ivec) if (defined($ivec)); 120 &xorps ($inout,$rndkey0) if (!defined($ivec)); 642 # const char *ivec,char *cmac); 645 # does not update *ivec! Nor does it finalize CMAC value 661 &movdqu ($ivec,&QWP(0,$rounds_)); # load ive [all...] |
aes-x86_64.pl | [all...] |
aes-586.pl | [all...] |
aesni-x86_64.pl | 228 my ($p,$key,$rounds,$inout,$ivec)=@_; $inout=$inout0 if (!defined($inout)); 234 $code.=<<___ if (defined($ivec)); 235 xorps $rndkey0,$ivec 237 xorps $ivec,$inout 239 $code.=<<___ if (!defined($ivec)); 942 # const char *ivec,char *cmac); 945 # does not update *ivec! Nor does it finalize CMAC value [all...] |
/external/boringssl/src/decrepit/blowfish/ |
blowfish.c | 152 const BF_KEY *schedule, uint8_t *ivec, int encrypt) { 159 n2l(ivec, tout0); 160 n2l(ivec, tout1); 161 ivec -= 8; 187 l2n(tout0, ivec); 188 l2n(tout1, ivec); 190 n2l(ivec, xor0); 191 n2l(ivec, xor1); 192 ivec -= 8; 218 l2n(xor0, ivec); [all...] |
/external/boringssl/src/decrepit/cast/ |
cast.c | 363 const CAST_KEY *schedule, uint8_t *ivec, int *num, 371 iv = ivec; 380 iv = ivec; 385 iv = ivec; 400 iv = ivec; 405 iv = ivec;
|
/external/boringssl/src/crypto/cipher/ |
e_aes.c | 137 const AES_KEY *key, uint8_t *ivec, const int enc); 139 const AES_KEY *key, const uint8_t ivec[16]); 147 const AES_KEY *key, uint8_t ivec[16], int enc); 149 const AES_KEY *key, const uint8_t ivec[16]); 158 const AES_KEY *key, uint8_t ivec[16], int enc) { 163 const AES_KEY *key, const uint8_t ivec[16]) { 178 const AES_KEY *key, uint8_t *ivec, int enc); 199 const AES_KEY *key, uint8_t *ivec, int enc) { 229 const AES_KEY *key, uint8_t *ivec, int enc) { 234 const AES_KEY *key, const uint8_t ivec[16]) [all...] |
/external/boringssl/src/crypto/des/ |
des.c | 568 const DES_key_schedule *schedule, DES_cblock *ivec, 575 iv = ivec->bytes; 605 iv = ivec->bytes; 636 iv = ivec->bytes; 669 const DES_key_schedule *ks3, DES_cblock *ivec, 676 iv = ivec->bytes; 710 iv = ivec->bytes; 758 iv = ivec->bytes; 769 DES_cblock *ivec, 771 DES_ede3_cbc_encrypt(in, out, len, ks1, ks2, ks1, ivec, enc) [all...] |
/external/libvncserver/x11vnc/ |
enc.h | 280 #define IVEC 16 284 static int ivec_size = IVEC; 706 unsigned char *ivec = ivec_real; local 755 ivec = NULL; 766 RAND_bytes(ivec, ivec_size); 770 memcpy(buf+salt_size, ivec, ivec_size); 801 "and ivec: n=%d\n", prog, n); 813 memcpy(ivec, buf+salt_size, ivec_size); 859 keydata_len, 1, keystr, ivec); 861 EVP_CipherInit_ex(ctx, Cipher, NULL, keystr, ivec, [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
fvec.h | 16 #include <ivec.h>
|
intrin.h | 100 #include <ivec.h> [all...] |