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

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

Completed in 814 milliseconds