| Line | Source | Count |
| 1 | static inline uint32_t ROTATE(uint32_t a, uint32_t n) | - |
| 2 | { | - |
| 3 | returnexecuted 3952 times by 2 tests: return (a<<n)|(a>>(32-n)); (a<<n)|(a>>(32-n));executed 3952 times by 2 tests: return (a<<n)|(a>>(32-n)); | 3952 |
| 4 | } | - |
| 5 | int | - |
| 6 | GOST2814789IMIT_Update(GOST2814789IMIT_CTX *c, const void *data_, size_t len) | - |
| 7 | { | - |
| 8 | const unsigned char *data = data_; | - |
| 9 | unsigned char *p; | - |
| 10 | unsigned int l; | - |
| 11 | size_t n; | - |
| 12 | | - |
| 13 | if (len == 0| TRUE | evaluated 551 times by 8 testsEvaluated by:- evptest
- gost2814789t
- hkdftest
- md4test
- md5test
- rmdtest
- rsa_test
- ssltest
| | FALSE | evaluated 149588 times by 22 testsEvaluated by:- asn1test
- dsatest
- ecdhtest
- evptest
- gost2814789t
- hkdftest
- hmactest
- keypairtest
- libcrypto.so.44.0.1
- md4test
- md5test
- pbkdf2
- pkcs7test
- rc4test
- rmdtest
- rsa_test
- servertest
- sha1test
- sha256test
- ssltest
- tls_prf
- tlstest
|
) | 551-149588 |
| 14 | returnexecuted 551 times by 8 tests: return 1;Executed by:- evptest
- gost2814789t
- hkdftest
- md4test
- md5test
- rmdtest
- rsa_test
- ssltest
1;executed 551 times by 8 tests: return 1;Executed by:- evptest
- gost2814789t
- hkdftest
- md4test
- md5test
- rmdtest
- rsa_test
- ssltest
| 551 |
| 15 | | - |
| 16 | l = (c->Nl + (((unsigned int)len) << 3))&0xffffffffUL; | - |
| 17 | | - |
| 18 | | - |
| 19 | if (l < c->Nl| TRUE | never evaluated | | FALSE | evaluated 149588 times by 22 testsEvaluated by:- asn1test
- dsatest
- ecdhtest
- evptest
- gost2814789t
- hkdftest
- hmactest
- keypairtest
- libcrypto.so.44.0.1
- md4test
- md5test
- pbkdf2
- pkcs7test
- rc4test
- rmdtest
- rsa_test
- servertest
- sha1test
- sha256test
- ssltest
- tls_prf
- tlstest
|
) | 0-149588 |
| 20 | c->Nh++; never executed: c->Nh++; | 0 |
| 21 | c->Nh+=(unsigned int)(len>>29); | - |
| 22 | c->Nl = l; | - |
| 23 | | - |
| 24 | n = c->num; | - |
| 25 | if (n != 0| TRUE | evaluated 28447 times by 11 testsEvaluated by:- hkdftest
- libcrypto.so.44.0.1
- pbkdf2
- rc4test
- rsa_test
- servertest
- sha1test
- sha256test
- ssltest
- tls_prf
- tlstest
| | FALSE | evaluated 121141 times by 22 testsEvaluated by:- asn1test
- dsatest
- ecdhtest
- evptest
- gost2814789t
- hkdftest
- hmactest
- keypairtest
- libcrypto.so.44.0.1
- md4test
- md5test
- pbkdf2
- pkcs7test
- rc4test
- rmdtest
- rsa_test
- servertest
- sha1test
- sha256test
- ssltest
- tls_prf
- tlstest
|
) { | 28447-121141 |
| 26 | p = (unsigned char *)c->data; | - |
| 27 | | - |
| 28 | if (len >= 8| TRUE | evaluated 7345 times by 7 testsEvaluated by:- hkdftest
- rc4test
- servertest
- sha1test
- sha256test
- ssltest
- tlstest
| | FALSE | evaluated 21102 times by 8 testsEvaluated by:- hkdftest
- libcrypto.so.44.0.1
- pbkdf2
- rsa_test
- servertest
- ssltest
- tls_prf
- tlstest
|
|| len + n >= 8| TRUE | evaluated 5291 times by 4 testsEvaluated by:- servertest
- ssltest
- tls_prf
- tlstest
| | FALSE | evaluated 15811 times by 8 testsEvaluated by:- hkdftest
- libcrypto.so.44.0.1
- pbkdf2
- rsa_test
- servertest
- ssltest
- tls_prf
- tlstest
|
) { | 5291-21102 |
| 29 | memcpy (p + n, data, 8 - n); | - |
| 30 | GOST2814789IMIT_block_data_order (c, p, 1); | - |
| 31 | n = 8 - n; | - |
| 32 | data += n; | - |
| 33 | len -= n; | - |
| 34 | c->num = 0; | - |
| 35 | memset (p,0,8); | - |
| 36 | }executed 12636 times by 8 tests: end of blockExecuted by:- hkdftest
- rc4test
- servertest
- sha1test
- sha256test
- ssltest
- tls_prf
- tlstest
else { | 12636 |
| 37 | memcpy (p + n, data, len); | - |
| 38 | c->num += (unsigned int)len; | - |
| 39 | returnexecuted 15811 times by 8 tests: return 1;Executed by:- hkdftest
- libcrypto.so.44.0.1
- pbkdf2
- rsa_test
- servertest
- ssltest
- tls_prf
- tlstest
1;executed 15811 times by 8 tests: return 1;Executed by:- hkdftest
- libcrypto.so.44.0.1
- pbkdf2
- rsa_test
- servertest
- ssltest
- tls_prf
- tlstest
| 15811 |
| 40 | } | - |
| 41 | } | - |
| 42 | | - |
| 43 | n = len/8; | - |
| 44 | if (n > 0| TRUE | evaluated 43766 times by 21 testsEvaluated by:- asn1test
- ecdhtest
- evptest
- gost2814789t
- hkdftest
- hmactest
- keypairtest
- libcrypto.so.44.0.1
- md4test
- md5test
- pbkdf2
- pkcs7test
- rc4test
- rmdtest
- rsa_test
- servertest
- sha1test
- sha256test
- ssltest
- tls_prf
- tlstest
| | FALSE | evaluated 90011 times by 18 testsEvaluated by:- dsatest
- ecdhtest
- evptest
- gost2814789t
- hkdftest
- hmactest
- libcrypto.so.44.0.1
- md4test
- md5test
- pbkdf2
- rmdtest
- rsa_test
- servertest
- sha1test
- sha256test
- ssltest
- tls_prf
- tlstest
|
) { | 43766-90011 |
| 45 | GOST2814789IMIT_block_data_order (c, data, n); | - |
| 46 | n *= 8; | - |
| 47 | data += n; | - |
| 48 | len -= n; | - |
| 49 | }executed 43766 times by 21 tests: end of blockExecuted by:- asn1test
- ecdhtest
- evptest
- gost2814789t
- hkdftest
- hmactest
- keypairtest
- libcrypto.so.44.0.1
- md4test
- md5test
- pbkdf2
- pkcs7test
- rc4test
- rmdtest
- rsa_test
- servertest
- sha1test
- sha256test
- ssltest
- tls_prf
- tlstest
| 43766 |
| 50 | | - |
| 51 | if (len != 0| TRUE | evaluated 98013 times by 22 testsEvaluated by:- asn1test
- dsatest
- ecdhtest
- evptest
- gost2814789t
- hkdftest
- hmactest
- keypairtest
- libcrypto.so.44.0.1
- md4test
- md5test
- pbkdf2
- pkcs7test
- rc4test
- rmdtest
- rsa_test
- servertest
- sha1test
- sha256test
- ssltest
- tls_prf
- tlstest
| | FALSE | evaluated 35764 times by 11 testsEvaluated by:- gost2814789t
- hkdftest
- hmactest
- pbkdf2
- rc4test
- servertest
- sha1test
- sha256test
- ssltest
- tls_prf
- tlstest
|
) { | 35764-98013 |
| 52 | p = (unsigned char *)c->data; | - |
| 53 | c->num = (unsigned int)len; | - |
| 54 | memcpy (p, data, len); | - |
| 55 | }executed 98013 times by 22 tests: end of blockExecuted by:- asn1test
- dsatest
- ecdhtest
- evptest
- gost2814789t
- hkdftest
- hmactest
- keypairtest
- libcrypto.so.44.0.1
- md4test
- md5test
- pbkdf2
- pkcs7test
- rc4test
- rmdtest
- rsa_test
- servertest
- sha1test
- sha256test
- ssltest
- tls_prf
- tlstest
| 98013 |
| 56 | returnexecuted 133777 times by 22 tests: return 1;Executed by:- asn1test
- dsatest
- ecdhtest
- evptest
- gost2814789t
- hkdftest
- hmactest
- keypairtest
- libcrypto.so.44.0.1
- md4test
- md5test
- pbkdf2
- pkcs7test
- rc4test
- rmdtest
- rsa_test
- servertest
- sha1test
- sha256test
- ssltest
- tls_prf
- tlstest
1;executed 133777 times by 22 tests: return 1;Executed by:- asn1test
- dsatest
- ecdhtest
- evptest
- gost2814789t
- hkdftest
- hmactest
- keypairtest
- libcrypto.so.44.0.1
- md4test
- md5test
- pbkdf2
- pkcs7test
- rc4test
- rmdtest
- rsa_test
- servertest
- sha1test
- sha256test
- ssltest
- tls_prf
- tlstest
| 133777 |
| 57 | } | - |
| 58 | | - |
| 59 | | - |
| 60 | void GOST2814789IMIT_Transform (GOST2814789IMIT_CTX *c, const unsigned char *data) | - |
| 61 | { | - |
| 62 | GOST2814789IMIT_block_data_order (c, data, 1); | - |
| 63 | }executed 1440 times by 1 test: end of block | 1440 |
| | |