/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/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/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/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 | 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 …]
|
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 | 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 | xtea.c | 76 int xtea_ecb_encrypt(const unsigned char *pt, unsigned char *ct, symmetric_key *skey) in xtea_ecb_encrypt() argument 82 LTC_ARGCHK(ct != NULL); in xtea_ecb_encrypt() 100 STORE32L(y, &ct[0]); in xtea_ecb_encrypt() 101 STORE32L(z, &ct[4]); in xtea_ecb_encrypt() 112 int xtea_ecb_decrypt(const unsigned char *ct, unsigned char *pt, symmetric_key *skey) in xtea_ecb_decrypt() argument 118 LTC_ARGCHK(ct != NULL); in xtea_ecb_decrypt() 121 LOAD32L(y, &ct[0]); in xtea_ecb_decrypt() 122 LOAD32L(z, &ct[4]); in xtea_ecb_decrypt() 155 static const unsigned char ct[8] = in xtea_test() 167 if (XMEMCMP(tmp[0], ct, 8) != 0 || XMEMCMP(tmp[1], pt, 8) != 0) { in xtea_test()
|
/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/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/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/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/qemu/tcg/x86_64/ |
D | tcg-target.c | 113 static int target_parse_constraint(TCGArgConstraint *ct, const char **pct_str) in target_parse_constraint() argument 120 ct->ct |= TCG_CT_REG; in target_parse_constraint() 121 tcg_regset_set_reg(ct->u.regs, TCG_REG_RAX); in target_parse_constraint() 124 ct->ct |= TCG_CT_REG; in target_parse_constraint() 125 tcg_regset_set_reg(ct->u.regs, TCG_REG_RBX); in target_parse_constraint() 128 ct->ct |= TCG_CT_REG; in target_parse_constraint() 129 tcg_regset_set_reg(ct->u.regs, TCG_REG_RCX); in target_parse_constraint() 132 ct->ct |= TCG_CT_REG; in target_parse_constraint() 133 tcg_regset_set_reg(ct->u.regs, TCG_REG_RDX); in target_parse_constraint() 136 ct->ct |= TCG_CT_REG; in target_parse_constraint() [all …]
|
/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/src/modes/cbc/ |
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()
|
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()
|
/external/wpa_supplicant/ |
D | aes.c | 855 #define PUTU32(ct, st) { *((u32 *)(ct)) = SWAP((st)); } argument 859 #define PUTU32(ct, st) { \ argument 860 (ct)[0] = (u8)((st) >> 24); (ct)[1] = (u8)((st) >> 16); \ 861 (ct)[2] = (u8)((st) >> 8); (ct)[3] = (u8)(st); } 922 void rijndaelEncrypt(const u32 rk[/*44*/], const u8 pt[16], u8 ct[16]) in rijndaelEncrypt() 980 PUTU32(ct , s0); in rijndaelEncrypt() 982 PUTU32(ct + 4, s1); in rijndaelEncrypt() 984 PUTU32(ct + 8, s2); in rijndaelEncrypt() 986 PUTU32(ct + 12, s3); in rijndaelEncrypt() 989 void rijndaelDecrypt(const u32 rk[/*44*/], const u8 ct[16], u8 pt[16]) in rijndaelDecrypt() [all …]
|
/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()
|
/external/qemu/tcg/i386/ |
D | tcg-target.c | 86 static int target_parse_constraint(TCGArgConstraint *ct, const char **pct_str) in target_parse_constraint() argument 93 ct->ct |= TCG_CT_REG; in target_parse_constraint() 94 tcg_regset_set_reg(ct->u.regs, TCG_REG_EAX); in target_parse_constraint() 97 ct->ct |= TCG_CT_REG; in target_parse_constraint() 98 tcg_regset_set_reg(ct->u.regs, TCG_REG_EBX); in target_parse_constraint() 101 ct->ct |= TCG_CT_REG; in target_parse_constraint() 102 tcg_regset_set_reg(ct->u.regs, TCG_REG_ECX); in target_parse_constraint() 105 ct->ct |= TCG_CT_REG; in target_parse_constraint() 106 tcg_regset_set_reg(ct->u.regs, TCG_REG_EDX); in target_parse_constraint() 109 ct->ct |= TCG_CT_REG; in target_parse_constraint() [all …]
|