/optee_os/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_macros.h | 69 (x) = __builtin_bswap32 ((x)); } while(0) 108 (x) = __builtin_bswap64 ((x)); } while(0) 168 do { XMEMCPY(&(x), y, 4); x &= 0xFFFFFFFF; } while(0) 239 #define BSWAP(x) ( ((x>>24)&0x000000FFUL) | ((x<<24)&0xFF000000UL) | \ argument 250 #define ROR(x,n) _lrotr(x,n) argument 251 #define ROL(x,n) _lrotl(x,n) argument 252 #define RORc(x,n) _lrotr(x,n) argument 253 #define ROLc(x,n) _lrotl(x,n) argument 422 #define MAX(x, y) ( ((x)>(y))?(x):(y) ) argument 426 #define MIN(x, y) ( ((x)<(y))?(x):(y) ) argument [all …]
|
A D | tomcrypt_argchk.h | 20 #define LTC_ARGCHK(x) do { if (!(x)) { crypt_argchk(#x, __FILE__, __LINE__); } }while(0) argument 21 #define LTC_ARGCHKVD(x) do { if (!(x)) { crypt_argchk(#x, __FILE__, __LINE__); } }while(0) argument 26 #define LTC_ARGCHK(x) assert((x)) argument 27 #define LTC_ARGCHKVD(x) LTC_ARGCHK(x) argument 31 #define LTC_ARGCHK(x) if (!(x)) { fprintf(stderr, "\nwarning: ARGCHK failed at %s:%d\n", __FILE__, … argument 32 #define LTC_ARGCHKVD(x) LTC_ARGCHK(x) argument 36 #define LTC_ARGCHK(x) LTC_UNUSED_PARAM(x) argument 37 #define LTC_ARGCHKVD(x) LTC_ARGCHK(x) argument 41 #define LTC_ARGCHK(x) if (!(x)) return CRYPT_INVALID_ARG; argument 42 #define LTC_ARGCHKVD(x) if (!(x)) return; argument
|
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/general/ |
A D | der_encode_asn1_length.c | 27 unsigned long x, y; in der_encode_asn1_length() local 31 x = len; in der_encode_asn1_length() 34 while(x != 0) { in der_encode_asn1_length() 36 x >>= 8; in der_encode_asn1_length() 44 x = y; in der_encode_asn1_length() 46 x = y + 1; in der_encode_asn1_length() 52 x = 0; in der_encode_asn1_length() 56 out[x++] = 0x81; in der_encode_asn1_length() 59 out[x++] = 0x82; in der_encode_asn1_length() 63 out[x++] = 0x83; in der_encode_asn1_length() [all …]
|
/optee_os/core/lib/libtomcrypt/src/encauth/ccm/ |
A D | ccm_test.c | 131 for (x = 0; x < (sizeof(tests)/sizeof(tests[0])); x++) { in ccm_test() 142 tests[x].nonce, tests[x].noncelen, in ccm_test() 161 …if ((err = ccm_init(&ccm, idx, tests[x].key, 16, tests[x].ptlen, tests[x].taglen, tests[x].headerl… in ccm_test() 178 … if (compare_testvector(buf, tests[x].ptlen, tests[x].ct, tests[x].ptlen, "CCM encrypt data", x)) { in ccm_test() 181 if (compare_testvector(tag, taglen, tests[x].tag, tests[x].taglen, "CCM encrypt tag", x)) { in ccm_test() 186 XMEMCPY(tag3, tests[x].tag, tests[x].taglen); in ccm_test() 199 …if ((err = ccm_init(&ccm, idx, tests[x].key, 16, tests[x].ptlen, tests[x].taglen, tests[x].headerl… in ccm_test() 217 …if (compare_testvector(buf2, tests[x].ptlen, tests[x].pt, tests[x].ptlen, "CCM decrypt data", x)) { in ccm_test() 222 XMEMCPY(tag3, tests[x].tag, tests[x].taglen); in ccm_test() 235 … if (compare_testvector(buf2, tests[x].ptlen, zero, tests[x].ptlen, "CCM decrypt wrong tag", x)) { in ccm_test() [all …]
|
/optee_os/core/lib/libtomcrypt/src/modes/lrw/ |
A D | lrw_process.c | 49 for (x = 15; x >= 0; x--) { in lrw_process() 50 lrw->IV[x] = (lrw->IV[x] + 1) & 255; in lrw_process() 59 for (; x < 16; x++) { in lrw_process() 66 lrw->pad[y] ^= lrw->PC[x][lrw->IV[x]][y] ^ lrw->PC[x][(lrw->IV[x]-1)&255][y]; in lrw_process() 76 for (x = 0; x < 16; x += sizeof(LTC_FAST_TYPE)) { in lrw_process() 77 …*(LTC_FAST_TYPE_PTR_CAST(ct + x)) = *(LTC_FAST_TYPE_PTR_CAST(pt + x)) ^ *(LTC_FAST_TYPE_PTR_CAST(p… in lrw_process() 80 for (x = 0; x < 16; x++) { in lrw_process() 81 ct[x] = pt[x] ^ prod[x]; in lrw_process() 98 for (x = 0; x < 16; x += sizeof(LTC_FAST_TYPE)) { in lrw_process() 102 for (x = 0; x < 16; x++) { in lrw_process() [all …]
|
/optee_os/core/lib/libtomcrypt/src/ciphers/aes/ |
A D | aes_tab.c | 307 #define Te0(x) TE0[x] argument 308 #define Te1(x) RORc(TE0[x], 8) argument 312 #define Td0(x) TD0[x] argument 324 #define Te0(x) TE0[x] argument 325 #define Te1(x) TE1[x] argument 326 #define Te2(x) TE2[x] argument 327 #define Te3(x) TE3[x] argument 329 #define Td0(x) TD0[x] argument 330 #define Td1(x) TD1[x] argument 331 #define Td2(x) TD2[x] argument [all …]
|
/optee_os/core/lib/libfdt/include/ |
A D | libfdt_env.h | 29 #define EXTRACT_BYTE(x, n) ((unsigned long long)((uint8_t *)&x)[n]) argument 30 #define CPU_TO_FDT16(x) ((EXTRACT_BYTE(x, 0) << 8) | EXTRACT_BYTE(x, 1)) argument 31 #define CPU_TO_FDT32(x) ((EXTRACT_BYTE(x, 0) << 24) | (EXTRACT_BYTE(x, 1) << 16) | \ argument 32 (EXTRACT_BYTE(x, 2) << 8) | EXTRACT_BYTE(x, 3)) 33 #define CPU_TO_FDT64(x) ((EXTRACT_BYTE(x, 0) << 56) | (EXTRACT_BYTE(x, 1) << 48) | \ argument 34 (EXTRACT_BYTE(x, 2) << 40) | (EXTRACT_BYTE(x, 3) << 32) | \ 35 (EXTRACT_BYTE(x, 4) << 24) | (EXTRACT_BYTE(x, 5) << 16) | \ 36 (EXTRACT_BYTE(x, 6) << 8) | EXTRACT_BYTE(x, 7)) 44 return (FDT_FORCE fdt16_t)CPU_TO_FDT16(x); in cpu_to_fdt16() 53 return (FDT_FORCE fdt32_t)CPU_TO_FDT32(x); in cpu_to_fdt32() [all …]
|
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/generalizedtime/ |
A D | der_decode_generalizedtime.c | 22 switch (x) { in _char_to_int() 38 y = _char_to_int(buf[x])*10 + _char_to_int(buf[x+1]); \ 40 x += 2; \ 44 …y = _char_to_int(buf[x])*1000 + _char_to_int(buf[x+1])*100 + _char_to_int(buf[x+2])*10 + _char_to… 46 x += 4; \ 73 for (x = 0; x < in[1]; x++) { in der_decode_generalizedtime() 102 x = 0; in der_decode_generalizedtime() 118 x++; in der_decode_generalizedtime() 119 while (buf[x] >= '0' && buf[x] <= '9') { in der_decode_generalizedtime() 125 x++; in der_decode_generalizedtime() [all …]
|
/optee_os/core/lib/libtomcrypt/src/encauth/ocb/ |
A D | s_ocb_done.c | 81 for (x = 0; x < ocb->block_len; x++) { in s_ocb_done() 82 X[x] ^= ocb->Lr[x]; in s_ocb_done() 93 for (x = 0; x < (int)ptlen; x++) { in s_ocb_done() 94 ocb->checksum[x] ^= ct[x]; in s_ocb_done() 99 for (x = 0; x < (int)ptlen; x++) { in s_ocb_done() 100 ct[x] = pt[x] ^ Y[x]; in s_ocb_done() 106 for (x = 0; x < (int)ptlen; x++) { in s_ocb_done() 112 for (x = 0; x < ocb->block_len; x++) { in s_ocb_done() 113 ocb->checksum[x] ^= Y[x] ^ Z[x]; in s_ocb_done() 123 for (x = 0; x < ocb->block_len && x < (int)*taglen; x++) { in s_ocb_done() [all …]
|
A D | ocb_init.c | 49 int poly, x, y, m, err; in ocb_init() local 68 if (poly == x) { in ocb_init() 87 for (x = 0; x < ocb->block_len; x++) { in ocb_init() 88 ocb->R[x] = ocb->L[x] ^ nonce[x]; in ocb_init() 96 for (x = 1; x < 32; x++) { in ocb_init() 99 ocb->Ls[x][y] = ((ocb->Ls[x-1][y] << 1) | (ocb->Ls[x-1][y+1] >> 7)) & 255; in ocb_init() 101 ocb->Ls[x][ocb->block_len-1] = (ocb->Ls[x-1][ocb->block_len-1] << 1) & 255; in ocb_init() 114 for (x = ocb->block_len - 1; x > 0; x--) { in ocb_init() 115 ocb->Lr[x] = ((ocb->L[x] >> 1) | (ocb->L[x-1] << 7)) & 255; in ocb_init() 120 for (x = 0; x < ocb->block_len; x++) { in ocb_init() [all …]
|
A D | ocb_test.c | 166 int err, x, idx, res; in ocb_test() 177 for (x = 0; x < (int)(sizeof(tests)/sizeof(tests[0])); x++) { in ocb_test() 179 if ((err = ocb_encrypt_authenticate_memory(idx, tests[x].key, 16, in ocb_test() 180 tests[x].nonce, tests[x].pt, tests[x].ptlen, outct, outtag, &len)) != CRYPT_OK) { in ocb_test() 184 if (compare_testvector(outtag, len, tests[x].tag, sizeof(tests[x].tag), "OCB Tag", x) || in ocb_test() 185 compare_testvector(outct, tests[x].ptlen, tests[x].ct, tests[x].ptlen, "OCB CT", x)) { in ocb_test() 189 … if ((err = ocb_decrypt_verify_memory(idx, tests[x].key, 16, tests[x].nonce, outct, tests[x].ptlen, in ocb_test() 190 outct, tests[x].tag, len, &res)) != CRYPT_OK) { in ocb_test() 193 …if ((res != 1) || compare_testvector(outct, tests[x].ptlen, tests[x].pt, tests[x].ptlen, "OCB", x)… in ocb_test()
|
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/set/ |
A D | der_encode_setof.c | 28 unsigned long x; in _qsort_helper() local 35 for (x = B->size; x < A->size; x++) { in _qsort_helper() 41 for (x = A->size; x < B->size; x++) { in _qsort_helper() 70 for (x = 1; x < inlen; x++) { in der_encode_setof() 71 if (list[x].type != list[x-1].type) { in der_encode_setof() 99 x = *ptr++; in der_encode_setof() 100 if (x >= 0x80) { in der_encode_setof() 109 x = 0; in der_encode_setof() 132 ++x; in der_encode_setof() 142 for (y = (unsigned long)hdrlen, x = 0; x < inlen; x++) { in der_encode_setof() [all …]
|
/optee_os/core/lib/libtomcrypt/src/encauth/eax/ |
A D | eax_test.c | 215 int err, x, idx, res; in eax_test() 226 for (x = 0; x < (int)(sizeof(tests)/sizeof(tests[0])); x++) { in eax_test() 228 if ((err = eax_encrypt_authenticate_memory(idx, tests[x].key, tests[x].keylen, in eax_test() 229 tests[x].nonce, tests[x].noncelen, tests[x].header, tests[x].headerlen, in eax_test() 230 tests[x].plaintext, tests[x].msglen, outct, outtag, &len)) != CRYPT_OK) { in eax_test() 233 if (compare_testvector(outtag, len, tests[x].tag, len, "EAX Tag", x) || in eax_test() 234 … compare_testvector(outct, tests[x].msglen, tests[x].ciphertext, tests[x].msglen, "EAX CT", x)) { in eax_test() 239 if ((err = eax_decrypt_verify_memory(idx, tests[x].key, tests[x].keylen, in eax_test() 240 tests[x].nonce, tests[x].noncelen, tests[x].header, tests[x].headerlen, in eax_test() 241 outct, tests[x].msglen, outct, outtag, len, &res)) != CRYPT_OK) { in eax_test() [all …]
|
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/utf8/ |
A D | der_encode_utf8_string.c | 31 unsigned long x, y, len; in der_encode_utf8_string() local 39 for (x = len = 0; x < inlen; x++) { in der_encode_utf8_string() 46 x += len + 1; in der_encode_utf8_string() 49 if (x > *outlen) { in der_encode_utf8_string() 50 *outlen = x; in der_encode_utf8_string() 55 x = 0; in der_encode_utf8_string() 56 out[x++] = 0x0C; in der_encode_utf8_string() 58 y = *outlen - x; in der_encode_utf8_string() 62 x += y; in der_encode_utf8_string() 71 …case 4: out[x++] = 0xF0 | ((in[y] >> 18) & 0x07); out[x++] = 0x80 | ((in[y] >> 12) & 0x3F); out[x+… in der_encode_utf8_string() [all …]
|
/optee_os/core/lib/libtomcrypt/src/stream/salsa20/ |
A D | xsalsa20_setup.c | 25 x[b] ^= (ROL((x[a] + x[d]), 7)); \ 26 x[c] ^= (ROL((x[b] + x[a]), 9)); \ 27 x[d] ^= (ROL((x[c] + x[b]), 13)); \ 28 x[a] ^= (ROL((x[d] + x[c]), 18)); 83 LOAD32L(x[ 1], key + 0); in xsalsa20_setup() 84 LOAD32L(x[ 2], key + 4); in xsalsa20_setup() 85 LOAD32L(x[ 3], key + 8); in xsalsa20_setup() 86 LOAD32L(x[ 4], key + 12); in xsalsa20_setup() 87 LOAD32L(x[11], key + 16); in xsalsa20_setup() 88 LOAD32L(x[12], key + 20); in xsalsa20_setup() [all …]
|
/optee_os/core/lib/libtomcrypt/src/ciphers/ |
A D | cast5.c | 442 … z[3] = x[3] ^ S5[GB(x, 0xD)] ^ S6[GB(x, 0xF)] ^ S7[GB(x, 0xC)] ^ S8[GB(x, 0xE)] ^ S7[GB(x, 0x8)]; in _cast5_setup() 452 … x[2] = z[3] ^ S5[GB(x, 0x0)] ^ S6[GB(x, 0x2)] ^ S7[GB(x, 0x1)] ^ S8[GB(x, 0x3)] ^ S8[GB(z, 0x2)]; in _cast5_setup() 453 … x[1] = z[2] ^ S5[GB(x, 0x7)] ^ S6[GB(x, 0x6)] ^ S7[GB(x, 0x5)] ^ S8[GB(x, 0x4)] ^ S5[GB(z, 0x1)]; in _cast5_setup() 454 … x[0] = z[0] ^ S5[GB(x, 0xA)] ^ S6[GB(x, 0x9)] ^ S7[GB(x, 0xb)] ^ S8[GB(x, 0x8)] ^ S6[GB(z, 0x3)]; in _cast5_setup() 455 …skey->cast5.K[i++] = S5[GB(x, 0x3)] ^ S6[GB(x, 0x2)] ^ S7[GB(x, 0xc)] ^ S8[GB(x, 0xd)] ^ S5[GB(x, … in _cast5_setup() 456 …skey->cast5.K[i++] = S5[GB(x, 0x1)] ^ S6[GB(x, 0x0)] ^ S7[GB(x, 0xe)] ^ S8[GB(x, 0xf)] ^ S6[GB(x, … in _cast5_setup() 461 … z[3] = x[3] ^ S5[GB(x, 0xD)] ^ S6[GB(x, 0xF)] ^ S7[GB(x, 0xC)] ^ S8[GB(x, 0xE)] ^ S7[GB(x, 0x8)]; in _cast5_setup() 471 … x[2] = z[3] ^ S5[GB(x, 0x0)] ^ S6[GB(x, 0x2)] ^ S7[GB(x, 0x1)] ^ S8[GB(x, 0x3)] ^ S8[GB(z, 0x2)]; in _cast5_setup() 472 … x[1] = z[2] ^ S5[GB(x, 0x7)] ^ S6[GB(x, 0x6)] ^ S7[GB(x, 0x5)] ^ S8[GB(x, 0x4)] ^ S5[GB(z, 0x1)]; in _cast5_setup() 473 … x[0] = z[0] ^ S5[GB(x, 0xA)] ^ S6[GB(x, 0x9)] ^ S7[GB(x, 0xb)] ^ S8[GB(x, 0x8)] ^ S6[GB(z, 0x3)]; in _cast5_setup() [all …]
|
/optee_os/core/lib/libtomcrypt/src/hashes/ |
A D | md4.c | 51 #define F(x, y, z) (z ^ (x & (y ^ z))) argument 52 #define G(x, y, z) ((x & y) | (z & (x | y))) argument 53 #define H(x, y, z) ((x) ^ (y) ^ (z)) argument 56 #define ROTATE_LEFT(x, n) ROLc(x, n) argument 61 #define FF(a, b, c, d, x, s) { \ argument 62 (a) += F ((b), (c), (d)) + (x); \ 65 #define GG(a, b, c, d, x, s) { \ argument 69 #define HH(a, b, c, d, x, s) { \ argument 80 ulong32 x[16], a, b, c, d; in _md4_compress() local 91 LOAD32L(x[i], buf + (4*i)); in _md4_compress() [all …]
|
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/sequence/ |
A D | der_length_sequence.c | 62 y += x; in der_length_sequence_ex() 69 y += x; in der_length_sequence_ex() 76 y += x; in der_length_sequence_ex() 84 y += x; in der_length_sequence_ex() 91 y += x; in der_length_sequence_ex() 102 y += x; in der_length_sequence_ex() 109 y += x; in der_length_sequence_ex() 116 y += x; in der_length_sequence_ex() 123 y += x; in der_length_sequence_ex() 130 y += x; in der_length_sequence_ex() [all …]
|
/optee_os/core/lib/libtomcrypt/src/encauth/ocb3/ |
A D | ocb3_test.c | 206 int err, x, idx, res; in ocb3_test() 219 for (x = 0; x < (int)(sizeof(tests)/sizeof(tests[0])); x++) { in ocb3_test() 224 … tests[x].aadlen != 0 ? tests[x].aad : NULL, tests[x].aadlen, in ocb3_test() 225 … tests[x].ptlen != 0 ? tests[x].pt : NULL, tests[x].ptlen, in ocb3_test() 230 if (compare_testvector(outtag, len, tests[x].tag, sizeof(tests[x].tag), "OCB3 Tag", x) || in ocb3_test() 231 … compare_testvector(outct, tests[x].ptlen, tests[x].ct, tests[x].ptlen, "OCB3 CT", x)) { in ocb3_test() 238 … tests[x].aadlen != 0 ? tests[x].aad : NULL, tests[x].aadlen, in ocb3_test() 239 tests[x].ptlen != 0 ? outct : NULL, tests[x].ptlen, in ocb3_test() 243 …if ((res != 1) || compare_testvector(outct, tests[x].ptlen, tests[x].pt, tests[x].ptlen, "OCB3", x… in ocb3_test() 252 x = 99; in ocb3_test() [all …]
|
/optee_os/core/lib/libtomcrypt/src/math/fp/ |
A D | ltc_ecc_fp_mulmod.c | 588 for (x = 0; x < FP_ENTRIES; x++) { in _find_hole() 602 for (x = 0; x < (1U<<FP_LUT); x++) { in _find_hole() 615 for (x = 0; x < FP_ENTRIES; x++) { in _find_base() 649 for (x = 0; x < (1U<<FP_LUT); x++) { in _add_entry() 704 for (x = 1; x < FP_LUT; x++) { in _build_lut() 718 for (x = 2; x <= FP_LUT; x++) { in _build_lut() 732 for (x = 1; x < (1UL<<FP_LUT); x++) { in _build_lut() 862 for (x = lut_gap-1; x >= 0; x--) { in _accel_fp_mul() 1049 for (x = lut_gap-1; x >= 0; x--) { in _accel_fp_mul2add() 1300 for (x = 0; x < FP_ENTRIES; x++) { in _ltc_ecc_fp_free_cache() [all …]
|
/optee_os/core/lib/libtomcrypt/src/encauth/gcm/ |
A D | gcm_test.c | 327 unsigned long x, y; in gcm_test() 348 for (x = 0; x < (int)(sizeof(tests)/sizeof(tests[0])); x++) { in gcm_test() 350 if ((err = gcm_memory(idx, tests[x].K, tests[x].keylen, in gcm_test() 351 tests[x].IV, tests[x].IVlen, in gcm_test() 352 tests[x].A, tests[x].alen, in gcm_test() 353 (unsigned char*)tests[x].P, tests[x].ptlen, in gcm_test() 358 if (compare_testvector(out[0], tests[x].ptlen, tests[x].C, tests[x].ptlen, "GCM CT", x)) { in gcm_test() 368 if ((err = gcm_memory(idx, tests[x].K, tests[x].keylen, in gcm_test() 369 tests[x].IV, tests[x].IVlen, in gcm_test() 370 tests[x].A, tests[x].alen, in gcm_test() [all …]
|
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/choice/ |
A D | der_decode_choice.c | 30 unsigned long size, x, z; in der_decode_choice() local 43 for (x = 0; x < outlen; x++) { in der_decode_choice() 44 list[x].used = 0; in der_decode_choice() 48 for (x = 0; x < outlen; x++) { in der_decode_choice() 49 size = list[x].size; in der_decode_choice() 50 data = list[x].data; in der_decode_choice() 52 switch (list[x].type) { in der_decode_choice() 56 list[x].used = 1; in der_decode_choice() 117 if (*inlen == 2 && in[x] == 0x05 && in[x+1] == 0x00) { in der_decode_choice() 182 list[x].used = 1; in der_decode_choice() [all …]
|
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/custom_type/ |
A D | der_length_custom_type.c | 75 y += x; in der_length_custom_type() 82 y += x; in der_length_custom_type() 89 y += x; in der_length_custom_type() 97 y += x; in der_length_custom_type() 104 y += x; in der_length_custom_type() 115 y += x; in der_length_custom_type() 122 y += x; in der_length_custom_type() 129 y += x; in der_length_custom_type() 136 y += x; in der_length_custom_type() 143 y += x; in der_length_custom_type() [all …]
|
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/printable_string/ |
A D | der_length_printable_string.c | 100 int x; in der_printable_char_encode() local 101 for (x = 0; x < (int)(sizeof(printable_table)/sizeof(printable_table[0])); x++) { in der_printable_char_encode() 102 if (printable_table[x].code == c) { in der_printable_char_encode() 103 return printable_table[x].value; in der_printable_char_encode() 111 int x; in der_printable_value_decode() local 112 for (x = 0; x < (int)(sizeof(printable_table)/sizeof(printable_table[0])); x++) { in der_printable_value_decode() 113 if (printable_table[x].value == v) { in der_printable_value_decode() 114 return printable_table[x].code; in der_printable_value_decode() 129 unsigned long x; in der_length_printable_string() local 136 for (x = 0; x < noctets; x++) { in der_length_printable_string() [all …]
|
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/teletex_string/ |
A D | der_length_teletex_string.c | 144 int x; in der_teletex_char_encode() local 145 for (x = 0; x < (int)(sizeof(teletex_table)/sizeof(teletex_table[0])); x++) { in der_teletex_char_encode() 146 if (teletex_table[x].code == c) { in der_teletex_char_encode() 147 return teletex_table[x].value; in der_teletex_char_encode() 155 int x; in der_teletex_value_decode() local 156 for (x = 0; x < (int)(sizeof(teletex_table)/sizeof(teletex_table[0])); x++) { in der_teletex_value_decode() 157 if (teletex_table[x].value == v) { in der_teletex_value_decode() 158 return teletex_table[x].code; in der_teletex_value_decode() 173 unsigned long x; in der_length_teletex_string() local 180 for (x = 0; x < noctets; x++) { in der_length_teletex_string() [all …]
|