Searched refs:AES_BLOCK_SIZE (Results 1 - 25 of 104) sorted by relevance

12345

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/wpa_supplicant-0.7.3/src/crypto/
H A Daes-cbc.c33 u8 cbc[AES_BLOCK_SIZE];
40 os_memcpy(cbc, iv, AES_BLOCK_SIZE);
42 blocks = data_len / AES_BLOCK_SIZE;
44 for (j = 0; j < AES_BLOCK_SIZE; j++)
47 os_memcpy(pos, cbc, AES_BLOCK_SIZE);
48 pos += AES_BLOCK_SIZE;
66 u8 cbc[AES_BLOCK_SIZE], tmp[AES_BLOCK_SIZE];
73 os_memcpy(cbc, iv, AES_BLOCK_SIZE);
75 blocks = data_len / AES_BLOCK_SIZE;
[all...]
H A Daes-ctr.c37 u8 counter[AES_BLOCK_SIZE], buf[AES_BLOCK_SIZE];
42 os_memcpy(counter, nonce, AES_BLOCK_SIZE);
47 len = (left < AES_BLOCK_SIZE) ? left : AES_BLOCK_SIZE;
53 for (i = AES_BLOCK_SIZE - 1; i >= 0; i--) {
H A Daes-omac1.c27 for (i = 0; i < AES_BLOCK_SIZE - 1; i++)
29 pad[AES_BLOCK_SIZE - 1] <<= 1;
31 pad[AES_BLOCK_SIZE - 1] ^= 0x87;
52 u8 cbc[AES_BLOCK_SIZE], pad[AES_BLOCK_SIZE];
59 os_memset(cbc, 0, AES_BLOCK_SIZE);
70 while (left >= AES_BLOCK_SIZE) {
71 for (i = 0; i < AES_BLOCK_SIZE; i++) {
79 if (left > AES_BLOCK_SIZE)
81 left -= AES_BLOCK_SIZE;
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/wpa_supplicant-0.7.3/src/crypto/
H A Daes-cbc.c33 u8 cbc[AES_BLOCK_SIZE];
40 os_memcpy(cbc, iv, AES_BLOCK_SIZE);
42 blocks = data_len / AES_BLOCK_SIZE;
44 for (j = 0; j < AES_BLOCK_SIZE; j++)
47 os_memcpy(pos, cbc, AES_BLOCK_SIZE);
48 pos += AES_BLOCK_SIZE;
66 u8 cbc[AES_BLOCK_SIZE], tmp[AES_BLOCK_SIZE];
73 os_memcpy(cbc, iv, AES_BLOCK_SIZE);
75 blocks = data_len / AES_BLOCK_SIZE;
[all...]
H A Daes-ctr.c37 u8 counter[AES_BLOCK_SIZE], buf[AES_BLOCK_SIZE];
42 os_memcpy(counter, nonce, AES_BLOCK_SIZE);
47 len = (left < AES_BLOCK_SIZE) ? left : AES_BLOCK_SIZE;
53 for (i = AES_BLOCK_SIZE - 1; i >= 0; i--) {
H A Daes-omac1.c27 for (i = 0; i < AES_BLOCK_SIZE - 1; i++)
29 pad[AES_BLOCK_SIZE - 1] <<= 1;
31 pad[AES_BLOCK_SIZE - 1] ^= 0x87;
52 u8 cbc[AES_BLOCK_SIZE], pad[AES_BLOCK_SIZE];
59 os_memset(cbc, 0, AES_BLOCK_SIZE);
70 while (left >= AES_BLOCK_SIZE) {
71 for (i = 0; i < AES_BLOCK_SIZE; i++) {
79 if (left > AES_BLOCK_SIZE)
81 left -= AES_BLOCK_SIZE;
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/wpa_supplicant-0.7.3/src/crypto/
H A Daes-cbc.c33 u8 cbc[AES_BLOCK_SIZE];
40 os_memcpy(cbc, iv, AES_BLOCK_SIZE);
42 blocks = data_len / AES_BLOCK_SIZE;
44 for (j = 0; j < AES_BLOCK_SIZE; j++)
47 os_memcpy(pos, cbc, AES_BLOCK_SIZE);
48 pos += AES_BLOCK_SIZE;
66 u8 cbc[AES_BLOCK_SIZE], tmp[AES_BLOCK_SIZE];
73 os_memcpy(cbc, iv, AES_BLOCK_SIZE);
75 blocks = data_len / AES_BLOCK_SIZE;
[all...]
H A Daes-ctr.c37 u8 counter[AES_BLOCK_SIZE], buf[AES_BLOCK_SIZE];
42 os_memcpy(counter, nonce, AES_BLOCK_SIZE);
47 len = (left < AES_BLOCK_SIZE) ? left : AES_BLOCK_SIZE;
53 for (i = AES_BLOCK_SIZE - 1; i >= 0; i--) {
H A Daes-omac1.c27 for (i = 0; i < AES_BLOCK_SIZE - 1; i++)
29 pad[AES_BLOCK_SIZE - 1] <<= 1;
31 pad[AES_BLOCK_SIZE - 1] ^= 0x87;
52 u8 cbc[AES_BLOCK_SIZE], pad[AES_BLOCK_SIZE];
59 os_memset(cbc, 0, AES_BLOCK_SIZE);
70 while (left >= AES_BLOCK_SIZE) {
71 for (i = 0; i < AES_BLOCK_SIZE; i++) {
79 if (left > AES_BLOCK_SIZE)
81 left -= AES_BLOCK_SIZE;
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/lib/crypto/
H A Daes.c74 unsigned char tmp[AES_BLOCK_SIZE];
78 while (size >= AES_BLOCK_SIZE) {
79 for (i = 0; i < AES_BLOCK_SIZE; i++)
82 memcpy(iv, out, AES_BLOCK_SIZE);
83 size -= AES_BLOCK_SIZE;
84 in += AES_BLOCK_SIZE;
85 out += AES_BLOCK_SIZE;
90 for (i = size; i < AES_BLOCK_SIZE; i++)
93 memcpy(iv, out, AES_BLOCK_SIZE);
96 while (size >= AES_BLOCK_SIZE) {
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/openssl-1.0.0q/crypto/aes/
H A Daes_ige.c57 #define N_WORDS (AES_BLOCK_SIZE / sizeof(unsigned long))
73 #define load_block(d, s) memcpy((d).data, (s), AES_BLOCK_SIZE)
74 #define store_block(d, s) memcpy((d), (s).data, AES_BLOCK_SIZE)
88 OPENSSL_assert((length%AES_BLOCK_SIZE) == 0);
90 len = length / AES_BLOCK_SIZE;
98 aes_block_t *iv2p = (aes_block_t *)(ivec + AES_BLOCK_SIZE);
113 in += AES_BLOCK_SIZE;
114 out += AES_BLOCK_SIZE;
116 memcpy(ivec, ivp->data, AES_BLOCK_SIZE);
117 memcpy(ivec + AES_BLOCK_SIZE, iv2
[all...]
H A Daes_ctr.c57 unsigned char ivec[AES_BLOCK_SIZE],
58 unsigned char ecount_buf[AES_BLOCK_SIZE],
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/lib/crypto/
H A Daes.c74 unsigned char tmp[AES_BLOCK_SIZE];
78 while (size >= AES_BLOCK_SIZE) {
79 for (i = 0; i < AES_BLOCK_SIZE; i++)
82 memcpy(iv, out, AES_BLOCK_SIZE);
83 size -= AES_BLOCK_SIZE;
84 in += AES_BLOCK_SIZE;
85 out += AES_BLOCK_SIZE;
90 for (i = size; i < AES_BLOCK_SIZE; i++)
93 memcpy(iv, out, AES_BLOCK_SIZE);
96 while (size >= AES_BLOCK_SIZE) {
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/openssl/crypto/aes/
H A Daes_ige.c57 #define N_WORDS (AES_BLOCK_SIZE / sizeof(unsigned long))
73 # define load_block(d, s) memcpy((d).data, (s), AES_BLOCK_SIZE)
74 # define store_block(d, s) memcpy((d), (s).data, AES_BLOCK_SIZE)
88 OPENSSL_assert((length % AES_BLOCK_SIZE) == 0);
90 len = length / AES_BLOCK_SIZE;
98 aes_block_t *iv2p = (aes_block_t *) (ivec + AES_BLOCK_SIZE);
113 in += AES_BLOCK_SIZE;
114 out += AES_BLOCK_SIZE;
116 memcpy(ivec, ivp->data, AES_BLOCK_SIZE);
117 memcpy(ivec + AES_BLOCK_SIZE, iv2
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/openssl-1.0.0q/crypto/aes/
H A Daes_ige.c57 #define N_WORDS (AES_BLOCK_SIZE / sizeof(unsigned long))
73 #define load_block(d, s) memcpy((d).data, (s), AES_BLOCK_SIZE)
74 #define store_block(d, s) memcpy((d), (s).data, AES_BLOCK_SIZE)
88 OPENSSL_assert((length%AES_BLOCK_SIZE) == 0);
90 len = length / AES_BLOCK_SIZE;
98 aes_block_t *iv2p = (aes_block_t *)(ivec + AES_BLOCK_SIZE);
113 in += AES_BLOCK_SIZE;
114 out += AES_BLOCK_SIZE;
116 memcpy(ivec, ivp->data, AES_BLOCK_SIZE);
117 memcpy(ivec + AES_BLOCK_SIZE, iv2
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/openssl/crypto/aes/
H A Daes_ige.c57 #define N_WORDS (AES_BLOCK_SIZE / sizeof(unsigned long))
73 # define load_block(d, s) memcpy((d).data, (s), AES_BLOCK_SIZE)
74 # define store_block(d, s) memcpy((d), (s).data, AES_BLOCK_SIZE)
88 OPENSSL_assert((length % AES_BLOCK_SIZE) == 0);
90 len = length / AES_BLOCK_SIZE;
98 aes_block_t *iv2p = (aes_block_t *) (ivec + AES_BLOCK_SIZE);
113 in += AES_BLOCK_SIZE;
114 out += AES_BLOCK_SIZE;
116 memcpy(ivec, ivp->data, AES_BLOCK_SIZE);
117 memcpy(ivec + AES_BLOCK_SIZE, iv2
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/lib/crypto/
H A Daes.c74 unsigned char tmp[AES_BLOCK_SIZE];
78 while (size >= AES_BLOCK_SIZE) {
79 for (i = 0; i < AES_BLOCK_SIZE; i++)
82 memcpy(iv, out, AES_BLOCK_SIZE);
83 size -= AES_BLOCK_SIZE;
84 in += AES_BLOCK_SIZE;
85 out += AES_BLOCK_SIZE;
90 for (i = size; i < AES_BLOCK_SIZE; i++)
93 memcpy(iv, out, AES_BLOCK_SIZE);
96 while (size >= AES_BLOCK_SIZE) {
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/openssl-1.0.0q/crypto/aes/
H A Daes_ige.c57 #define N_WORDS (AES_BLOCK_SIZE / sizeof(unsigned long))
73 #define load_block(d, s) memcpy((d).data, (s), AES_BLOCK_SIZE)
74 #define store_block(d, s) memcpy((d), (s).data, AES_BLOCK_SIZE)
88 OPENSSL_assert((length%AES_BLOCK_SIZE) == 0);
90 len = length / AES_BLOCK_SIZE;
98 aes_block_t *iv2p = (aes_block_t *)(ivec + AES_BLOCK_SIZE);
113 in += AES_BLOCK_SIZE;
114 out += AES_BLOCK_SIZE;
116 memcpy(ivec, ivp->data, AES_BLOCK_SIZE);
117 memcpy(ivec + AES_BLOCK_SIZE, iv2
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/openssl/crypto/aes/
H A Daes_ige.c57 #define N_WORDS (AES_BLOCK_SIZE / sizeof(unsigned long))
73 # define load_block(d, s) memcpy((d).data, (s), AES_BLOCK_SIZE)
74 # define store_block(d, s) memcpy((d), (s).data, AES_BLOCK_SIZE)
88 OPENSSL_assert((length % AES_BLOCK_SIZE) == 0);
90 len = length / AES_BLOCK_SIZE;
98 aes_block_t *iv2p = (aes_block_t *) (ivec + AES_BLOCK_SIZE);
113 in += AES_BLOCK_SIZE;
114 out += AES_BLOCK_SIZE;
116 memcpy(ivec, ivp->data, AES_BLOCK_SIZE);
117 memcpy(ivec + AES_BLOCK_SIZE, iv2
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source4/heimdal/lib/hcrypto/
H A Devp-aes-cts.c92 unsigned char tmp[AES_BLOCK_SIZE];
102 while(len > AES_BLOCK_SIZE) {
103 for (i = 0; i < AES_BLOCK_SIZE; i++)
106 memcpy(ivec, out, AES_BLOCK_SIZE);
107 len -= AES_BLOCK_SIZE;
108 in += AES_BLOCK_SIZE;
109 out += AES_BLOCK_SIZE;
114 for (; i < AES_BLOCK_SIZE; i++)
117 AES_encrypt(tmp, out - AES_BLOCK_SIZE, key);
120 memcpy(ivec, out - AES_BLOCK_SIZE, AES_BLOCK_SIZ
[all...]
H A Daes.c81 unsigned char tmp[AES_BLOCK_SIZE];
85 while (size >= AES_BLOCK_SIZE) {
86 for (i = 0; i < AES_BLOCK_SIZE; i++)
89 memcpy(iv, out, AES_BLOCK_SIZE);
90 size -= AES_BLOCK_SIZE;
91 in += AES_BLOCK_SIZE;
92 out += AES_BLOCK_SIZE;
97 for (i = size; i < AES_BLOCK_SIZE; i++)
100 memcpy(iv, out, AES_BLOCK_SIZE);
103 while (size >= AES_BLOCK_SIZE) {
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source4/heimdal/lib/hcrypto/
H A Devp-aes-cts.c92 unsigned char tmp[AES_BLOCK_SIZE];
102 while(len > AES_BLOCK_SIZE) {
103 for (i = 0; i < AES_BLOCK_SIZE; i++)
106 memcpy(ivec, out, AES_BLOCK_SIZE);
107 len -= AES_BLOCK_SIZE;
108 in += AES_BLOCK_SIZE;
109 out += AES_BLOCK_SIZE;
114 for (; i < AES_BLOCK_SIZE; i++)
117 AES_encrypt(tmp, out - AES_BLOCK_SIZE, key);
120 memcpy(ivec, out - AES_BLOCK_SIZE, AES_BLOCK_SIZ
[all...]
H A Daes.c81 unsigned char tmp[AES_BLOCK_SIZE];
85 while (size >= AES_BLOCK_SIZE) {
86 for (i = 0; i < AES_BLOCK_SIZE; i++)
89 memcpy(iv, out, AES_BLOCK_SIZE);
90 size -= AES_BLOCK_SIZE;
91 in += AES_BLOCK_SIZE;
92 out += AES_BLOCK_SIZE;
97 for (i = size; i < AES_BLOCK_SIZE; i++)
100 memcpy(iv, out, AES_BLOCK_SIZE);
103 while (size >= AES_BLOCK_SIZE) {
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source4/heimdal/lib/hcrypto/
H A Devp-aes-cts.c92 unsigned char tmp[AES_BLOCK_SIZE];
102 while(len > AES_BLOCK_SIZE) {
103 for (i = 0; i < AES_BLOCK_SIZE; i++)
106 memcpy(ivec, out, AES_BLOCK_SIZE);
107 len -= AES_BLOCK_SIZE;
108 in += AES_BLOCK_SIZE;
109 out += AES_BLOCK_SIZE;
114 for (; i < AES_BLOCK_SIZE; i++)
117 AES_encrypt(tmp, out - AES_BLOCK_SIZE, key);
120 memcpy(ivec, out - AES_BLOCK_SIZE, AES_BLOCK_SIZ
[all...]
H A Daes.c81 unsigned char tmp[AES_BLOCK_SIZE];
85 while (size >= AES_BLOCK_SIZE) {
86 for (i = 0; i < AES_BLOCK_SIZE; i++)
89 memcpy(iv, out, AES_BLOCK_SIZE);
90 size -= AES_BLOCK_SIZE;
91 in += AES_BLOCK_SIZE;
92 out += AES_BLOCK_SIZE;
97 for (i = size; i < AES_BLOCK_SIZE; i++)
100 memcpy(iv, out, AES_BLOCK_SIZE);
103 while (size >= AES_BLOCK_SIZE) {
[all...]

Completed in 286 milliseconds

12345