Searched defs:ecb (Results 1 - 9 of 9) sorted by relevance

/external/dropbear/libtomcrypt/src/modes/ecb/
H A Decb_done.c21 @param ecb The ECB chain to terminate
24 int ecb_done(symmetric_ECB *ecb) argument
27 LTC_ARGCHK(ecb != NULL);
29 if ((err = cipher_is_valid(ecb->cipher)) != CRYPT_OK) {
32 cipher_descriptor[ecb->cipher].done(&ecb->key);
40 /* $Source: /cvs/libtom/libtomcrypt/src/modes/ecb/ecb_done.c,v $ */
H A Decb_decrypt.c25 @param ecb ECB state
28 int ecb_decrypt(const unsigned char *ct, unsigned char *pt, unsigned long len, symmetric_ECB *ecb) argument
33 LTC_ARGCHK(ecb != NULL);
34 if ((err = cipher_is_valid(ecb->cipher)) != CRYPT_OK) {
37 if (len % cipher_descriptor[ecb->cipher].block_length) {
42 if (cipher_descriptor[ecb->cipher].accel_ecb_decrypt != 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
[all...]
H A Decb_encrypt.c25 @param ecb ECB state
28 int ecb_encrypt(const unsigned char *pt, unsigned char *ct, unsigned long len, symmetric_ECB *ecb) argument
33 LTC_ARGCHK(ecb != NULL);
34 if ((err = cipher_is_valid(ecb->cipher)) != CRYPT_OK) {
37 if (len % cipher_descriptor[ecb->cipher].block_length) {
42 if (cipher_descriptor[ecb->cipher].accel_ecb_encrypt != 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
[all...]
H A Decb_start.c27 @param ecb The ECB state to initialize
30 int ecb_start(int cipher, const unsigned char *key, int keylen, int num_rounds, symmetric_ECB *ecb) argument
34 LTC_ARGCHK(ecb != NULL);
39 ecb->cipher = cipher;
40 ecb->blocklen = cipher_descriptor[cipher].block_length;
41 return cipher_descriptor[cipher].setup(key, keylen, num_rounds, &ecb->key);
46 /* $Source: /cvs/libtom/libtomcrypt/src/modes/ecb/ecb_start.c,v $ */
/external/llvm/lib/Support/
H A DIntEqClasses.cpp35 unsigned ecb = EC[b]; local
39 while (eca != ecb)
40 if (eca < ecb)
41 EC[b] = eca, b = ecb, ecb = EC[b];
43 EC[a] = ecb, a = eca, eca = EC[a];
/external/clang/test/SemaCXX/
H A Dconvert-to-bool.cpp14 void test_conv_to_bool(ConvToBool ctb, ConvToInt cti, ExplicitConvToBool ecb) { argument
17 if (ecb) { }
20 for (; ecb; ) { }
23 while (ecb) { }
26 do { } while (ecb);
30 if (!ecb) { }
32 bool b1 = !ecb;
33 if (ctb && ecb) { }
34 bool b2 = ctb && ecb;
35 if (ctb || ecb) { }
45 test_explicit_bool(ExplicitConvToBool ecb) argument
[all...]
/external/dropbear/libtomcrypt/testprof/
H A Dx86_prof.c295 symmetric_ECB ecb; local
302 ecb_start(x, key, cipher_descriptor[x].min_key_length, 0, &ecb);
310 #define DO1 ecb_encrypt(pt, pt, sizeof(pt), &ecb);
329 #define DO1 ecb_decrypt(pt, pt, sizeof(pt), &ecb);
345 ecb_done(&ecb);
/external/quake/quake/src/WinQuake/
H A Dnet_ipx.cpp101 ECB ecb; member in struct:__anon12381
171 static void IPX_ListenForPacket(ECB *ecb) argument
176 regs.x.es = ptr2real(ecb) >> 4;
177 regs.x.si = ptr2real(ecb) & 0xf;
203 ECB *ecb; local
208 if (lma->socketbuffer[s][n].ecb.inUse == 0)
210 for (ecb = readlist[s], prev = NULL; ecb; ecb = ecb
449 ECB *ecb; local
[all...]
/external/libnfc-nci/src/nfa/int/
H A Dnfa_ee_int.h376 tNFA_EE_ECB ecb[NFA_EE_NUM_ECBS]; /* control block for DH and NFCEEs */ member in struct:__anon8306

Completed in 949 milliseconds