Home
last modified time | relevance | path

Searched refs:SHA512_DIGEST_LENGTH (Results 1 – 25 of 32) sorted by relevance

12

/openbsd/sys/crypto/
H A Dsha2.h49 #define SHA512_DIGEST_LENGTH 64 macro
50 #define SHA512_DIGEST_STRING_LENGTH (SHA512_DIGEST_LENGTH * 2 + 1)
79 void SHA512Final(u_int8_t[SHA512_DIGEST_LENGTH], SHA2_CTX *)
80 __attribute__((__bounded__(__minbytes__,1,SHA512_DIGEST_LENGTH)));
H A Dsha2.c536 SHA512_DIGEST_LENGTH); in SHA512Init()
813 memcpy(digest, context->state.st64, SHA512_DIGEST_LENGTH); in SHA512Final()
825 SHA512_DIGEST_LENGTH); in SHA384Init()
/openbsd/include/
H A Dsha2.h52 #define SHA512_DIGEST_LENGTH 64 macro
53 #define SHA512_DIGEST_STRING_LENGTH (SHA512_DIGEST_LENGTH * 2 + 1)
126 void SHA512Final(u_int8_t [SHA512_DIGEST_LENGTH], SHA2_CTX *)
127 __attribute__((__bounded__(__minbytes__,1,SHA512_DIGEST_LENGTH)));
/openbsd/sys/lib/libsa/
H A Dsha2.h52 #define SHA512_DIGEST_LENGTH 64 macro
53 #define SHA512_DIGEST_STRING_LENGTH (SHA512_DIGEST_LENGTH * 2 + 1)
126 void SHA512Final(u_int8_t [SHA512_DIGEST_LENGTH], SHA2_CTX *)
127 __attribute__((__bounded__(__minbytes__,1,SHA512_DIGEST_LENGTH)));
H A Dbcrypt_pbkdf.c63 size_t shalen = SHA512_DIGEST_LENGTH; in bcrypt_hash()
100 uint8_t sha2pass[SHA512_DIGEST_LENGTH]; in bcrypt_pbkdf()
101 uint8_t sha2salt[SHA512_DIGEST_LENGTH]; in bcrypt_pbkdf()
H A Dsha2.c870 SHA512Final(u_int8_t digest[SHA512_DIGEST_LENGTH], SHA2_CTX *context) in SHA512Final() argument
881 memcpy(digest, context->state.st64, SHA512_DIGEST_LENGTH); in SHA512Final()
/openbsd/lib/libutil/
H A Dbcrypt_pbkdf.c65 size_t shalen = SHA512_DIGEST_LENGTH; in bcrypt_hash()
102 uint8_t sha2pass[SHA512_DIGEST_LENGTH]; in bcrypt_pbkdf()
103 uint8_t sha2salt[SHA512_DIGEST_LENGTH]; in bcrypt_pbkdf()
/openbsd/sbin/unwind/libunbound/
H A Dconfig.h1462 #ifndef SHA512_DIGEST_LENGTH
1464 #define SHA512_DIGEST_LENGTH 64 macro
1465 #define SHA512_DIGEST_STRING_LENGTH (SHA512_DIGEST_LENGTH * 2 + 1)
1474 void SHA512_Final(uint8_t[SHA512_DIGEST_LENGTH], SHA512_CTX*);
/openbsd/lib/libcrypto/arc4random/
H A Dgetentropy_osx.c66 #define SHA512_DIGEST_LENGTH CC_SHA512_DIGEST_LENGTH macro
207 uint8_t results[SHA512_DIGEST_LENGTH]; in getentropy_fallback()
H A Dgetentropy_hpux.c204 uint8_t results[SHA512_DIGEST_LENGTH]; in getentropy_fallback()
H A Dgetentropy_solaris.c240 uint8_t results[SHA512_DIGEST_LENGTH]; in getentropy_fallback()
H A Dgetentropy_aix.c200 uint8_t results[SHA512_DIGEST_LENGTH]; in getentropy_fallback()
H A Dgetentropy_linux.c321 uint8_t results[SHA512_DIGEST_LENGTH]; in getentropy_fallback()
/openbsd/lib/libcrypto/x509/
H A Dx509_local.h70 #define X509_CERT_HASH_LEN SHA512_DIGEST_LENGTH
72 #define X509_CRL_HASH_LEN SHA512_DIGEST_LENGTH
/openbsd/lib/libcrypto/sha/
H A Dsha.h142 #define SHA512_DIGEST_LENGTH 64 macro
H A Dsha512.c373 c->md_len = SHA512_DIGEST_LENGTH; in SHA512_Init()
479 case SHA512_DIGEST_LENGTH: in SHA512_Final()
480 for (n = 0; n < SHA512_DIGEST_LENGTH/8; n++) { in SHA512_Final()
/openbsd/usr.bin/ssh/
H A Ddigest-libc.c99 SHA512_DIGEST_LENGTH,
/openbsd/sys/dev/
H A Drnd.c286 u_char digest[SHA512_DIGEST_LENGTH]; in extract_entropy()
289 #if SHA512_DIGEST_LENGTH < EBUFSIZE in extract_entropy()
/openbsd/lib/libcrypto/evp/
H A Dm_sha1.c263 .md_size = SHA512_DIGEST_LENGTH,
/openbsd/usr.bin/signify/
H A Dsignify.c306 uint8_t digest[SHA512_DIGEST_LENGTH]; in generate()
392 uint8_t digest[SHA512_DIGEST_LENGTH]; in createsig()
/openbsd/regress/lib/libcrypto/sha/
H A Dsha_test.c717 len = SHA512_DIGEST_LENGTH; in sha_hash_from_algorithm()
/openbsd/lib/libc/hash/
H A Dsha2.c883 SHA512Final(u_int8_t digest[SHA512_DIGEST_LENGTH], SHA2_CTX *context) in SHA512Final() argument
894 memcpy(digest, context->state.st64, SHA512_DIGEST_LENGTH); in SHA512Final()
/openbsd/sbin/iked/
H A Dcrypto.c206 length = SHA512_DIGEST_LENGTH; in hash_new()
244 length = SHA512_DIGEST_LENGTH; in hash_new()
H A Ddh.c873 len = SHA512_DIGEST_LENGTH; in kemsx_create_shared2()
/openbsd/usr.sbin/unbound/
H A Dconfig.h.in1457 #ifndef SHA512_DIGEST_LENGTH
1459 #define SHA512_DIGEST_LENGTH 64 macro
1460 #define SHA512_DIGEST_STRING_LENGTH (SHA512_DIGEST_LENGTH * 2 + 1)
1466 #endif /* SHA512_DIGEST_LENGTH */
1469 void SHA512_Final(uint8_t[SHA512_DIGEST_LENGTH], SHA512_CTX*);

12