Home
last modified time | relevance | path

Searched refs:SHA2_CTX (Results 1 – 4 of 4) sorted by relevance

/external/openssh/openbsd-compat/
Dsha2.h73 } SHA2_CTX; typedef
77 void SHA224Init(SHA2_CTX *);
79 void SHA224Update(SHA2_CTX *, const u_int8_t *, size_t)
81 void SHA224Pad(SHA2_CTX *);
82 void SHA224Final(u_int8_t [SHA224_DIGEST_LENGTH], SHA2_CTX *)
84 char *SHA224End(SHA2_CTX *, char *)
96 void SHA256Init(SHA2_CTX *);
98 void SHA256Update(SHA2_CTX *, const u_int8_t *, size_t)
100 void SHA256Pad(SHA2_CTX *);
101 void SHA256Final(u_int8_t [SHA256_DIGEST_LENGTH], SHA2_CTX *)
[all …]
Dsha2.c316 SHA224Init(SHA2_CTX *context)
333 SHA224Final(u_int8_t digest[SHA224_DIGEST_LENGTH], SHA2_CTX *context)
354 SHA256Init(SHA2_CTX *context) in SHA256Init()
523 SHA256Update(SHA2_CTX *context, const u_int8_t *data, size_t len) in SHA256Update()
570 SHA256Pad(SHA2_CTX *context) in SHA256Pad()
614 SHA256Final(u_int8_t digest[SHA256_DIGEST_LENGTH], SHA2_CTX *context) in SHA256Final()
634 SHA512Init(SHA2_CTX *context) in SHA512Init()
804 SHA512Update(SHA2_CTX *context, const u_int8_t *data, size_t len) in SHA512Update()
851 SHA512Pad(SHA2_CTX *context) in SHA512Pad()
895 SHA512Final(u_int8_t digest[SHA512_DIGEST_LENGTH], SHA2_CTX *context) in SHA512Final()
[all …]
/external/openssh/
Ddigest-libc.c90 sizeof(SHA2_CTX),
100 sizeof(SHA2_CTX),
110 sizeof(SHA2_CTX),
Dhash.c38 SHA2_CTX ctx; in crypto_hash_sha512()