/external/dropbear/libtomcrypt/src/headers/ |
D | tomcrypt_cipher.h | 345 int (*ecb_encrypt)(const unsigned char *pt, unsigned char *ct, symmetric_key *skey); 352 int (*ecb_decrypt)(const unsigned char *ct, unsigned char *pt, symmetric_key *skey); 377 …int (*accel_ecb_encrypt)(const unsigned char *pt, unsigned char *ct, unsigned long blocks, symmetr… 386 …int (*accel_ecb_decrypt)(const unsigned char *ct, unsigned char *pt, unsigned long blocks, symmetr… 396 …int (*accel_cbc_encrypt)(const unsigned char *pt, unsigned char *ct, unsigned long blocks, unsigne… 406 …int (*accel_cbc_decrypt)(const unsigned char *ct, unsigned char *pt, unsigned long blocks, unsigne… 417 …int (*accel_ctr_encrypt)(const unsigned char *pt, unsigned char *ct, unsigned long blocks, unsigne… 428 …int (*accel_lrw_encrypt)(const unsigned char *pt, unsigned char *ct, unsigned long blocks, unsigne… 439 …int (*accel_lrw_decrypt)(const unsigned char *ct, unsigned char *pt, unsigned long blocks, unsigne… 463 unsigned char *ct, [all …]
|
D | tomcrypt_mac.h | 115 int eax_encrypt(eax_state *eax, const unsigned char *pt, unsigned char *ct, unsigned long length); 116 int eax_decrypt(eax_state *eax, const unsigned char *ct, unsigned char *pt, unsigned long length); 125 unsigned char *ct, 132 const unsigned char *ct, unsigned long ctlen, 158 int ocb_encrypt(ocb_state *ocb, const unsigned char *pt, unsigned char *ct); 159 int ocb_decrypt(ocb_state *ocb, const unsigned char *ct, unsigned char *pt); 163 unsigned char *ct, 167 const unsigned char *ct, unsigned long ctlen, 175 unsigned char *ct, 181 const unsigned char *ct, unsigned long ctlen, [all …]
|
/external/iptables/extensions/ |
D | libxt_u32.c | 45 const struct xt_u32_test *ct; in u32_dump() local 50 ct = &data->tests[testind]; in u32_dump() 55 printf("0x%x", ct->location[0].number); in u32_dump() 56 for (i = 1; i < ct->nnums; ++i) { in u32_dump() 57 switch (ct->location[i].nextop) { in u32_dump() 71 printf("0x%x", ct->location[i].number); in u32_dump() 75 for (i = 0; i < ct->nvalues; ++i) { in u32_dump() 78 if (ct->value[i].min == ct->value[i].max) in u32_dump() 79 printf("0x%x", ct->value[i].min); in u32_dump() 81 printf("0x%x:0x%x", ct->value[i].min, in u32_dump() [all …]
|
/external/kernel-headers/original/linux/netfilter_ipv4/ |
D | ip_conntrack.h | 202 ip_conntrack_put(struct ip_conntrack *ct) in ip_conntrack_put() argument 204 IP_NF_ASSERT(ct); in ip_conntrack_put() 205 nf_conntrack_put(&ct->ct_general); in ip_conntrack_put() 211 extern void __ip_ct_refresh_acct(struct ip_conntrack *ct, 218 static inline void ip_ct_refresh_acct(struct ip_conntrack *ct, in ip_ct_refresh_acct() argument 223 __ip_ct_refresh_acct(ct, ctinfo, skb, extra_jiffies, 1); in ip_ct_refresh_acct() 227 static inline void ip_ct_refresh(struct ip_conntrack *ct, in ip_ct_refresh() argument 231 __ip_ct_refresh_acct(ct, 0, skb, extra_jiffies, 0); in ip_ct_refresh() 267 extern void ip_ct_remove_expectations(struct ip_conntrack *ct); 272 extern void ip_conntrack_free(struct ip_conntrack *ct); [all …]
|
/external/dropbear/libtomcrypt/src/ciphers/ |
D | skipjack.c | 144 static int _skipjack_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in _skipjack_ecb_encrypt() argument 146 int skipjack_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in _skipjack_ecb_encrypt() 153 LTC_ARGCHK(ct != NULL); in _skipjack_ecb_encrypt() 183 ct[0] = (w1>>8)&255; ct[1] = w1&255; in _skipjack_ecb_encrypt() 184 ct[2] = (w2>>8)&255; ct[3] = w2&255; in _skipjack_ecb_encrypt() 185 ct[4] = (w3>>8)&255; ct[5] = w3&255; in _skipjack_ecb_encrypt() 186 ct[6] = (w4>>8)&255; ct[7] = w4&255; in _skipjack_ecb_encrypt() 192 int skipjack_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in skipjack_ecb_encrypt() argument 194 int err = _skipjack_ecb_encrypt(pt, ct, skey); in skipjack_ecb_encrypt() 208 static int _skipjack_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in _skipjack_ecb_decrypt() argument [all …]
|
D | rc2.c | 132 unsigned char *ct, in _rc2_ecb_encrypt() argument 136 unsigned char *ct, in _rc2_ecb_encrypt() 144 LTC_ARGCHK(ct != NULL); in _rc2_ecb_encrypt() 175 ct[0] = (unsigned char)x10; in _rc2_ecb_encrypt() 176 ct[1] = (unsigned char)(x10 >> 8); in _rc2_ecb_encrypt() 177 ct[2] = (unsigned char)x32; in _rc2_ecb_encrypt() 178 ct[3] = (unsigned char)(x32 >> 8); in _rc2_ecb_encrypt() 179 ct[4] = (unsigned char)x54; in _rc2_ecb_encrypt() 180 ct[5] = (unsigned char)(x54 >> 8); in _rc2_ecb_encrypt() 181 ct[6] = (unsigned char)x76; in _rc2_ecb_encrypt() [all …]
|
D | rc6.c | 123 static int _rc6_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in _rc6_ecb_encrypt() argument 125 int rc6_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in _rc6_ecb_encrypt() 133 LTC_ARGCHK(ct != NULL); in _rc6_ecb_encrypt() 157 STORE32L(a,&ct[0]);STORE32L(b,&ct[4]);STORE32L(c,&ct[8]);STORE32L(d,&ct[12]); in _rc6_ecb_encrypt() 162 int rc6_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in rc6_ecb_encrypt() argument 164 int err = _rc6_ecb_encrypt(pt, ct, skey); in rc6_ecb_encrypt() 177 static int _rc6_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in _rc6_ecb_decrypt() argument 179 int rc6_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in _rc6_ecb_decrypt() 187 LTC_ARGCHK(ct != NULL); in _rc6_ecb_decrypt() 189 LOAD32L(a,&ct[0]);LOAD32L(b,&ct[4]);LOAD32L(c,&ct[8]);LOAD32L(d,&ct[12]); in _rc6_ecb_decrypt() [all …]
|
D | noekeon.c | 113 static int _noekeon_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in _noekeon_ecb_encrypt() argument 115 int noekeon_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in _noekeon_ecb_encrypt() 123 LTC_ARGCHK(ct != NULL); in _noekeon_ecb_encrypt() 144 STORE32H(a,&ct[0]); STORE32H(b,&ct[4]); in _noekeon_ecb_encrypt() 145 STORE32H(c,&ct[8]); STORE32H(d,&ct[12]); in _noekeon_ecb_encrypt() 151 int noekeon_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in noekeon_ecb_encrypt() argument 153 int err = _noekeon_ecb_encrypt(pt, ct, skey); in noekeon_ecb_encrypt() 167 static int _noekeon_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in _noekeon_ecb_decrypt() argument 169 int noekeon_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in _noekeon_ecb_decrypt() 177 LTC_ARGCHK(ct != NULL); in _noekeon_ecb_decrypt() [all …]
|
D | kseed.c | 259 int kseed_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in kseed_ecb_encrypt() argument 267 STORE32H(P[2], ct); in kseed_ecb_encrypt() 268 STORE32H(P[3], ct+4); in kseed_ecb_encrypt() 269 STORE32H(P[0], ct+8); in kseed_ecb_encrypt() 270 STORE32H(P[1], ct+12); in kseed_ecb_encrypt() 281 int kseed_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in kseed_ecb_decrypt() argument 284 LOAD32H(P[0], ct); in kseed_ecb_decrypt() 285 LOAD32H(P[1], ct+4); in kseed_ecb_decrypt() 286 LOAD32H(P[2], ct+8); in kseed_ecb_decrypt() 287 LOAD32H(P[3], ct+12); in kseed_ecb_decrypt() [all …]
|
D | rc5.c | 129 static int _rc5_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in _rc5_ecb_encrypt() argument 131 int rc5_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in _rc5_ecb_encrypt() 138 LTC_ARGCHK(ct != NULL); in _rc5_ecb_encrypt() 161 STORE32L(A, &ct[0]); in _rc5_ecb_encrypt() 162 STORE32L(B, &ct[4]); in _rc5_ecb_encrypt() 168 int rc5_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in rc5_ecb_encrypt() argument 170 int err = _rc5_ecb_encrypt(pt, ct, skey); in rc5_ecb_encrypt() 184 static int _rc5_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in _rc5_ecb_decrypt() argument 186 int rc5_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in _rc5_ecb_decrypt() 193 LTC_ARGCHK(ct != NULL); in _rc5_ecb_decrypt() [all …]
|
D | blowfish.c | 391 static int _blowfish_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in _blowfish_ecb_encrypt() argument 393 int blowfish_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in _blowfish_ecb_encrypt() 403 LTC_ARGCHK(ct != NULL); in _blowfish_ecb_encrypt() 430 STORE32H(R, &ct[0]); in _blowfish_ecb_encrypt() 431 STORE32H(L, &ct[4]); in _blowfish_ecb_encrypt() 437 int blowfish_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in blowfish_ecb_encrypt() argument 439 int err = _blowfish_ecb_encrypt(pt, ct, skey); in blowfish_ecb_encrypt() 453 static int _blowfish_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in _blowfish_ecb_decrypt() argument 455 int blowfish_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in _blowfish_ecb_decrypt() 465 LTC_ARGCHK(ct != NULL); in _blowfish_ecb_decrypt() [all …]
|
/external/dropbear/libtomcrypt/src/ciphers/safer/ |
D | saferp.c | 334 int saferp_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in saferp_ecb_encrypt() argument 340 LTC_ARGCHK(ct != NULL); in saferp_ecb_encrypt() 347 ROUND(b, 0); LT(b, ct); in saferp_ecb_encrypt() 348 ROUND(ct, 2); LT(ct, b); in saferp_ecb_encrypt() 349 ROUND(b, 4); LT(b, ct); in saferp_ecb_encrypt() 350 ROUND(ct, 6); LT(ct, b); in saferp_ecb_encrypt() 351 ROUND(b, 8); LT(b, ct); in saferp_ecb_encrypt() 352 ROUND(ct, 10); LT(ct, b); in saferp_ecb_encrypt() 353 ROUND(b, 12); LT(b, ct); in saferp_ecb_encrypt() 354 ROUND(ct, 14); LT(ct, b); in saferp_ecb_encrypt() [all …]
|
/external/stlport/src/ |
D | time_facets.cpp | 148 void __subformat(_STLP_BASIC_IOSTRING(_Ch) &buf, const ctype<_Ch>& ct, in __subformat() argument 159 __write_formatted_timeT(buf, ct, *cp++, mod, table, t); in __subformat() 174 static void __append(__iowstring &buf, char *first, char *last, const ctype<wchar_t>& ct) { in __append() argument 176 ct.widen(first, last, _wbuf); in __append() 214 const ctype<_Ch>& ct, in __write_formatted_timeT() argument 238 __subformat(buf, ct, (modifier != '#') ? table._M_date_time_format in __write_formatted_timeT() 244 __append(buf, _buf, ((long)t->tm_mday < 10L && modifier == '#') ? _buf + 1 : _buf + 2, ct); in __write_formatted_timeT() 249 __append(buf, _buf, _buf + 2, ct); in __write_formatted_timeT() 254 __append(buf, _buf, ((long)t->tm_hour < 10L && modifier == '#') ? _buf + 1 : _buf + 2, ct); in __write_formatted_timeT() 259 …append(buf, _buf, ((long)__hour12(t->tm_hour) < 10L && modifier == '#') ? _buf + 1 : _buf + 2, ct); in __write_formatted_timeT() [all …]
|
/external/dropbear/libtomcrypt/src/modes/lrw/ |
D | lrw_process.c | 29 int lrw_process(const unsigned char *pt, unsigned char *ct, unsigned long len, int mode, symmetric_… in lrw_process() argument 38 LTC_ARGCHK(ct != NULL); in lrw_process() 78 … *((LTC_FAST_TYPE *)(ct + x)) = *((LTC_FAST_TYPE *)(pt + x)) ^ *((LTC_FAST_TYPE *)(prod + x)); in lrw_process() 82 ct[x] = pt[x] ^ prod[x]; in lrw_process() 88 if ((err = cipher_descriptor[lrw->cipher].ecb_encrypt(ct, ct, &lrw->key)) != CRYPT_OK) { in lrw_process() 92 if ((err = cipher_descriptor[lrw->cipher].ecb_decrypt(ct, ct, &lrw->key)) != CRYPT_OK) { in lrw_process() 100 … *((LTC_FAST_TYPE *)(ct + x)) = *((LTC_FAST_TYPE *)(ct + x)) ^ *((LTC_FAST_TYPE *)(prod + x)); in lrw_process() 104 ct[x] = ct[x] ^ prod[x]; in lrw_process() 110 ct += 16; in lrw_process()
|
/external/chromium/testing/gmock/include/gmock/ |
D | gmock-generated-function-mockers.h | 347 #define GMOCK_METHOD0_(tn, constness, ct, Method, F) \ argument 348 GMOCK_RESULT_(tn, F) ct Method() constness { \ 363 #define GMOCK_METHOD1_(tn, constness, ct, Method, F) \ argument 364 GMOCK_RESULT_(tn, F) ct Method(GMOCK_ARG_(tn, F, 1) gmock_a1) constness { \ 379 #define GMOCK_METHOD2_(tn, constness, ct, Method, F) \ argument 380 GMOCK_RESULT_(tn, F) ct Method(GMOCK_ARG_(tn, F, 1) gmock_a1, \ 397 #define GMOCK_METHOD3_(tn, constness, ct, Method, F) \ argument 398 GMOCK_RESULT_(tn, F) ct Method(GMOCK_ARG_(tn, F, 1) gmock_a1, \ 419 #define GMOCK_METHOD4_(tn, constness, ct, Method, F) \ argument 420 GMOCK_RESULT_(tn, F) ct Method(GMOCK_ARG_(tn, F, 1) gmock_a1, \ [all …]
|
/external/wpa_supplicant_8/src/tls/ |
D | tlsv1_client_read.c | 27 static int tls_process_server_key_exchange(struct tlsv1_client *conn, u8 ct, 29 static int tls_process_certificate_request(struct tlsv1_client *conn, u8 ct, 31 static int tls_process_server_hello_done(struct tlsv1_client *conn, u8 ct, 35 static int tls_process_server_hello(struct tlsv1_client *conn, u8 ct, in tls_process_server_hello() argument 42 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { in tls_process_server_hello() 44 "received content type 0x%x", ct); in tls_process_server_hello() 213 static int tls_process_certificate(struct tlsv1_client *conn, u8 ct, in tls_process_certificate() argument 222 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { in tls_process_certificate() 224 "received content type 0x%x", ct); in tls_process_certificate() 254 return tls_process_server_key_exchange(conn, ct, in_data, in tls_process_certificate() [all …]
|
D | tlsv1_server_read.c | 28 static int tls_process_client_key_exchange(struct tlsv1_server *conn, u8 ct, 31 u8 ct, const u8 *in_data, 35 static int tls_process_client_hello(struct tlsv1_server *conn, u8 ct, in tls_process_client_hello() argument 45 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { in tls_process_client_hello() 47 "received content type 0x%x", ct); in tls_process_client_hello() 267 static int tls_process_certificate(struct tlsv1_server *conn, u8 ct, in tls_process_certificate() argument 276 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { in tls_process_certificate() 278 "received content type 0x%x", ct); in tls_process_certificate() 318 return tls_process_client_key_exchange(conn, ct, in_data, in tls_process_certificate() 670 static int tls_process_client_key_exchange(struct tlsv1_server *conn, u8 ct, in tls_process_client_key_exchange() argument [all …]
|
/external/wpa_supplicant_6/wpa_supplicant/src/tls/ |
D | tlsv1_client_read.c | 27 static int tls_process_server_key_exchange(struct tlsv1_client *conn, u8 ct, 29 static int tls_process_certificate_request(struct tlsv1_client *conn, u8 ct, 31 static int tls_process_server_hello_done(struct tlsv1_client *conn, u8 ct, 35 static int tls_process_server_hello(struct tlsv1_client *conn, u8 ct, in tls_process_server_hello() argument 42 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { in tls_process_server_hello() 44 "received content type 0x%x", ct); in tls_process_server_hello() 213 static int tls_process_certificate(struct tlsv1_client *conn, u8 ct, in tls_process_certificate() argument 222 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { in tls_process_certificate() 224 "received content type 0x%x", ct); in tls_process_certificate() 254 return tls_process_server_key_exchange(conn, ct, in_data, in tls_process_certificate() [all …]
|
D | tlsv1_server_read.c | 28 static int tls_process_client_key_exchange(struct tlsv1_server *conn, u8 ct, 31 u8 ct, const u8 *in_data, 35 static int tls_process_client_hello(struct tlsv1_server *conn, u8 ct, in tls_process_client_hello() argument 45 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { in tls_process_client_hello() 47 "received content type 0x%x", ct); in tls_process_client_hello() 267 static int tls_process_certificate(struct tlsv1_server *conn, u8 ct, in tls_process_certificate() argument 276 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { in tls_process_certificate() 278 "received content type 0x%x", ct); in tls_process_certificate() 318 return tls_process_client_key_exchange(conn, ct, in_data, in tls_process_certificate() 674 static int tls_process_client_key_exchange(struct tlsv1_server *conn, u8 ct, in tls_process_client_key_exchange() argument [all …]
|
/external/stlport/test/unit/ |
D | ctype_facets_test.cpp | 30 ctype<char> const& ct = use_facet<ctype<char> >(loc); in _ctype_facet() local 33 CPPUNIT_ASSERT( ct.is(ctype_base::digit, '0') ); in _ctype_facet() 34 CPPUNIT_ASSERT( ct.is(ctype_base::upper, 'A') ); in _ctype_facet() 35 CPPUNIT_ASSERT( ct.is(ctype_base::lower, 'a') ); in _ctype_facet() 36 CPPUNIT_ASSERT( ct.is(ctype_base::alpha, 'A') ); in _ctype_facet() 37 CPPUNIT_ASSERT( ct.is(ctype_base::space, ' ') ); in _ctype_facet() 38 CPPUNIT_ASSERT( !ct.is(ctype_base::space, '2') ); in _ctype_facet() 39 CPPUNIT_ASSERT( ct.is(ctype_base::punct, '.') ); in _ctype_facet() 40 CPPUNIT_ASSERT( ct.is(ctype_base::xdigit, 'a') ); in _ctype_facet() 47 ct.is(values, values + sizeof(values), res); in _ctype_facet() [all …]
|
/external/openssl/crypto/aes/ |
D | aes_locl.h | 68 # define PUTU32(ct, st) { *((u32 *)(ct)) = SWAP((st)); } argument 71 # define PUTU32(ct, st) { (ct)[0] = (u8)((st) >> 24); (ct)[1] = (u8)((st) >> 16); (ct)[2] = (u8)((s… argument
|
/external/dropbear/libtomcrypt/src/modes/cbc/ |
D | cbc_encrypt.c | 29 int cbc_encrypt(const unsigned char *pt, unsigned char *ct, unsigned long len, symmetric_CBC *cbc) in cbc_encrypt() argument 34 LTC_ARGCHK(ct != NULL); in cbc_encrypt() 56 …return cipher_descriptor[cbc->cipher].accel_cbc_encrypt(pt, ct, len / cbc->blocklen, cbc->IV, &cbc… in cbc_encrypt() 71 … if ((err = cipher_descriptor[cbc->cipher].ecb_encrypt(cbc->IV, ct, &cbc->key)) != CRYPT_OK) { in cbc_encrypt() 78 … *((LTC_FAST_TYPE*)((unsigned char *)cbc->IV + x)) = *((LTC_FAST_TYPE*)((unsigned char *)ct + x)); in cbc_encrypt() 82 cbc->IV[x] = ct[x]; in cbc_encrypt() 86 ct += cbc->blocklen; in cbc_encrypt()
|
D | cbc_decrypt.c | 29 int cbc_decrypt(const unsigned char *ct, unsigned char *pt, unsigned long len, symmetric_CBC *cbc) in cbc_decrypt() argument 40 LTC_ARGCHK(ct != NULL); in cbc_decrypt() 62 …return cipher_descriptor[cbc->cipher].accel_cbc_decrypt(ct, pt, len / cbc->blocklen, cbc->IV, &cbc… in cbc_decrypt() 66 if ((err = cipher_descriptor[cbc->cipher].ecb_decrypt(ct, tmp, &cbc->key)) != CRYPT_OK) { in cbc_decrypt() 74 … *((LTC_FAST_TYPE*)((unsigned char *)cbc->IV + x)) = *((LTC_FAST_TYPE*)((unsigned char *)ct + x)); in cbc_decrypt() 80 cbc->IV[x] = ct[x]; in cbc_decrypt() 85 ct += cbc->blocklen; in cbc_decrypt()
|
/external/dropbear/libtomcrypt/src/encauth/gcm/ |
D | gcm_process.c | 31 unsigned char *ct, in gcm_process() argument 41 LTC_ARGCHK(ct != NULL); in gcm_process() 84 …*((LTC_FAST_TYPE*)(&ct[x + y])) = *((LTC_FAST_TYPE*)(&pt[x+y])) ^ *((LTC_FAST_TYPE*)(&gcm->buf[y])… in gcm_process() 85 *((LTC_FAST_TYPE*)(&gcm->X[y])) ^= *((LTC_FAST_TYPE*)(&ct[x+y])); in gcm_process() 102 *((LTC_FAST_TYPE*)(&gcm->X[y])) ^= *((LTC_FAST_TYPE*)(&ct[x+y])); in gcm_process() 103 …*((LTC_FAST_TYPE*)(&pt[x + y])) = *((LTC_FAST_TYPE*)(&ct[x+y])) ^ *((LTC_FAST_TYPE*)(&gcm->buf[y])… in gcm_process() 137 b = ct[x] = pt[x] ^ gcm->buf[gcm->buflen]; in gcm_process() 139 b = ct[x]; in gcm_process() 140 pt[x] = ct[x] ^ gcm->buf[gcm->buflen]; in gcm_process()
|
/external/dropbear/libtomcrypt/testprof/ |
D | modes_test.c | 6 unsigned char pt[64], ct[64], tmp[64], key[16], iv[16], iv2[16]; in modes_test() local 49 DO(cbc_encrypt(pt, ct, 64, &cbc)); in modes_test() 54 DO(cbc_decrypt(ct, tmp, 64, &cbc)); in modes_test() 72 DO(cfb_encrypt(pt, ct, 64, &cfb)); in modes_test() 77 DO(cfb_decrypt(ct, tmp, 64, &cfb)); in modes_test() 94 DO(ofb_encrypt(pt, ct, 64, &ofb)); in modes_test() 99 DO(ofb_decrypt(ct, tmp, 64, &ofb)); in modes_test()
|