Home
last modified time | relevance | path

Searched refs:hash_buffer (Results 1 – 7 of 7) sorted by relevance

/external/dropbear/libtomcrypt/demos/
Dhashsum.c20 unsigned char hash_buffer[MAXBLOCKSIZE]; in main() local
43 x = fread(hash_buffer, 1, sizeof(hash_buffer), stdin); in main()
44 hash_descriptor[idx].process(&md, hash_buffer, x); in main()
45 } while (x == sizeof(hash_buffer)); in main()
46 hash_descriptor[idx].done(&md, hash_buffer); in main()
48 printf("%02x",hash_buffer[x]); in main()
53 w = sizeof(hash_buffer); in main()
54 if ((errno = hash_file(idx,argv[z],hash_buffer,&w)) != CRYPT_OK) { in main()
58 printf("%02x",hash_buffer[x]); in main()
/external/openssh/
Dschnorr.h30 int hash_buffer(const u_char *, u_int, const EVP_MD *, u_char **, u_int *);
Dauth2-jpake.c173 if (hash_buffer(buffer_ptr(&b), buffer_len(&b), EVP_sha256(), in derive_rawsalt()
351 if (hash_buffer(authctxt->pw->pw_passwd, in auth2_jpake_get_pwdata()
Dschnorr.c91 if (hash_buffer(buffer_ptr(&b), buffer_len(&b), evp_md, in schnorr_hash()
452 hash_buffer(const u_char *buf, u_int len, const EVP_MD *md, in hash_buffer() function
Djpake.c341 if (hash_buffer(buffer_ptr(&b), buffer_len(&b), EVP_sha256(), in jpake_confirm_hash()
Dsshconnect2.c1009 if (hash_buffer(crypted, strlen(crypted), EVP_sha256(), in jpake_password_to_secret()
/external/chromium_org/content/renderer/webcrypto/
Dwebcrypto_impl_openssl.cc255 unsigned char* const hash_buffer = in DigestInternal() local
259 if (!EVP_DigestFinal_ex(digest_context.get(), hash_buffer, &hash_size) || in DigestInternal()