| 
    Ruby
    2.5.0dev(2017-10-22revision60238)
    
   | 
 
Go to the source code of this file.
Macros | |
| #define | _DIAGASSERT(cond) assert(cond) | 
| #define | BYTES_TO_DWORD(strptr) | 
| #define | ROL(x, n) (((x) << (n)) | ((x) >> (32-(n)))) | 
| #define | F(x, y, z) ((x) ^ (y) ^ (z)) | 
| #define | G(x, y, z) (((x) & (y)) | (~(x) & (z))) | 
| #define | H(x, y, z) (((x) | ~(y)) ^ (z)) | 
| #define | I(x, y, z) (((x) & (z)) | ((y) & ~(z))) | 
| #define | J(x, y, z) ((x) ^ ((y) | ~(z))) | 
| #define | FF(a, b, c, d, e, x, s) | 
| #define | GG(a, b, c, d, e, x, s) | 
| #define | HH(a, b, c, d, e, x, s) | 
| #define | II(a, b, c, d, e, x, s) | 
| #define | JJ(a, b, c, d, e, x, s) | 
| #define | FFF(a, b, c, d, e, x, s) | 
| #define | GGG(a, b, c, d, e, x, s) | 
| #define | HHH(a, b, c, d, e, x, s) | 
| #define | III(a, b, c, d, e, x, s) | 
| #define | JJJ(a, b, c, d, e, x, s) | 
Functions | |
| int | RMD160_Init (RMD160_CTX *context) | 
| void | RMD160_Transform (uint32_t state[5], const uint32_t block[16]) | 
| void | RMD160_Update (RMD160_CTX *context, const uint8_t *data, size_t nbytes) | 
| int | RMD160_Finish (RMD160_CTX *context, uint8_t digest[20]) | 
Definition at line 47 of file rmd160.c.
Referenced by RMD160_Finish(), RMD160_Init(), RMD160_Transform(), and RMD160_Update().
| #define BYTES_TO_DWORD | ( | strptr | ) | 
Definition at line 56 of file rmd160.c.
Referenced by RMD160_Finish(), and RMD160_Update().
| #define FF | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| x, | |||
| s | |||
| ) | 
| #define FFF | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| x, | |||
| s | |||
| ) | 
| #define GG | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| x, | |||
| s | |||
| ) | 
Definition at line 79 of file rmd160.c.
Referenced by RMD160_Transform().
| #define GGG | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| x, | |||
| s | |||
| ) | 
Definition at line 104 of file rmd160.c.
Referenced by RMD160_Transform().
| #define HH | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| x, | |||
| s | |||
| ) | 
Definition at line 84 of file rmd160.c.
Referenced by RMD160_Transform().
| #define HHH | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| x, | |||
| s | |||
| ) | 
Definition at line 109 of file rmd160.c.
Referenced by RMD160_Transform().
| #define II | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| x, | |||
| s | |||
| ) | 
Definition at line 89 of file rmd160.c.
Referenced by RMD160_Transform().
| #define III | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| x, | |||
| s | |||
| ) | 
Definition at line 114 of file rmd160.c.
Referenced by RMD160_Transform().
| #define JJ | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| x, | |||
| s | |||
| ) | 
Definition at line 94 of file rmd160.c.
Referenced by RMD160_Transform().
| #define JJJ | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| x, | |||
| s | |||
| ) | 
Definition at line 119 of file rmd160.c.
Referenced by RMD160_Transform().
| int RMD160_Finish | ( | RMD160_CTX * | context, | 
| uint8_t | digest[20] | ||
| ) | 
Definition at line 417 of file rmd160.c.
References _DIAGASSERT, RMD160_CTX::bbuffer, RMD160_CTX::buflen, BYTES_TO_DWORD, RMD160_CTX::length, NULL, RMD160_Transform(), and RMD160_CTX::state.
| int RMD160_Init | ( | RMD160_CTX * | context | ) | 
Definition at line 128 of file rmd160.c.
References _DIAGASSERT, RMD160_CTX::buflen, RMD160_CTX::length, NULL, and RMD160_CTX::state.
| void RMD160_Update | ( | RMD160_CTX * | context, | 
| const uint8_t * | data, | ||
| size_t | nbytes | ||
| ) | 
Definition at line 353 of file rmd160.c.
References _DIAGASSERT, RMD160_CTX::bbuffer, RMD160_CTX::buflen, BYTES_TO_DWORD, RMD160_CTX::length, NULL, RMD160_Transform(), and RMD160_CTX::state.
 1.8.13