/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/ecdsa/ |
H A D | ecs_vrf.c | 84 const unsigned char *sigbuf, int sig_len, EC_KEY *eckey) 91 if (d2i_ECDSA_SIG(&s, &sigbuf, sig_len) == NULL) goto err; 83 ECDSA_verify(int type, const unsigned char *dgst, int dgst_len, const unsigned char *sigbuf, int sig_len, EC_KEY *eckey) argument
|
H A D | ecdsatest.c | 296 unsigned int sig_len, degree, r_len, s_len, bn_len, buf_len; local 387 sig_len = ECDSA_size(eckey); 388 if ((signature = OPENSSL_malloc(sig_len)) == NULL) 390 if (!ECDSA_sign(0, digest, 20, signature, &sig_len, eckey)) 398 if (ECDSA_verify(0, digest, 20, signature, sig_len, eckey) != 1) 406 if (ECDSA_verify(0, digest, 20, signature, sig_len, 415 if (ECDSA_verify(0, wrong_digest, 20, signature, sig_len, 424 if (ECDSA_verify(0, digest, 20, signature, sig_len - 1, 437 if ((ecdsa_sig = d2i_ECDSA_SIG(NULL, &sig_ptr, sig_len)) == NULL) 470 sig_len [all...] |
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/demos/sign/ |
H A D | sign.c | 80 int sig_len; local 111 sig_len = sizeof(sig_buf); 112 err = EVP_SignFinal (&md_ctx, sig_buf, &sig_len, pkey); 144 err = EVP_VerifyFinal (&md_ctx, sig_buf, sig_len, pkey);
|
/netbsd-6-1-5-RELEASE/external/bsd/pkg_install/dist/lib/ |
H A D | gpgsig.c | 158 detached_gpg_sign(const char *content, size_t len, char **sig, size_t *sig_len, argument 228 *sig_len = 0; 232 while ((ret = read(fd_out[0], *sig + *sig_len, 233 allocated - *sig_len)) > 0) { 234 *sig_len += ret; 235 if (*sig_len == allocated) {
|
/netbsd-6-1-5-RELEASE/dist/dhcp/includes/isc-dhcp/ |
H A D | dst.h | 27 const unsigned sig_len); /* size of output buffer */ 35 const unsigned sig_len); /* length of signature */
|
/netbsd-6-1-5-RELEASE/crypto/external/cpl/trousers/dist/src/trspi/crypto/openssl/ |
H A D | rsa.c | 120 BYTE *pSignature, UINT32 sig_len) 163 rv = RSA_public_decrypt(sig_len, pSignature, buf, rsa, RSA_PKCS1_PADDING); 172 if ((rv = RSA_verify(nid, pHash, iHashLength, pSignature, sig_len, rsa)) == 0) { 118 Trspi_Verify(UINT32 HashType, BYTE *pHash, UINT32 iHashLength, unsigned char *pModulus, int iKeyLength, BYTE *pSignature, UINT32 sig_len) argument
|
/netbsd-6-1-5-RELEASE/dist/dhcp/dst/ |
H A D | dst_internal.h | 76 u_int8_t *signature, const unsigned sig_len); 79 const u_int8_t *signature, const unsigned sig_len);
|
H A D | hmac_link.c | 72 * sig_len size of the signature location 82 u_char *signature, const unsigned sig_len) 108 if (signature == NULL || sig_len < MD5_LEN) 141 * sig_len length in bytes of signature. 150 const u_char *signature, const unsigned sig_len) 175 if (signature == NULL || key == NULL || sig_len != MD5_LEN) 80 dst_hmac_md5_sign(const int mode, DST_KEY *d_key, void **context, const u_char *data, const unsigned len, u_char *signature, const unsigned sig_len) argument 148 dst_hmac_md5_verify(const int mode, DST_KEY *d_key, void **context, const u_char *data, const unsigned len, const u_char *signature, const unsigned sig_len) argument
|
H A D | dst_api.c | 241 * sig_len Length of the signature field in bytes. 251 u_char *signature, const unsigned sig_len) 261 signature, sig_len)); 286 * sig_len Length of the signature in bytes. 295 const u_char *signature, const unsigned sig_len) 305 signature, sig_len)); 249 dst_sign_data(const int mode, DST_KEY *in_key, void **context, const u_char *data, const unsigned len, u_char *signature, const unsigned sig_len) argument 293 dst_verify_data(const int mode, DST_KEY *in_key, void **context, const u_char *data, const unsigned len, const u_char *signature, const unsigned sig_len) argument
|
/netbsd-6-1-5-RELEASE/external/bsd/libbind/dist/dst/ |
H A D | dst_internal.h | 84 u_int8_t *signature, const int sig_len); 87 const u_int8_t *signature, const int sig_len);
|
H A D | hmac_link.c | 82 * sig_len size of the signature location 92 u_char *signature, const int sig_len) 119 if (signature == NULL || sig_len < MD5_LEN) 152 * sig_len length in bytes of signature. 161 const u_char *signature, const int sig_len) 186 if (signature == NULL || key == NULL || sig_len != MD5_LEN) 90 dst_hmac_md5_sign(const int mode, DST_KEY *d_key, void **context, const u_char *data, const int len, u_char *signature, const int sig_len) argument 159 dst_hmac_md5_verify(const int mode, DST_KEY *d_key, void **context, const u_char *data, const int len, const u_char *signature, const int sig_len) argument
|
H A D | dst_api.c | 237 * sig_len Length of the signature field in bytes. 247 u_char *signature, const int sig_len) 257 signature, sig_len)); 281 * sig_len Length of the signature in bytes. 290 const u_char *signature, const int sig_len) 300 signature, sig_len)); 245 dst_sign_data(const int mode, DST_KEY *in_key, void **context, const u_char *data, const int len, u_char *signature, const int sig_len) argument 288 dst_verify_data(const int mode, DST_KEY *in_key, void **context, const u_char *data, const int len, const u_char *signature, const int sig_len) argument
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hcrypto/ |
H A D | dsa.c | 120 const unsigned char *sig, int sig_len, DSA *dsa) 119 DSA_verify(int type, const unsigned char * digest, int digest_len, const unsigned char *sig, int sig_len, DSA *dsa) argument
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/roken/ |
H A D | resolve.c | 278 size_t sig_len, hostlen; local 299 sig_len = size - 18 - status; 302 + hostlen + sig_len); 317 rr->u.sig->sig_len = sig_len; 318 memcpy (rr->u.sig->sig_data, p + 18 + status, sig_len); 319 rr->u.sig->signer = &rr->u.sig->sig_data[sig_len]; 823 size_t sig_len, hostlen; local 830 sig_len = pRec->wDataLength; 835 + hostlen + sig_len); [all...] |
H A D | resolve.h | 158 size_t sig_len; member in struct:rk_sig_record
|
/netbsd-6-1-5-RELEASE/usr.sbin/syslogd/ |
H A D | sign.c | 860 unsigned sig_len = 0; local 885 SSL_CHECK_ONE(EVP_SignFinal(GlobalSign.sigctx, sig_value, &sig_len, 888 b64_ntop(sig_value, sig_len, (char *)sig_b64, sizeof(sig_b64));
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssh/dist/ |
H A D | key.c | 1806 u_int i, ca_len, sig_len; local 1898 if (key_sign(ca, &sig_blob, &sig_len, buffer_ptr(&k->cert->certblob), 1905 buffer_put_string(&k->cert->certblob, sig_blob, sig_len);
|
/netbsd-6-1-5-RELEASE/crypto/external/cpl/trousers/dist/src/include/trousers/ |
H A D | trousers.h | 201 BYTE *pSignature, UINT32 sig_len);
|