HomeSort by relevance Sort by last modified time
    Searched refs:ivec (Results 1 - 25 of 66) sorted by null

1 2 3

  /external/chromium_org/third_party/boringssl/src/crypto/modes/
ofb.c 57 const void *key, uint8_t ivec[16], int *num,
62 assert(in && out && key && ivec && num);
68 *(out++) = *(in++) ^ ivec[n];
74 ((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];
89 (*block)(ivec, ivec, key);
91 *(size_t *)(out + n) = *(size_t *)(in + n) ^ *(size_t *)(ivec + n)
    [all...]
cfb.c 57 const void *key, uint8_t ivec[16], int *num, int enc,
62 assert(in && out && key && ivec && num);
69 *(out++) = ivec[n] ^= *(in++);
73 if (STRICT_ALIGNMENT && ((size_t)in | (size_t)out | (size_t)ivec) % sizeof(size_t) != 0) {
76 (*block)(ivec, ivec, key);
78 out[l] = ivec[n] ^= in[l];
86 (*block)(ivec, ivec, key);
88 *(size_t *)(out + n) = *(size_t *)(ivec + n) ^= *(size_t *)(in + n)
    [all...]
cbc.c 60 const void *key, uint8_t ivec[16],
63 const uint8_t *iv = ivec;
65 assert(in && out && key && ivec);
68 ((size_t)in | (size_t)out | (size_t)ivec) % sizeof(size_t) != 0) {
109 memcpy(ivec, iv, 16);
113 const void *key, uint8_t ivec[16],
121 assert(in && out && key && ivec);
124 const uint8_t *iv = ivec;
127 ((size_t)in | (size_t)out | (size_t)ivec) % sizeof(size_t) != 0) {
150 memcpy(ivec, iv, 16)
    [all...]
ctr.c 81 * (ivec), and that the application has full control over overflow and the rest
85 const void *key, uint8_t ivec[16],
104 ((size_t)in | (size_t)out | (size_t)ivec) % sizeof(size_t) != 0) {
107 (*block)(ivec, ecount_buf, key);
108 ctr128_inc(ivec);
120 (*block)(ivec, ecount_buf, key);
121 ctr128_inc(ivec);
130 (*block)(ivec, ecount_buf, key);
131 ctr128_inc(ivec);
158 uint8_t ivec[16]
    [all...]
  /external/openssl/crypto/modes/
ofb128.c 68 unsigned char ivec[16], int *num,
74 assert(in && out && key && ivec && num);
81 *(out++) = *(in++) ^ ivec[n];
86 if (((size_t)in|(size_t)out|(size_t)ivec)%sizeof(size_t) != 0)
90 (*block)(ivec, ivec, key);
93 *(size_t*)(in+n) ^ *(size_t*)(ivec+n);
100 (*block)(ivec, ivec, key);
102 out[n] = in[n] ^ ivec[n]
    [all...]
cfb128.c 68 unsigned char ivec[16], int *num,
74 assert(in && out && key && ivec && num);
82 *(out++) = ivec[n] ^= *(in++);
87 if (((size_t)in|(size_t)out|(size_t)ivec)%sizeof(size_t) != 0)
91 (*block)(ivec, ivec, key);
94 *(size_t*)(ivec+n) ^= *(size_t*)(in+n);
102 (*block)(ivec, ivec, key);
104 out[n] = ivec[n] ^= in[n]
    [all...]
cbc128.c 68 unsigned char ivec[16], block128_f block)
71 const unsigned char *iv = ivec;
73 assert(in && out && key && ivec);
77 ((size_t)in|(size_t)out|(size_t)ivec)%sizeof(size_t) != 0) {
112 memcpy(ivec,iv,16);
117 unsigned char ivec[16], block128_f block)
122 assert(in && out && key && ivec);
126 const unsigned char *iv = ivec;
129 ((size_t)in|(size_t)out|(size_t)ivec)%sizeof(size_t) != 0) {
153 memcpy(ivec,iv,16)
    [all...]
ctr128.c 109 * of the IV (ivec), and that the application has full control over
116 unsigned char ivec[16], unsigned char ecount_buf[16],
136 if (((size_t)in|(size_t)out|(size_t)ivec)%sizeof(size_t) != 0)
140 (*block)(ivec, ecount_buf, key);
141 ctr128_inc_aligned(ivec);
151 (*block)(ivec, ecount_buf, key);
152 ctr128_inc_aligned(ivec);
165 (*block)(ivec, ecount_buf, key);
166 ctr128_inc(ivec);
192 unsigned char ivec[16], unsigned char ecount_buf[16]
    [all...]
  /external/openssl/crypto/aes/
aes_cbc.c 57 unsigned char *ivec, const int enc) {
60 CRYPTO_cbc128_encrypt(in,out,len,key,ivec,(block128_f)AES_encrypt);
62 CRYPTO_cbc128_decrypt(in,out,len,key,ivec,(block128_f)AES_decrypt);
aes_cfb.c 62 unsigned char *ivec, int *num, const int enc) {
64 CRYPTO_cfb128_encrypt(in,out,length,key,ivec,num,enc,(block128_f)AES_encrypt);
70 unsigned char *ivec, int *num, const int enc)
72 CRYPTO_cfb128_1_encrypt(in,out,length,key,ivec,num,enc,(block128_f)AES_encrypt);
77 unsigned char *ivec, int *num, const int enc)
79 CRYPTO_cfb128_8_encrypt(in,out,length,key,ivec,num,enc,(block128_f)AES_encrypt);
aes_ctr.c 57 unsigned char ivec[AES_BLOCK_SIZE],
60 CRYPTO_ctr128_encrypt(in,out,length,key,ivec,ecount_buf,num,(block128_f)AES_encrypt);
aes_ofb.c 57 unsigned char *ivec, int *num)
59 CRYPTO_ofb128_encrypt(in,out,length,key,ivec,num,(block128_f)AES_encrypt);
aes.h 107 unsigned char *ivec, const int enc);
110 unsigned char *ivec, int *num, const int enc);
113 unsigned char *ivec, int *num, const int enc);
116 unsigned char *ivec, int *num, const int enc);
119 unsigned char *ivec, int *num);
122 unsigned char ivec[AES_BLOCK_SIZE],
128 unsigned char *ivec, const int enc);
132 const AES_KEY *key2, const unsigned char *ivec,
aes_ige.c 81 unsigned char *ivec, const int enc)
86 OPENSSL_assert(in && out && key && ivec);
95 (UNALIGNED_MEMOPS_ARE_FAST || ((size_t)in|(size_t)out|(size_t)ivec)%sizeof(long)==0))
97 aes_block_t *ivp = (aes_block_t *)ivec;
98 aes_block_t *iv2p = (aes_block_t *)(ivec + AES_BLOCK_SIZE);
116 memcpy(ivec, ivp->data, AES_BLOCK_SIZE);
117 memcpy(ivec + AES_BLOCK_SIZE, iv2p->data, AES_BLOCK_SIZE);
125 load_block(iv, ivec);
126 load_block(iv2, ivec + AES_BLOCK_SIZE);
143 memcpy(ivec, iv.data, AES_BLOCK_SIZE)
    [all...]
  /external/chromium_org/third_party/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/openssl/include/openssl/
