Ruby
2.5.0dev(2017-10-22revision60238)
|
#include "../defs.h"
Go to the source code of this file.
Data Structures | |
struct | SHA1_CTX |
Macros | |
#define | SHA1_Transform rb_Digest_SHA1_Transform |
#define | SHA1_Init rb_Digest_SHA1_Init |
#define | SHA1_Update rb_Digest_SHA1_Update |
#define | SHA1_Finish rb_Digest_SHA1_Finish |
#define | SHA1_BLOCK_LENGTH 64 |
#define | SHA1_DIGEST_LENGTH 20 |
#define | SHA1_DIGEST_STRING_LENGTH (SHA1_DIGEST_LENGTH * 2 + 1) |
Functions | |
void SHA1_Transform | _ ((uint32_t state[5], const uint8_t buffer[64])) |
int SHA1_Init | _ ((SHA1_CTX *context)) |
void SHA1_Update | _ ((SHA1_CTX *context, const uint8_t *data, size_t len)) |
int SHA1_Finish | _ ((SHA1_CTX *context, uint8_t digest[20])) |
#define SHA1_DIGEST_STRING_LENGTH (SHA1_DIGEST_LENGTH * 2 + 1) |
void SHA1_Transform _ | ( | (uint32_t state[5], const uint8_t buffer[64]) | ) |
void SHA1_Update _ | ( | (SHA1_CTX *context, const uint8_t *data, size_t len) | ) |
int SHA1_Finish _ | ( | (SHA1_CTX *context, uint8_t digest[20]) | ) |