OpenCoverage

i_ecb.c

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/idea/i_ecb.c
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3const char *IDEA_options(void)-
4{-
5 return
never executed: return "idea(int)";
"idea(int)";
never executed: return "idea(int)";
0
6}-
7-
8void 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:
  • libcrypto.so.1.1
1574
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.2