/external/chromium_org/third_party/boringssl/src/include/openssl/ |
ecdsa.h | 71 /* ECDSA_sign signs |digest_len| bytes from |digest| with |key| and writes the 77 size_t digest_len, uint8_t *sig, 85 size_t digest_len, const uint8_t *sig, 109 /* ECDSA_sign signs |digest_len| bytes from |digest| with |key| and returns the 114 size_t digest_len, EC_KEY *key); 121 OPENSSL_EXPORT int ECDSA_do_verify(const uint8_t *digest, size_t digest_len, 141 size_t digest_len, 148 size_t digest_len, uint8_t *sig,
|
dsa.h | 147 OPENSSL_EXPORT DSA_SIG *DSA_do_sign(const uint8_t *digest, size_t digest_len, 160 OPENSSL_EXPORT int DSA_do_verify(const uint8_t *digest, size_t digest_len, 170 size_t digest_len, DSA_SIG *sig, 186 OPENSSL_EXPORT int DSA_sign(int type, const uint8_t *digest, size_t digest_len, 203 size_t digest_len, const uint8_t *sig, 213 size_t digest_len, const uint8_t *sig, 322 DSA_SIG *(*sign)(const uint8_t *digest, size_t digest_len, DSA *dsa); 325 const uint8_t *digest, size_t digest_len); 327 int (*verify)(int *out_valid, const uint8_t *digest, size_t digest_len,
|
ec_key.h | 265 int (*sign)(const uint8_t *digest, size_t digest_len, uint8_t *sig, 269 int (*verify)(const uint8_t *digest, size_t digest_len, const uint8_t *sig,
|
/external/chromium_org/third_party/webrtc/base/ |
sslfingerprint.cc | 34 size_t digest_len; local 36 algorithm, digest_val, sizeof(digest_val), &digest_len); 41 return new SSLFingerprint(algorithm, digest_val, digest_len); 67 const std::string& algorithm, const uint8* digest_in, size_t digest_len) 69 digest.SetData(digest_in, digest_len);
|
sslstreamadapterhelper.cc | 76 size_t digest_len) { 86 if (expected_len != digest_len) 89 peer_certificate_digest_value_.SetData(digest_val, digest_len);
|
sslfingerprint.h | 34 size_t digest_len);
|
sslstreamadapter.h | 115 size_t digest_len) = 0;
|
sslstreamadapterhelper.h | 47 size_t digest_len);
|
opensslstreamadapter.h | 69 size_t digest_len);
|
ssladapter_unittest.cc | 197 size_t digest_len = sizeof(digest); local 199 digest_len);
|
sslstreamadapter_unittest.cc | 250 size_t digest_len; local 257 &digest_len); 264 digest_len); 269 digest, 20, &digest_len); 276 digest_len);
|
opensslstreamadapter.cc | 204 size_t digest_len) { 214 if (expected_len != digest_len) 217 peer_certificate_digest_value_.SetData(digest_val, digest_len);
|
/external/chromium_org/third_party/boringssl/src/crypto/ecdsa/ |
ecdsa.c | 63 int ECDSA_sign(int type, const uint8_t *digest, size_t digest_len, uint8_t *sig, 66 return eckey->ecdsa_meth->sign(digest, digest_len, sig, sig_len, eckey); 69 return ECDSA_sign_ex(type, digest, digest_len, sig, sig_len, NULL, NULL, 73 int ECDSA_verify(int type, const uint8_t *digest, size_t digest_len, 79 return eckey->ecdsa_meth->verify(digest, digest_len, sig, sig_len, eckey); 86 ret = ECDSA_do_verify(digest, digest_len, s, eckey); 95 /* digest_to_bn interprets |digest_len| bytes from |digest| as a big-endian 98 static int digest_to_bn(BIGNUM *out, const uint8_t *digest, size_t digest_len, 105 if (8 * digest_len > num_bits) { 106 digest_len = (num_bits + 7) / 8 [all...] |
/external/chromium_org/third_party/boringssl/src/crypto/dsa/ |
dsa.c | 193 DSA_SIG *DSA_do_sign(const uint8_t *digest, size_t digest_len, DSA *dsa) { 195 return dsa->meth->sign(digest, digest_len, dsa); 197 return DSA_default_method.sign(digest, digest_len, dsa); 200 int DSA_do_verify(const uint8_t *digest, size_t digest_len, DSA_SIG *sig, 205 ret = dsa->meth->verify(&valid, digest, digest_len, sig, dsa); 207 ret = DSA_default_method.verify(&valid, digest, digest_len, sig, dsa); 219 size_t digest_len, DSA_SIG *sig, const DSA *dsa) { 221 return dsa->meth->verify(out_valid, digest, digest_len, sig, dsa); 224 return DSA_default_method.verify(out_valid, digest, digest_len, sig, dsa); 227 int DSA_sign(int type, const uint8_t *digest, size_t digest_len, [all...] |
dsa_impl.c | 77 BIGNUM **rp, const uint8_t *digest, size_t digest_len) { 110 if (digest_len > 0) { 111 ok = BN_generate_dsa_nonce(&k, dsa->q, dsa->priv_key, digest, digest_len, 187 static DSA_SIG *sign(const uint8_t *digest, size_t digest_len, DSA *dsa) { 226 if (digest_len > BN_num_bytes(dsa->q)) { 230 digest_len = BN_num_bytes(dsa->q); 233 if (BN_bin2bn(digest, digest_len, &m) == NULL) { 288 static int verify(int *out_valid, const uint8_t *dgst, size_t digest_len, 342 if (digest_len > (i >> 3)) { 346 digest_len = (i >> 3) [all...] |
/external/chromium_org/crypto/ |
encryptor_nss.cc | 139 unsigned int digest_len; local 142 &digest_len, 149 output->resize(op_len + digest_len); 185 unsigned int digest_len; local 188 &digest_len, 192 CHECK(!digest_len);
|
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
transportchannelimpl.h | 107 size_t digest_len) = 0;
|
rawtransportchannel.h | 163 size_t digest_len) {
|
dtlstransportchannel.cc | 210 size_t digest_len) { 212 rtc::Buffer remote_fingerprint_value(digest, digest_len);
|
/external/chromium_org/net/android/ |
keystore_unittest.cc | 241 int digest_len = static_cast<int>(message.size()); local 247 0, digest, digest_len, sigbuf, siglen, pub_key.get()); 265 unsigned int digest_len = static_cast<unsigned int>(message.size()); local 285 NID_md5_sha1, digest, digest_len, p, &p_len, rsa.get()); 308 0, digest, digest_len, p, &p_len, ecdsa.get());
|
keystore_openssl.cc | 455 size_t digest_len, 468 digest_len); local 490 size_t digest_len,
|
/external/chromium_org/net/ssl/ |
openssl_platform_key_mac.cc | 363 size_t digest_len, 377 ex_data, &out_len, sig, ECDSA_size(ec_key), digest, digest_len); 385 size_t digest_len,
|
/external/chromium_org/third_party/libjingle/source/talk/session/tunnel/ |
securetunnelsessionclient.cc | 383 size_t digest_len; local 384 peer_cert->ComputeDigest(algorithm, digest, ARRAY_SIZE(digest), &digest_len); 385 ssl_stream->SetPeerCertificateDigest(algorithm, digest, digest_len);
|
/external/chromium_org/third_party/boringssl/src/ssl/ |
t1_enc.c | 1011 unsigned int digest_len; local 1025 !EVP_DigestFinal_ex(&ctx, out, &digest_len) || 1026 digest_len != (unsigned int)hash_size) /* internal error */ 1031 out += digest_len; 1032 out_len -= digest_len; 1033 len += digest_len; [all...] |
/external/openssl/ssl/ |
t1_enc.c | 915 unsigned int digest_len; local 929 !EVP_DigestFinal_ex(&ctx, out, &digest_len) || 930 digest_len != (unsigned int)hash_size) /* internal error */ 935 out += digest_len; 936 out_len -= digest_len; 937 len += digest_len; [all...] |