HomeSort by relevance Sort by last modified time
    Searched refs:digest (Results 76 - 100 of 1173) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/libweave/third_party/libuweave/src/
crypto_hmac.c 38 uint8_t digest[kFullDigestLen]; local
41 bool result = HMAC_Final(&context, digest, &len) && kFullDigestLen == len;
44 memcpy(truncated_digest, digest, truncated_digest_len);
  /external/lzma/CPP/Common/
Sha256Reg.cpp 24 STDMETHOD_(void, Final)(Byte *digest);
38 STDMETHODIMP_(void) CSha256Hasher::Final(Byte *digest)
40 Sha256_Final(&_sha, digest);
XzCrc64Reg.cpp 25 STDMETHOD_(void, Final)(Byte *digest);
39 STDMETHODIMP_(void) CXzCrc64Hasher::Final(Byte *digest)
42 SetUi64(digest, val);
  /external/tpm2/
Ticket.c 54 TPM2B_DIGEST *digest, // IN: digest
67 ticket->digest.t.size = CryptStartHMAC2B(CONTEXT_INTEGRITY_HASH_ALG,
71 // add digest
72 CryptUpdateDigest2B(&hmacState, &digest->b);
76 CryptCompleteHMAC2B(&hmacState, &ticket->digest.b);
104 ticket->digest.t.size = CryptStartHMAC2B(CONTEXT_INTEGRITY_HASH_ALG,
117 CryptCompleteHMAC2B(&hmacState, &ticket->digest.b);
130 // 'digest'
131 TPM2B_DIGEST *digest, // IN: input diges
    [all...]
VerifySignature.c 42 result = CryptVerifySignature(in->keyHandle, &in->digest, &in->signature);
56 out->validation.digest.t.size = 0;
63 TicketComputeVerified(hierarchy, &in->digest, &name, &out->validation);
Ticket_fp.h 27 TPM_ALG_ID hashAlg, // IN: the hash algorithm used to create 'digest'
28 TPM2B_DIGEST *digest, // IN: input digest
33 TPM2B_DIGEST *digest, // IN: digest
  /libcore/ojluni/src/main/java/sun/security/util/
ManifestEntryVerifier.java 57 /** the created digest objects */
128 if (key.toUpperCase(Locale.ENGLISH).endsWith("-DIGEST")) {
129 // 7 is length of "-Digest"
132 MessageDigest digest = createdDigests.get(algorithm); local
134 if (digest == null) {
137 digest = MessageDigest.getInstance
139 createdDigests.put(algorithm, digest);
145 if (digest != null) {
147 digest.reset();
148 digests.add(digest);
207 MessageDigest digest = digests.get(i); local
    [all...]
  /system/keymaster/
rsa_key.cpp 53 bool RsaKey::SupportedMode(keymaster_purpose_t purpose, keymaster_digest_t digest) {
57 return digest == KM_DIGEST_NONE || digest == KM_DIGEST_SHA_2_256;
  /external/boringssl/src/include/openssl/
ecdsa.h 71 /* ECDSA_sign signs |digest_len| bytes from |digest| with |key| and writes the
76 OPENSSL_EXPORT int ECDSA_sign(int type, const uint8_t *digest,
81 * signature by |key| of |digest|. (The |type| argument should be zero.) It
84 OPENSSL_EXPORT int ECDSA_verify(int type, const uint8_t *digest,
109 /* ECDSA_do_sign signs |digest_len| bytes from |digest| with |key| and returns
111 OPENSSL_EXPORT ECDSA_SIG *ECDSA_do_sign(const uint8_t *digest,
115 * of |digest|. It returns one on success or zero if the signature is invalid
117 OPENSSL_EXPORT int ECDSA_do_verify(const uint8_t *digest, size_t digest_len,
136 OPENSSL_EXPORT ECDSA_SIG *ECDSA_do_sign_ex(const uint8_t *digest,
143 OPENSSL_EXPORT int ECDSA_sign_ex(int type, const uint8_t *digest,
    [all...]
hkdf.h 26 * with |salt| and |info| using |digest|, and outputs |out_len| bytes to
32 OPENSSL_EXPORT int HKDF(uint8_t *out_key, size_t out_len, const EVP_MD *digest,
  /external/vboot_reference/host/lib/
signature_digest.c 17 uint8_t* PrependDigestInfo(unsigned int algorithm, uint8_t* digest) {
23 Memcpy(p + digestinfo_size, digest, digest_size);
30 uint8_t* digest = NULL; local
34 } else if ((digest = DigestBuf(buf, len, algorithm))) {
35 info_digest = PrependDigestInfo(algorithm, digest);
37 free(digest);
host_signature.c 80 uint8_t* digest = NULL; local
84 /* Calculate the digest */
85 digest = DigestBuf(data, size, key->algorithm);
86 if (!digest)
92 free(digest);
96 /* The digest itself is the signature data */
97 Memcpy(GetSignatureData(sig), digest, digest_size); local
98 free(digest);
107 uint8_t* digest; local
119 /* Calculate the digest */
252 uint8_t* digest; local
    [all...]
  /prebuilts/go/darwin-x86/src/hash/adler32/
adler32.go 29 // digest represents the partial evaluation of a checksum.
31 type digest uint32 type
33 func (d *digest) Reset() { *d = 1 }
37 d := new(digest)
42 func (d *digest) Size() int { return Size }
44 func (d *digest) BlockSize() int { return 1 }
47 func update(d digest, p []byte) digest {
62 return digest(s2<<16 | s1)
65 func (d *digest) Write(p []byte) (nn int, err error)
    [all...]
  /prebuilts/go/linux-x86/src/hash/adler32/
adler32.go 29 // digest represents the partial evaluation of a checksum.
31 type digest uint32 type
33 func (d *digest) Reset() { *d = 1 }
37 d := new(digest)
42 func (d *digest) Size() int { return Size }
44 func (d *digest) BlockSize() int { return 1 }
47 func update(d digest, p []byte) digest {
62 return digest(s2<<16 | s1)
65 func (d *digest) Write(p []byte) (nn int, err error)
    [all...]
  /external/boringssl/src/crypto/x509/
x_sig.c 66 ASN1_SIMPLE(X509_SIG, digest, ASN1_OCTET_STRING)
  /external/mmc-utils/3rdparty/hmac_sha/
sha2.c 331 void sha256(const unsigned char *message, unsigned int len, unsigned char *digest)
337 sha256_final(&ctx, digest);
392 void sha256_final(sha256_ctx *ctx, unsigned char *digest)
416 UNPACK32(ctx->h[i], &digest[i << 2]);
419 UNPACK32(ctx->h[0], &digest[ 0]);
420 UNPACK32(ctx->h[1], &digest[ 4]);
421 UNPACK32(ctx->h[2], &digest[ 8]);
422 UNPACK32(ctx->h[3], &digest[12]);
423 UNPACK32(ctx->h[4], &digest[16]);
424 UNPACK32(ctx->h[5], &digest[20])
897 unsigned char digest[SHA512_DIGEST_SIZE]; local
    [all...]
  /external/skia/tests/
MD5Test.cpp 11 static bool digests_equal(const SkMD5::Digest& expectedDigest, const SkMD5::Digest& computedDigest) {
20 static void md5_test(const char* string, const SkMD5::Digest& expectedDigest, skiatest::Reporter* reporter) {
27 SkMD5::Digest digest; local
28 context.finish(digest);
30 REPORTER_ASSERT(reporter, digests_equal(expectedDigest, digest));
41 SkMD5::Digest digest; local
42 context.finish(digest);
50 SkMD5::Digest digest; member in struct:MD5Test
    [all...]
  /external/curl/src/
tool_metalink.c 136 static void MD5_Final(unsigned char digest[16], MD5_CTX *ctx)
138 md5_digest(ctx, 16, digest);
154 static void SHA1_Final(unsigned char digest[20], SHA_CTX *ctx)
156 sha1_digest(ctx, 20, digest);
172 static void SHA256_Final(unsigned char digest[32], SHA256_CTX *ctx)
174 sha256_digest(ctx, 32, digest);
192 static void MD5_Final(unsigned char digest[16], MD5_CTX *ctx)
194 memcpy(digest, gcry_md_read(*ctx, 0), 16);
211 static void SHA1_Final(unsigned char digest[20], SHA_CTX *ctx)
213 memcpy(digest, gcry_md_read(*ctx, 0), 20)
679 unsigned char *digest; local
    [all...]
  /external/selinux/libselinux/src/
label.c 71 struct selabel_digest *digest)
126 if (digest_add_specfile(digest, cfg, NULL, sb.st_size, path) < 0)
144 struct selabel_digest *digest = NULL; local
149 digest = calloc(1, sizeof(*digest));
150 if (!digest)
153 digest->digest = calloc(1, DIGEST_SPECFILE_SIZE + 1);
154 if (!digest->digest)
    [all...]
  /external/autotest/client/deps/glbench/src/
md5.h 27 void MD5Final(unsigned char digest[16], struct MD5Context *ctx);
  /external/dhcpcd-6.8.2/crypt/
hmac_md5.c 50 uint8_t *digest)
82 MD5Final(digest, &context);
87 MD5Update(&context, digest, MD5_DIGEST_LENGTH);
88 MD5Final(digest, &context);
  /external/google-breakpad/src/common/
md5.h 23 void MD5Final(unsigned char digest[16], struct MD5Context *ctx);
  /external/libmicrohttpd/src/microhttpd/
md5.h 2 * This code implements the MD5 message-digest algorithm.
12 * To compute the message digest of a chunk of bytes, declare an
15 * will fill a supplied 16-byte array with the digest.
49 MD5Final(unsigned char digest[MD5_DIGEST_SIZE],
  /external/lzma/C/
Sha256.h 22 void Sha256_Final(CSha256 *p, Byte *digest);
  /external/opencv3/3rdparty/include/ffmpeg_/libavutil/
ripemd.h 49 * @param bits number of bits in digest (128, 160, 256 or 320 bits)
64 * Finish hashing and output digest value.
67 * @param digest buffer where output digest value is stored
69 void av_ripemd_final(struct AVRIPEMD* context, uint8_t *digest);

Completed in 1495 milliseconds

1 2 34 5 6 7 8 91011>>