/external/dropbear/libtomcrypt/src/encauth/eax/ |
eax_decrypt.c | 23 @param ct The ciphertext 28 int eax_decrypt(eax_state *eax, const unsigned char *ct, unsigned char *pt, 35 LTC_ARGCHK(ct != NULL); 38 if ((err = omac_process(&eax->ctomac, ct, length)) != CRYPT_OK) { 43 return ctr_decrypt(ct, pt, length, &eax->ctr);
|
eax_encrypt.c | 24 @param ct [out] The ciphertext as encrypted 28 int eax_encrypt(eax_state *eax, const unsigned char *pt, unsigned char *ct, 35 LTC_ARGCHK(ct != NULL); 38 if ((err = ctr_encrypt(pt, ct, length, &eax->ctr)) != CRYPT_OK) { 43 return omac_process(&eax->ctomac, ct, length);
|
/frameworks/base/libs/rs/driver/ |
rsdShaderCache.cpp | 45 for (uint32_t ct=0; ct < prog->getUniformCount(); ct++) { 46 if (data[ct].slot >= 0 && data[ct].arraySize > 1) { 49 if (prog->getUniformName(ct) == uniformList[ui]->name) { 50 data[ct].arraySize = (uint32_t)uniformList[ui]->arraySize; 58 prog->getUniformName(ct).string(), data[ct].slot, data[ct].arraySize) [all...] |
rsdVertexArray.cpp | 91 for (uint32_t ct=1; ct < maxAttrs; ct++) { 92 if(state->mAttrsEnabled[ct]) { 93 glDisableVertexAttribArray(ct); 94 state->mAttrsEnabled[ct] = false; 99 for (uint32_t ct=0; ct < mCount; ct++) { 100 int32_t slot = sc->vtxAttribSlot(mAttribs[ct].name) [all...] |
rsdShader.cpp | 71 for (uint32_t ct=0; ct < mRSProgram->mHal.state.inputElementsCount; ct++) { 72 initAddUserElement(mRSProgram->mHal.state.inputElements[ct], mAttribNames, NULL, &attribCount, RS_SHADER_ATTR); 74 for (uint32_t ct=0; ct < mRSProgram->mHal.state.constantsCount; ct++) { 75 initAddUserElement(mRSProgram->mHal.state.constantTypes[ct]->getElement(), mUniformNames, mUniformArraySizes, &uniformCount, RS_SHADER_UNI); 80 for (uint32_t ct=0; ct < mRSProgram->mHal.state.texturesCount; ct++) [all...] |
rsdMeshObj.cpp | 82 for (uint32_t ct=0; ct < mRSMesh->mHal.state.vertexBuffersCount; ct++) { 83 const Element *elem = mRSMesh->mHal.state.vertexBuffers[ct]->getType()->getElement(); 84 for (uint32_t ct=0; ct < elem->getFieldCount(); ct++) { 85 if (isValidGLComponent(elem, ct)) { 105 for (uint32_t ct=0; ct < mRSMesh->mHal.state.vertexBuffersCount; ct++) [all...] |
/external/dropbear/libtomcrypt/src/encauth/ocb/ |
ocb_done_encrypt.c | 25 @param ct [out] The ciphertext (if any) 31 unsigned char *ct, unsigned char *tag, unsigned long *taglen) 35 LTC_ARGCHK(ct != NULL); 38 return s_ocb_done(ocb, pt, ptlen, ct, tag, taglen, 0);
|
/external/dropbear/libtomcrypt/src/modes/ctr/ |
ctr_decrypt.c | 22 @param ct Ciphertext 28 int ctr_decrypt(const unsigned char *ct, unsigned char *pt, unsigned long len, symmetric_CTR *ctr) 31 LTC_ARGCHK(ct != NULL); 34 return ctr_encrypt(ct, pt, len, ctr);
|
/external/dropbear/libtomcrypt/src/modes/f8/ |
f8_decrypt.c | 22 @param ct Ciphertext 28 int f8_decrypt(const unsigned char *ct, unsigned char *pt, unsigned long len, symmetric_F8 *f8) 31 LTC_ARGCHK(ct != NULL); 33 return f8_encrypt(ct, pt, len, f8);
|
/external/dropbear/libtomcrypt/src/modes/ofb/ |
ofb_decrypt.c | 22 @param ct Ciphertext 28 int ofb_decrypt(const unsigned char *ct, unsigned char *pt, unsigned long len, symmetric_OFB *ofb) 31 LTC_ARGCHK(ct != NULL); 33 return ofb_encrypt(ct, pt, len, ofb);
|
/external/openssl/crypto/aes/ |
aes_locl.h | 68 # define PUTU32(ct, st) { *((u32 *)(ct)) = SWAP((st)); } 71 # define PUTU32(ct, st) { (ct)[0] = (u8)((st) >> 24); (ct)[1] = (u8)((st) >> 16); (ct)[2] = (u8)((st) >> 8); (ct)[3] = (u8)(st); }
|
/frameworks/base/libs/rs/ |
rsElement.cpp | 36 for (uint32_t ct = 0; ct < mRSC->mStateElement.mElements.size(); ct++) { 37 if (mRSC->mStateElement.mElements[ct] == this) { 38 mRSC->mStateElement.mElements.removeAt(ct); 57 for (size_t ct=0; ct < mFieldCount; ct++) { 58 total += mFields[ct].e->mBits * mFields[ct].arraySize [all...] |
rsg_generator.c | 24 int ct; local 52 for (ct=0; ct < vt->ptrLevel; ct++) { 67 int ct; local 68 for (ct=0; ct < api->paramCount; ct++) { 69 if (ct || assumePrevious) { 72 printVarTypeAndName(f, &api->params[ct]); 77 int ct; local 126 int ct; local 137 int ct; local 147 int ct; local 159 int ct; local 184 int ct; local 422 int ct; local [all...] |
rsProgram.cpp | 28 for (uint32_t ct=0; ct < paramLength; ct+=2) { 29 if (params[ct] == RS_PROGRAM_PARAM_INPUT) { 32 if (params[ct] == RS_PROGRAM_PARAM_CONSTANT) { 35 if (params[ct] == RS_PROGRAM_PARAM_TEXTURE_TYPE) { 59 for (uint32_t ct=0; ct < paramLength; ct+=2) { 60 if (params[ct] == RS_PROGRAM_PARAM_INPUT) [all...] |
/external/dropbear/libtomcrypt/src/modes/lrw/ |
lrw_decrypt.c | 22 @param ct The ciphertext 27 int lrw_decrypt(const unsigned char *ct, unsigned char *pt, unsigned long len, symmetric_LRW *lrw) 32 LTC_ARGCHK(ct != NULL); 40 return cipher_descriptor[lrw->cipher].accel_lrw_decrypt(ct, pt, len, lrw->IV, lrw->tweak, &lrw->key); 43 return lrw_process(ct, pt, len, LRW_DECRYPT, lrw);
|
lrw_encrypt.c | 23 @param ct [out] The ciphertext 27 int lrw_encrypt(const unsigned char *pt, unsigned char *ct, unsigned long len, symmetric_LRW *lrw) 32 LTC_ARGCHK(ct != NULL); 40 return cipher_descriptor[lrw->cipher].accel_lrw_encrypt(pt, ct, len, lrw->IV, lrw->tweak, &lrw->key); 43 return lrw_process(pt, ct, len, LRW_ENCRYPT, lrw);
|
lrw_process.c | 23 @param ct [out] The "output" data 29 int lrw_process(const unsigned char *pt, unsigned char *ct, unsigned long len, int mode, symmetric_LRW *lrw) 38 LTC_ARGCHK(ct != NULL); 78 *((LTC_FAST_TYPE *)(ct + x)) = *((LTC_FAST_TYPE *)(pt + x)) ^ *((LTC_FAST_TYPE *)(prod + x)); 82 ct[x] = pt[x] ^ prod[x]; 88 if ((err = cipher_descriptor[lrw->cipher].ecb_encrypt(ct, ct, &lrw->key)) != CRYPT_OK) { 92 if ((err = cipher_descriptor[lrw->cipher].ecb_decrypt(ct, ct, &lrw->key)) != CRYPT_OK) { 100 *((LTC_FAST_TYPE *)(ct + x)) = *((LTC_FAST_TYPE *)(ct + x)) ^ *((LTC_FAST_TYPE *)(prod + x)) [all...] |
/external/dropbear/libtomcrypt/src/modes/cfb/ |
cfb_decrypt.c | 22 @param ct Ciphertext 28 int cfb_decrypt(const unsigned char *ct, unsigned char *pt, unsigned long len, symmetric_CFB *cfb) 33 LTC_ARGCHK(ct != NULL); 53 cfb->pad[cfb->padlen] = *ct; 54 *pt = *ct ^ cfb->IV[cfb->padlen]; 56 ++ct;
|
cfb_encrypt.c | 23 @param ct [out] Ciphertext 28 int cfb_encrypt(const unsigned char *pt, unsigned char *ct, unsigned long len, symmetric_CFB *cfb) 33 LTC_ARGCHK(ct != NULL); 53 cfb->pad[cfb->padlen] = (*ct = *pt ^ cfb->IV[cfb->padlen]); 55 ++ct;
|
/external/dropbear/libtomcrypt/src/modes/ecb/ |
ecb_decrypt.c | 22 @param ct Ciphertext 28 int ecb_decrypt(const unsigned char *ct, unsigned char *pt, unsigned long len, symmetric_ECB *ecb) 32 LTC_ARGCHK(ct != NULL); 43 return cipher_descriptor[ecb->cipher].accel_ecb_decrypt(ct, pt, len / cipher_descriptor[ecb->cipher].block_length, &ecb->key); 46 if ((err = cipher_descriptor[ecb->cipher].ecb_decrypt(ct, pt, &ecb->key)) != CRYPT_OK) { 50 ct += cipher_descriptor[ecb->cipher].block_length;
|
ecb_encrypt.c | 23 @param ct [out] Ciphertext 28 int ecb_encrypt(const unsigned char *pt, unsigned char *ct, unsigned long len, symmetric_ECB *ecb) 32 LTC_ARGCHK(ct != NULL); 43 return cipher_descriptor[ecb->cipher].accel_ecb_encrypt(pt, ct, len / cipher_descriptor[ecb->cipher].block_length, &ecb->key); 46 if ((err = cipher_descriptor[ecb->cipher].ecb_encrypt(pt, ct, &ecb->key)) != CRYPT_OK) { 50 ct += cipher_descriptor[ecb->cipher].block_length;
|
/external/kernel-headers/original/linux/netfilter_ipv4/ |
ip_conntrack.h | 202 ip_conntrack_put(struct ip_conntrack *ct) 204 IP_NF_ASSERT(ct); 205 nf_conntrack_put(&ct->ct_general); 211 extern void __ip_ct_refresh_acct(struct ip_conntrack *ct, 218 static inline void ip_ct_refresh_acct(struct ip_conntrack *ct, 223 __ip_ct_refresh_acct(ct, ctinfo, skb, extra_jiffies, 1); 227 static inline void ip_ct_refresh(struct ip_conntrack *ct, 231 __ip_ct_refresh_acct(ct, 0, skb, extra_jiffies, 0); 267 extern void ip_ct_remove_expectations(struct ip_conntrack *ct); 272 extern void ip_conntrack_free(struct ip_conntrack *ct); 309 struct ip_conntrack *ct; member in struct:ip_conntrack_ecache 349 struct ip_conntrack *ct = (struct ip_conntrack *)skb->nfct; local [all...] |
/external/iptables/extensions/ |
libxt_u32.c | 45 const struct xt_u32_test *ct; local 50 ct = &data->tests[testind]; 55 printf("0x%x", ct->location[0].number); 56 for (i = 1; i < ct->nnums; ++i) { 57 switch (ct->location[i].nextop) { 71 printf("0x%x", ct->location[i].number); 75 for (i = 0; i < ct->nvalues; ++i) { 78 if (ct->value[i].min == ct->value[i].max) 79 printf("0x%x", ct->value[i].min) 110 struct xt_u32_test *ct = &data->tests[testind]; \/* current test *\/ local [all...] |
/external/iptables/include/linux/netfilter/ |
xt_CT.h | 14 struct nf_conn *ct __attribute__((aligned(8))); member in struct:xt_ct_target_info
|
/external/dropbear/libtomcrypt/src/headers/ |
tomcrypt_cipher.h | 341 @param ct [out] The ciphertext 345 int (*ecb_encrypt)(const unsigned char *pt, unsigned char *ct, symmetric_key *skey); 347 @param ct The ciphertext 352 int (*ecb_decrypt)(const unsigned char *ct, unsigned char *pt, symmetric_key *skey); 372 @param ct Ciphertext 377 int (*accel_ecb_encrypt)(const unsigned char *pt, unsigned char *ct, unsigned long blocks, symmetric_key *skey); 381 @param ct Ciphertext 386 int (*accel_ecb_decrypt)(const unsigned char *ct, unsigned char *pt, unsigned long blocks, symmetric_key *skey); 390 @param ct Ciphertext 396 int (*accel_cbc_encrypt)(const unsigned char *pt, unsigned char *ct, unsigned long blocks, unsigned char *IV, symmetric_key *skey) [all...] |