/external/boringssl/src/crypto/fipsmodule/rsa/ |
rsa.c | 485 const uint8_t *sig, size_t sig_len, RSA *rsa) { 509 if (!RSA_verify_raw(rsa, &len, buf, rsa_size, sig, sig_len, 538 const uint8_t *sig, size_t sig_len) { 552 if (!RSA_verify_raw(rsa, &em_len, em, em_len, sig, sig_len, RSA_NO_PADDING)) { 755 unsigned sig_len = RSA_size(key); local 756 uint8_t *sig = OPENSSL_malloc(sig_len); 762 if (!RSA_sign(NID_sha256, data, sizeof(data), sig, &sig_len, key)) { 770 if (!RSA_verify(NID_sha256, data, sizeof(data), sig, sig_len, key)) {
|
/external/boringssl/src/include/openssl/ |
dsa.h | 216 size_t sig_len, const DSA *dsa); 226 size_t sig_len, const DSA *dsa);
|
ec_key.h | 256 unsigned int *sig_len, EC_KEY *eckey);
|
rsa.h | 245 /* RSA_verify verifies that |sig_len| bytes from |sig| are a valid, 257 const uint8_t *sig, size_t sig_len, RSA *rsa); 259 /* RSA_verify_pss_mgf1 verifies that |sig_len| bytes from |sig| are a valid, 274 const uint8_t *sig, size_t sig_len);
|
/external/syslinux/gpxe/src/crypto/axtls/ |
crypto.h | 178 bigint *RSA_sign_verify(BI_CTX *ctx, const uint8_t *sig, int sig_len, 236 uint16_t sig_len; member in struct:_x509_ctx
|
/external/boringssl/src/crypto/dsa/ |
dsa.c | 736 const uint8_t *sig, size_t sig_len, const DSA *dsa) { 738 if (!DSA_check_signature(&valid, digest, digest_len, sig, sig_len, dsa)) { 745 size_t digest_len, const uint8_t *sig, size_t sig_len, 757 if (d2i_DSA_SIG(&s, &sigp, sig_len) == NULL || sigp != sig + sig_len) { 763 if (der_len < 0 || (size_t)der_len != sig_len || 764 OPENSSL_memcmp(sig, der, sig_len)) {
|
dsa_test.cc | 289 static bool TestVerify(const uint8_t *sig, size_t sig_len, int expect) { 296 DSA_verify(0, fips_digest, sizeof(fips_digest), sig, sig_len, dsa.get());
|
/system/keymaster/ |
keymaster1_engine.cpp | 336 unsigned int* sig_len, EC_KEY* ec_key) { 353 *sig_len = std::min(output.data_length, ECDSA_size(ec_key)); 354 memcpy(sig, output.data, *sig_len);
|
/external/boringssl/src/crypto/evp/ |
internal.h | 212 const uint8_t *sig, size_t sig_len);
|
evp_extra_test.cc | 385 size_t sig_len = 0; local 386 ASSERT_TRUE(EVP_DigestSignFinal(md_ctx.get(), NULL, &sig_len)); 389 EXPECT_EQ(static_cast<size_t>(EVP_PKEY_size(pkey.get())), sig_len); 392 sig.resize(sig_len); 393 ASSERT_TRUE(EVP_DigestSignFinal(md_ctx.get(), sig.data(), &sig_len)); 394 sig.resize(sig_len); 401 ASSERT_TRUE(EVP_DigestVerifyFinal(md_ctx.get(), sig.data(), sig_len)); 423 unsigned sig_len = sizeof(sig); local 425 &sig_len, rsa.get())); 433 EVP_PKEY_verify_recover(ctx.get(), nullptr, &out_len, sig, sig_len)); [all...] |
p_rsa.c | 239 size_t sig_len) { 255 return RSA_verify_raw(rsa, out_len, out, *out_len, sig, sig_len, 278 if (!RSA_verify_raw(rsa, &rslen, rctx->tbuf, key_len, sig, sig_len,
|
/system/security/keystore-engine/ |
android_engine.cpp | 229 unsigned int* sig_len, EC_KEY* ec_key) { 257 // Reviewer: should't sig_len be checked here? Or is it just assumed that it is at least ecdsa_size? 259 *sig_len = reply_len;
|
/external/boringssl/src/ssl/ |
tls13_both.cc | 549 size_t sig_len; local 567 hs, sig, &sig_len, max_sig_len, signature_algorithm, msg, msg_len); 572 if (!CBB_did_write(&child, sig_len) ||
|
handshake_server.cc | 1111 size_t sig_len; local [all...] |
handshake_client.cc | 1764 size_t sig_len = max_sig_len; local [all...] |
/external/vboot_reference/tests/ |
rsa_utility_tests.c | 31 const uint32_t sig_len,
|
/hardware/qcom/keymaster/ |
keymaster_qcom.cpp | 532 resp->sig_len = KM_KEY_SIZE_MAX; 554 UniquePtr<uint8_t> signedDataPtr(reinterpret_cast<uint8_t*>(malloc(resp->sig_len))); 561 memcpy(p, (unsigned char *)(&resp->signed_data), resp->sig_len); 563 *signedDataLength = resp->sig_len;
|
/external/boringssl/src/crypto/rsa_extra/ |
rsa_test.cc | 693 unsigned sig_len; local [all...] |
/external/boringssl/src/crypto/fipsmodule/ |
bcm.c | 587 unsigned sig_len; local 594 &sig_len, rsa_key) ||
|
/external/openssh/ |
sshkey.c | 2385 size_t i, ca_len, sig_len; local [all...] |
/external/conscrypt/common/src/jni/main/cpp/ |
NativeCrypto.cpp | 724 unsigned int* sig_len, 759 *sig_len = static_cast<unsigned int>(signatureBytes.size()); [all...] |