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

1 2 3 4 5 6 7 8

  /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);
  /hardware/ti/wlan/wl1271/platforms/os/linux/src/
string.c 43 * @ct: Another area of memory
46 int memcmp(const void * cs,const void * ct, unsigned int count)
51 for( su1 = cs, su2 = ct; 0 < count; ++su1, ++su2, count--)
60 * @ct: Another string
62 int strcmp(const char * cs,const char * ct)
67 if ((__res = *cs - *ct++) != 0 || !*cs++)
  /system/wlan/ti/sta_dk_4_0_4_32/pform/linux/src/
string.c 40 * @ct: Another area of memory
43 int memcmp(const void * cs,const void * ct, unsigned int count)
48 for( su1 = cs, su2 = ct; 0 < count; ++su1, ++su2, count--)
57 * @ct: Another string
59 int strcmp(const char * cs,const char * ct)
64 if ((__res = *cs - *ct++) != 0 || !*cs++)
  /system/wlan/ti/wilink_6_1/platforms/os/linux/src/
string.c 43 * @ct: Another area of memory
46 int memcmp(const void * cs,const void * ct, unsigned int count)
51 for( su1 = cs, su2 = ct; 0 < count; ++su1, ++su2, count--)
60 * @ct: Another string
62 int strcmp(const char * cs,const char * ct)
67 if ((__res = *cs - *ct++) != 0 || !*cs++)
  /frameworks/base/libs/rs/
rsShaderCache.cpp 35 for (uint32_t ct=0; ct < mEntryCount; ct++) {
36 glDeleteProgram(mEntries[ct].program);
54 for (uint32_t ct=0; ct < mEntryCount; ct++) {
55 if ((mEntries[ct].vtx == vtx->getShaderID()) &&
56 (mEntries[ct].frag == frag->getShaderID())) {
58 //LOGV("SC using program %i", mEntries[ct].program)
    [all...]
rsVertexArray.cpp 38 for (uint32_t ct=0; ct < RS_MAX_ATTRIBS; ct++) {
39 mAttribs[ct].clear();
122 for (uint32_t ct=0; ct < mCount; ct++) {
123 switch(mAttribs[ct].kind) {
127 glBindBuffer(GL_ARRAY_BUFFER, mAttribs[ct].buffer);
128 glVertexPointer(mAttribs[ct].size
    [all...]
rsElement.cpp 37 for (uint32_t ct = 0; ct < mRSC->mStateElement.mElements.size(); ct++) {
38 if (mRSC->mStateElement.mElements[ct] == this) {
39 mRSC->mStateElement.mElements.removeAt(ct);
60 for (size_t ct=0; ct < mFieldCount; ct++) {
61 total += mFields[ct].e->mBits;
69 for (uint32_t ct = 0; ct < componentNumber; ct++)
    [all...]
rsg_generator.c 26 int ct; local
54 for(ct=0; ct < vt->ptrLevel; ct++) {
66 int ct; local
67 for(ct=0; ct < api->paramCount; ct++) {
68 if (ct || assumePrevious) {
71 printVarType(f, &api->params[ct]);
77 int ct; local
115 int ct; local
125 int ct; local
133 int ct; local
193 int ct; local
    [all...]
rsScriptC.cpp 55 for (int ct=0; ct < MAX_SCRIPT_BANKS; ct++) {
56 if (mProgram.mSlotPointers[ct]) {
57 *mProgram.mSlotPointers[ct] = mSlots[ct]->getPtr();
114 for (uint32_t ct=0; ct < MAX_SCRIPT_BANKS; ct++) {
115 mConstantBufferTypes[ct].clear()
    [all...]
rsSimpleMesh.cpp 61 for (uint32_t ct=0; ct < mVertexTypeCount; ct++) {
62 mVertexBuffers[ct]->uploadCheck(rsc);
63 va.setActiveBuffer(mVertexBuffers[ct]->getBufferObjectID());
64 mVertexTypes[ct]->enableGLVertexBuffer2(&va);
68 for (uint32_t ct=0; ct < mVertexTypeCount; ct++) {
69 mVertexBuffers[ct]->uploadCheck(rsc)
    [all...]
rsProgramFragment.cpp 77 for (uint32_t ct=0; ct < MAX_TEXTURE; ct++) {
78 glActiveTexture(GL_TEXTURE0 + ct);
79 if (!(mTextureEnableMask & (1 << ct)) || !mTextures[ct].get()) {
93 mTextures[ct]->uploadCheck(rsc);
94 glBindTexture(GL_TEXTURE_2D, mTextures[ct]->getTextureID());
96 switch(mEnvModes[ct]) {
111 if (mSamplers[ct].get())
    [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); }
  /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;
  /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;
  /frameworks/base/graphics/java/android/renderscript/
Script.java 121 for(int ct=0; ct < mTypes.length; ct++) {
122 if(mTypes[ct] != null) {
123 mRS.nScriptSetType(mTypes[ct].mID, mWritable[ct], mNames[ct], ct);
126 for(int ct=0; ct < mInvokableCount; ct++)
    [all...]
Type.java 124 for(int ct=0; ct < fields.length; ct++) {
125 Field f = fields[ct];
128 arTypes[ct] = Element.DataType.SIGNED_32.mID;
129 arBits[ct] = 32;
131 arTypes[ct] = Element.DataType.SIGNED_16.mID;
132 arBits[ct] = 16;
134 arTypes[ct] = Element.DataType.SIGNED_8.mID;
135 arBits[ct] = 8
    [all...]

Completed in 249 milliseconds

1 2 3 4 5 6 7 8