Home
last modified time | relevance | path

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

/freebsd-9-stable/crypto/openssl/crypto/sha/
Dsha512t.c22 unsigned char app_c1[SHA512_DIGEST_LENGTH] = {
33 unsigned char app_c2[SHA512_DIGEST_LENGTH] = {
44 unsigned char app_c3[SHA512_DIGEST_LENGTH] = {
84 unsigned char md[SHA512_DIGEST_LENGTH]; in main()
Dsha512.c102 c->md_len = SHA512_DIGEST_LENGTH; in SHA512_Init()
166 case SHA512_DIGEST_LENGTH: in SHA512_Final()
167 for (n = 0; n < SHA512_DIGEST_LENGTH / 8; n++) { in SHA512_Final()
268 static unsigned char m[SHA512_DIGEST_LENGTH]; in SHA512()
Dsha.h151 # define SHA512_DIGEST_LENGTH 64 macro
/freebsd-9-stable/crypto/openssh/openbsd-compat/
Dsha2.h57 #define SHA512_DIGEST_LENGTH 64 macro
58 #define SHA512_DIGEST_STRING_LENGTH (SHA512_DIGEST_LENGTH * 2 + 1)
118 void SHA512_Final(u_int8_t [SHA512_DIGEST_LENGTH], SHA512_CTX *)
119 __attribute__((__bounded__(__minbytes__,1,SHA512_DIGEST_LENGTH)));
Dbcrypt_pbkdf.c35 #define SHA512_DIGEST_LENGTH crypto_hash_sha512_BYTES macro
73 size_t shalen = SHA512_DIGEST_LENGTH; in bcrypt_hash()
109 u_int8_t sha2pass[SHA512_DIGEST_LENGTH]; in bcrypt_pbkdf()
110 u_int8_t sha2salt[SHA512_DIGEST_LENGTH]; in bcrypt_pbkdf()
Dsha2.c821 SHA512_Final(u_int8_t digest[SHA512_DIGEST_LENGTH], SHA512_CTX *context) in SHA512_Final() argument
834 memcpy(digest, context->state, SHA512_DIGEST_LENGTH); in SHA512_Final()
/freebsd-9-stable/sys/crypto/sha2/
Dsha2.h55 #define SHA512_DIGEST_LENGTH 64 macro
56 #define SHA512_DIGEST_STRING_LENGTH (SHA512_DIGEST_LENGTH * 2 + 1)
132 void SHA512_Final(u_int8_t[SHA512_DIGEST_LENGTH], SHA512_CTX*);
Dsha2.c655 bcopy(sha512_initial_hash_value, context->state, SHA512_DIGEST_LENGTH); in SHA512_Init()
939 bcopy(context->state, d, SHA512_DIGEST_LENGTH); in SHA512_Final()
948 sha2_byte digest[SHA512_DIGEST_LENGTH], *d = digest; in SHA512_End()
957 for (i = 0; i < SHA512_DIGEST_LENGTH; i++) { in SHA512_End()
966 bzero(digest, SHA512_DIGEST_LENGTH); in SHA512_End()
984 bcopy(sha384_initial_hash_value, context->state, SHA512_DIGEST_LENGTH); in SHA384_Init()
/freebsd-9-stable/sbin/gbde/
Dgbde.c190 static u_char sha2[SHA512_DIGEST_LENGTH];
196 memcpy(sc->sha2, sha2, SHA512_DIGEST_LENGTH); in reset_passphrase()
203 char buf1[BUFSIZ + SHA512_DIGEST_LENGTH]; in setup_passphrase()
204 char buf2[BUFSIZ + SHA512_DIGEST_LENGTH]; in setup_passphrase()
220 memcpy(buf1, sc->sha2, SHA512_DIGEST_LENGTH); in setup_passphrase()
221 memcpy(buf2, sc->sha2, SHA512_DIGEST_LENGTH); in setup_passphrase()
222 bpos = SHA512_DIGEST_LENGTH; in setup_passphrase()
231 memcpy(sha2, sc->sha2, SHA512_DIGEST_LENGTH); in setup_passphrase()
261 memcpy(sha2, sc->sha2, SHA512_DIGEST_LENGTH); in setup_passphrase()
294 gctl_ro_param(r, "pass", SHA512_DIGEST_LENGTH, sc->sha2); in cmd_attach()
/freebsd-9-stable/sys/geom/bde/
Dg_bde.c146 if (pass == NULL || i != SHA512_DIGEST_LENGTH) { in g_bde_create_geom()
204 bzero(pass, SHA512_DIGEST_LENGTH); in g_bde_create_geom()
Dg_bde_lock.c137 for(u = 48; u < SHA512_DIGEST_LENGTH; u++) { in g_bde_shuffle_lock()
450 bcopy(keymat, sc->sha2, SHA512_DIGEST_LENGTH); in g_bde_decrypt_lock()
Dg_bde.h141 u_char sha2[SHA512_DIGEST_LENGTH];
/freebsd-9-stable/crypto/openssl/fips/
Dfips_test_suite.c249 unsigned char digest[SHA512_DIGEST_LENGTH] = in FIPS_sha512_test()
261 unsigned char md[SHA512_DIGEST_LENGTH]; in FIPS_sha512_test()
/freebsd-9-stable/crypto/openssl/crypto/evp/
Dm_sha1.c220 SHA512_DIGEST_LENGTH,
/freebsd-9-stable/contrib/libarchive/libarchive/
Darchive_hash.h304 # define SHA512_DIGEST_LENGTH 64 macro
307 # define archive_sha512_final(ctx, buf) __la_hash_Final(buf, SHA512_DIGEST_LENGTH, ctx)
/freebsd-9-stable/crypto/openssh/
Ddigest-libc.c110 SHA512_DIGEST_LENGTH,
/freebsd-9-stable/crypto/openssl/fips/rsa/
Dfips_rsa_sign.c544 SHA512_DIGEST_LENGTH,
/freebsd-9-stable/crypto/openssl/apps/
Dspeed.c521 unsigned char sha512[SHA512_DIGEST_LENGTH]; in MAIN()