sha1.h
changeset 53 ea43dbad123b
parent 52 7f21abb9ff17
equal deleted inserted replaced
52:7f21abb9ff17 53:ea43dbad123b
    23 void SHA1Init(SHA1_CTX * context);
    23 void SHA1Init(SHA1_CTX * context);
    24 void SHA1Transform(uint32_t state[5], const uint8_t buffer[SHA1_BLOCK_LENGTH]);
    24 void SHA1Transform(uint32_t state[5], const uint8_t buffer[SHA1_BLOCK_LENGTH]);
    25 void SHA1Update(SHA1_CTX *context, const uint8_t *data, const uint32_t len);
    25 void SHA1Update(SHA1_CTX *context, const uint8_t *data, const uint32_t len);
    26 void SHA1Final(uint8_t digest[SHA1_DIGEST_LENGTH], SHA1_CTX *context);
    26 void SHA1Final(uint8_t digest[SHA1_DIGEST_LENGTH], SHA1_CTX *context);
    27 
    27 
       
    28 void SHA1Hmac(const uint8_t *key, const uint32_t keylen, const uint8_t *msg, const uint32_t msglen, uint8_t digest[SHA1_DIGEST_LENGTH]);
       
    29 
    28 #endif /* _SHA1_H_ */
    30 #endif /* _SHA1_H_ */