Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/idea/i_ecb.c |
Switch to Source code | Preprocessed file |
Line | Source | Count |
---|---|---|
1 | - | |
2 | - | |
3 | const char *IDEA_options(void) | - |
4 | { | - |
5 | return never executed: "idea(int)";return "idea(int)"; never executed: return "idea(int)"; | 0 |
6 | } | - |
7 | - | |
8 | void IDEA_ecb_encrypt(const unsigned char *in, unsigned char *out, | - |
9 | IDEA_KEY_SCHEDULE *ks) | - |
10 | { | - |
11 | unsigned long l0, l1, d[2]; | - |
12 | - | |
13 | (l0 =((unsigned long)(*((in)++)))<<24L, l0|=((unsigned long)(*((in)++)))<<16L, l0|=((unsigned long)(*((in)++)))<< 8L, l0|=((unsigned long)(*((in)++)))); | - |
14 | d[0] = l0; | - |
15 | (l1 =((unsigned long)(*((in)++)))<<24L, l1|=((unsigned long)(*((in)++)))<<16L, l1|=((unsigned long)(*((in)++)))<< 8L, l1|=((unsigned long)(*((in)++)))); | - |
16 | d[1] = l1; | - |
17 | IDEA_encrypt(d, ks); | - |
18 | l0 = d[0]; | - |
19 | (*((out)++)=(unsigned char)(((l0)>>24L)&0xff), *((out)++)=(unsigned char)(((l0)>>16L)&0xff), *((out)++)=(unsigned char)(((l0)>> 8L)&0xff), *((out)++)=(unsigned char)(((l0) )&0xff)); | - |
20 | l1 = d[1]; | - |
21 | (*((out)++)=(unsigned char)(((l1)>>24L)&0xff), *((out)++)=(unsigned char)(((l1)>>16L)&0xff), *((out)++)=(unsigned char)(((l1)>> 8L)&0xff), *((out)++)=(unsigned char)(((l1) )&0xff)); | - |
22 | l0 = l1 = d[0] = d[1] = 0; | - |
23 | } executed 1574 times by 1 test: end of block Executed by:
| 1574 |
Switch to Source code | Preprocessed file |