/external/boringssl/src/crypto/evp/ |
sign.c | 84 size_t sig_len = EVP_PKEY_size(pkey); local 97 !EVP_PKEY_sign(pkctx, sig, &sig_len, m, m_len)) { 100 *out_sig_len = sig_len; 123 int EVP_VerifyFinal(EVP_MD_CTX *ctx, const uint8_t *sig, size_t sig_len, 145 ret = EVP_PKEY_verify(pkctx, sig, sig_len, m, m_len);
|
evp_extra_test.cc | 463 size_t sig_len = 0; local 464 if (!EVP_DigestSignFinal(md_ctx.get(), NULL, &sig_len)) { 468 if (sig_len != (size_t)EVP_PKEY_size(pkey.get())) { 469 fprintf(stderr, "sig_len mismatch\n"); 474 sig.resize(sig_len); 475 if (!EVP_DigestSignFinal(md_ctx.get(), sig.data(), &sig_len)) { 478 sig.resize(sig_len); 485 !EVP_DigestVerifyFinal(md_ctx.get(), sig.data(), sig_len)) { 520 size_t sig_len = 0; local 521 if (!EVP_DigestSignFinal(md_ctx, NULL, &sig_len)) { [all...] |
/external/dbus/dbus/ |
dbus-marshal-byteswap.c | 147 dbus_uint32_t sig_len; local 149 sig_len = *p; 151 p += (sig_len + 2); /* +2 for len and nul */ 160 dbus_uint32_t sig_len; local 165 sig_len = *p; 168 _dbus_string_init_const_len (&sig, p, sig_len); 170 p += (sig_len + 1); /* 1 for nul */
|
dbus-marshal-recursive.c | 277 int sig_len; local 286 sig_len = _dbus_string_get_byte (sub->value_str, sub->value_pos); 291 sub->value_pos = sub->type_pos + sig_len + 1; 2461 int sig_len; local [all...] |
dbus-marshal-recursive-util.c | 1154 int sig_len; local [all...] |
/external/vboot_reference/utility/ |
verify_data.c | 52 int i, algorithm, sig_len; local 74 sig_len = siglen_map[algorithm]; 76 (signature = read_signature(argv[3], sig_len)) && 78 if (RSAVerify(key, signature, sig_len, algorithm, digest)) {
|
/external/vboot_reference/tests/ |
rsa_verify_benchmark.c | 25 uint64_t digest_len, sig_len; local 58 signature = BufferFromFile(file_name, &sig_len); 67 if (!RSAVerify(key, signature, sig_len, algorithm, digest))
|
/external/boringssl/src/crypto/ecdsa/ |
ecdsa_test.cc | 214 unsigned sig_len = ECDSA_size(eckey.get()); local 215 std::vector<uint8_t> signature(sig_len); 216 if (!ECDSA_sign(0, digest, 20, signature.data(), &sig_len, eckey.get())) { 220 signature.resize(sig_len);
|
/external/boringssl/src/tool/ |
speed.cc | 141 unsigned sig_len; local 145 [key, &sig, &fake_sha256_hash, &sig_len]() -> bool { 147 sig.get(), &sig_len, key); 156 [key, &fake_sha256_hash, &sig, sig_len]() -> bool { 158 sizeof(fake_sha256_hash), sig.get(), sig_len, key); 363 unsigned sig_len; local 366 if (!TimeFunction(&results, [&key, &signature, &digest, &sig_len]() -> bool { 367 return ECDSA_sign(0, digest, sizeof(digest), signature, &sig_len, 375 if (!TimeFunction(&results, [&key, &signature, &digest, sig_len]() -> bool { 376 return ECDSA_verify(0, digest, sizeof(digest), signature, sig_len, [all...] |
/hardware/qcom/keymaster/ |
keymaster_qcom.h | 173 * sig_len : Signed data length 179 size_t sig_len; member in struct:keymaster_sign_data_resp
|
/external/boringssl/src/ssl/ |
s3_clnt.c | 1792 size_t sig_len; local [all...] |
s3_srvr.c | 1296 size_t sig_len; local [all...] |