/external/boringssl/src/crypto/evp/ |
D | p_ec.c | 117 static int pkey_ec_sign(EVP_PKEY_CTX *ctx, uint8_t *sig, size_t *siglen, in pkey_ec_sign() argument 123 *siglen = ECDSA_size(ec); in pkey_ec_sign() 125 } else if (*siglen < (size_t)ECDSA_size(ec)) { in pkey_ec_sign() 133 *siglen = (size_t)sltmp; in pkey_ec_sign() 137 static int pkey_ec_verify(EVP_PKEY_CTX *ctx, const uint8_t *sig, size_t siglen, in pkey_ec_verify() argument 139 return ECDSA_verify(0, tbs, tbslen, sig, siglen, ctx->pkey->pkey.ec); in pkey_ec_verify()
|
D | p_rsa.c | 166 static int pkey_rsa_sign(EVP_PKEY_CTX *ctx, uint8_t *sig, size_t *siglen, in pkey_rsa_sign() argument 173 *siglen = key_len; in pkey_rsa_sign() 177 if (*siglen < key_len) { in pkey_rsa_sign() 200 *siglen = out_len; in pkey_rsa_sign() 207 !RSA_sign_raw(rsa, siglen, sig, *siglen, rctx->tbuf, key_len, in pkey_rsa_sign() 218 return RSA_sign_raw(rsa, siglen, sig, *siglen, tbs, tbslen, rctx->pad_mode); in pkey_rsa_sign() 222 size_t siglen, const uint8_t *tbs, in pkey_rsa_verify() argument 232 return RSA_verify(EVP_MD_type(rctx->md), tbs, tbslen, sig, siglen, rsa); in pkey_rsa_verify() 241 !RSA_verify_raw(rsa, &rslen, rctx->tbuf, key_len, sig, siglen, in pkey_rsa_verify() 255 !RSA_verify_raw(rsa, &rslen, rctx->tbuf, key_len, sig, siglen, in pkey_rsa_verify()
|
D | internal.h | 205 int (*sign)(EVP_PKEY_CTX *ctx, uint8_t *sig, size_t *siglen, 208 int (*verify)(EVP_PKEY_CTX *ctx, const uint8_t *sig, size_t siglen,
|
/external/openssh/ |
D | ssh-rsa.c | 214 u_char *sigbuf, size_t siglen, RSA *rsa) in openssh_RSA_verify() argument 237 siglen == 0 || siglen > rsasize) { in openssh_RSA_verify() 245 if ((len = RSA_public_decrypt(siglen, sigbuf, decrypted, rsa, in openssh_RSA_verify()
|
D | key.c | 139 size_t siglen; in key_sign() local 145 if ((r = sshkey_sign(key, &sig, &siglen, in key_sign() 151 if (siglen > INT_MAX) in key_sign() 152 fatal("%s: giant len %zu", __func__, siglen); in key_sign() 156 *lenp = siglen; in key_sign()
|
D | sshconnect2.c | 1587 size_t siglen = 0, keylen = 0; in userauth_hostbased() local 1685 r = ssh_keysign(private, &sig, &siglen, in userauth_hostbased() 1687 else if ((r = sshkey_sign(private, &sig, &siglen, in userauth_hostbased() 1703 (r = sshpkt_put_string(ssh, sig, siglen)) != 0 || in userauth_hostbased() 1712 explicit_bzero(sig, siglen); in userauth_hostbased()
|
D | monitor.c | 696 size_t datlen, siglen; in mm_answer_sign() local 750 if ((r = sshkey_sign(key, &signature, &siglen, p, datlen, in mm_answer_sign() 756 if ((r = ssh_agent_sign(auth_sock, key, &signature, &siglen, in mm_answer_sign() 765 is_proof ? "KEX" : "hostkey proof", signature, siglen); in mm_answer_sign() 768 if ((r = sshbuf_put_string(m, signature, siglen)) != 0) in mm_answer_sign()
|
D | monitor_wrap.c | 446 mm_key_verify(Key *key, u_char *sig, u_int siglen, u_char *data, u_int datalen) in mm_key_verify() argument 461 buffer_put_string(&m, sig, siglen); in mm_key_verify()
|
D | sshkey.c | 2212 const u_char *sig, size_t siglen, in sshkey_verify() argument 2215 if (siglen == 0 || dlen > SSH_KEY_MAX_SIGN_DATA_SIZE) in sshkey_verify() 2221 return ssh_dss_verify(key, sig, siglen, data, dlen, compat); in sshkey_verify() 2225 return ssh_ecdsa_verify(key, sig, siglen, data, dlen, compat); in sshkey_verify() 2229 return ssh_rsa_verify(key, sig, siglen, data, dlen, compat); in sshkey_verify() 2233 return ssh_ed25519_verify(key, sig, siglen, data, dlen, compat); in sshkey_verify()
|
D | clientloop.c | 2262 size_t siglen; in client_global_hostkeys_private_confirm() local 2295 if ((r = sshpkt_get_string_direct(ssh, &sig, &siglen)) != 0) { in client_global_hostkeys_private_confirm() 2300 if ((r = sshkey_verify(ctx->keys[i], sig, siglen, in client_global_hostkeys_private_confirm()
|
/external/boringssl/src/crypto/dsa/ |
D | dsa_test.cc | 225 unsigned int siglen; in TestGenerate() local 277 !DSA_sign(0, fips_digest, sizeof(fips_digest), sig, &siglen, dsa.get())) { in TestGenerate() 280 if (DSA_verify(0, fips_digest, sizeof(fips_digest), sig, siglen, dsa.get()) != in TestGenerate()
|
/external/boringssl/src/include/openssl/ |
D | rsa.h | 541 uint8_t *sigret, unsigned int *siglen, const RSA *rsa); 545 const uint8_t *sigbuf, unsigned int siglen, const RSA *rsa);
|
D | evp.h | 513 size_t siglen);
|
D | pem.h | 413 OPENSSL_EXPORT int PEM_SignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, unsigned int *siglen, EVP_…
|
/external/valgrind/include/vki/ |
D | vki-solaris.h | 328 vki_uint32_t siglen; member
|
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-solaris.c | 8511 p->vki_da_u.result.siglen); 8614 p->vki_da_u.result.siglen);
|