Home
last modified time | relevance | path

Searched refs:s_bytes (Results 1 – 3 of 3) sorted by relevance

/freebsd/lib/libcrypt/
H A Dcrypt-sha256.c70 char *cp, *p_bytes, *s_bytes, *endp; in crypt_sha256() local
171 cp = s_bytes = alloca(salt_len); in crypt_sha256()
192 SHA256_Update(&ctx, s_bytes, salt_len); in crypt_sha256()
240 explicit_bzero(s_bytes, salt_len); in crypt_sha256()
H A Dcrypt-sha512.c70 char *cp, *p_bytes, *s_bytes, *endp; in crypt_sha512() local
171 cp = s_bytes = alloca(salt_len); in crypt_sha512()
192 SHA512_Update(&ctx, s_bytes, salt_len); in crypt_sha512()
252 explicit_bzero(s_bytes, salt_len); in crypt_sha512()
/freebsd/crypto/openssl/apps/
H A Dpasswd.c529 char *s_bytes = NULL; in shacrypt() local
675 if ((s_bytes = OPENSSL_zalloc(salt_len)) == NULL) in shacrypt()
677 for (cp = s_bytes, n = salt_len; n > buf_size; n -= buf_size, cp += buf_size) in shacrypt()
689 if (!EVP_DigestUpdate(md2, s_bytes, salt_len)) in shacrypt()
708 OPENSSL_free(s_bytes); in shacrypt()
710 s_bytes = NULL; in shacrypt()
777 OPENSSL_free(s_bytes); in shacrypt()