aes.h 107 unsigned char *ivec, const int enc);
110 unsigned char *ivec, int *num, const int enc);
113 unsigned char *ivec, int *num, const int enc);
116 unsigned char *ivec, int *num, const int enc);
119 unsigned char *ivec, int *num);
122 unsigned char ivec[AES_BLOCK_SIZE],
128 unsigned char *ivec, const int enc);
132 const AES_KEY *key2, const unsigned char *ivec,
modes.h 19 unsigned char ivec[16], int enc);
23 const unsigned char ivec[16]);
27 const unsigned char ivec[16],unsigned char cmac[16]);
31 unsigned char ivec[16], block128_f block);
34 unsigned char ivec[16], block128_f block);
38 unsigned char ivec[16], unsigned char ecount_buf[16],
43 unsigned char ivec[16], unsigned char ecount_buf[16],
48 unsigned char ivec[16], int *num,
53 unsigned char ivec[16], int *num,
57 unsigned char ivec[16], int *num
    [all...]
  /external/openssl/crypto/bf/
bf_cfb64.c 68 const BF_KEY *schedule, unsigned char *ivec, int *num, int encrypt)
76 iv=(unsigned char *)ivec;
86 iv=(unsigned char *)ivec;
89 iv=(unsigned char *)ivec;
106 iv=(unsigned char *)ivec;
109 iv=(unsigned char *)ivec;
  /external/openssl/crypto/des/
cfb64enc.c 68 DES_cblock *ivec, int *num, int enc)
76 iv = &(*ivec)[0];
86 iv = &(*ivec)[0];
89 iv = &(*ivec)[0];
106 iv = &(*ivec)[0];
109 iv = &(*ivec)[0];
des_old.c 92 long length,des_key_schedule schedule,_ossl_old_des_cblock *ivec)
95 (DES_key_schedule *)schedule, ivec);
98 des_key_schedule schedule,_ossl_old_des_cblock *ivec,int enc)
101 length, (DES_key_schedule *)schedule, ivec, enc);
104 des_key_schedule schedule,_ossl_old_des_cblock *ivec,int enc)
107 length, (DES_key_schedule *)schedule, ivec, enc);
110 des_key_schedule schedule,_ossl_old_des_cblock *ivec,
114 length, (DES_key_schedule *)schedule, ivec, inw, outw, enc);
117 long length,des_key_schedule schedule,_ossl_old_des_cblock *ivec,int enc)
120 (DES_key_schedule *)schedule, ivec, enc)
    [all...]
ofb64ede.c 68 DES_key_schedule *k3, DES_cblock *ivec,
80 iv = &(*ivec)[0];
110 iv = &(*ivec)[0];
121 DES_key_schedule k2, DES_cblock (*ivec), int *num)
123 DES_ede3_ofb64_encrypt(in, out, length, k1,k2,k1, ivec, num);
DES.xs 60 des_cbc_encrypt(input,ks,ivec,encrypt)
63 des_cblock * ivec
79 l,*ks,ivec,encrypt);
111 des_cbc_cksum(input,ks,ivec)
114 des_cblock * ivec
126 l,*ks,ivec);
137 des_cfb_encrypt(input,numbits,ks,ivec,encrypt)
141 des_cblock * ivec
156 (int)numbits,(long)len,*ks,ivec,encrypt);
157 sv_setpvn(ST(3),(char *)ivec,8)
    [all...]
  /external/openssl/crypto/rc2/
rc2cfb64.c 68 long length, RC2_KEY *schedule, unsigned char *ivec,
77 iv=(unsigned char *)ivec;
87 iv=(unsigned char *)ivec;
90 iv=(unsigned char *)ivec;
107 iv=(unsigned char *)ivec;
110 iv=(unsigned char *)ivec;
  /external/chromium_org/third_party/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);

Completed in 727 milliseconds

1 2 3