Home
last modified time | relevance | path

Searched refs:bufp (Results 1 – 7 of 7) sorted by relevance

/openssl/crypto/asn1/
H A Df_int.c58 unsigned char *bufp; in a2i_ASN1_INTEGER() local
92 bufp = (unsigned char *)buf; in a2i_ASN1_INTEGER()
95 if ((bufp[0] == '0') && (bufp[1] == '0')) { in a2i_ASN1_INTEGER()
96 bufp += 2; in a2i_ASN1_INTEGER()
120 m = OPENSSL_hexchar2int(bufp[k + n]); in a2i_ASN1_INTEGER()
H A Df_string.c52 unsigned char *bufp; in a2i_ASN1_STRING() local
89 bufp = (unsigned char *)buf; in a2i_ASN1_STRING()
111 m = OPENSSL_hexchar2int(bufp[k + n]); in a2i_ASN1_STRING()
/openssl/fuzz/
H A Dserver.c523 const uint8_t *bufp; in FuzzerTestOneInput() local
551 bufp = kRSAPrivateKeyDER; in FuzzerTestOneInput()
552 privkey = d2i_RSAPrivateKey(NULL, &bufp, sizeof(kRSAPrivateKeyDER)); in FuzzerTestOneInput()
561 bufp = kCertificateDER; in FuzzerTestOneInput()
562 cert = d2i_X509(NULL, &bufp, sizeof(kCertificateDER)); in FuzzerTestOneInput()
/openssl/test/
H A Dx509aux.c45 unsigned char *bufp; in test_certs() local
71 if ((buf = bufp = OPENSSL_malloc(len)) == NULL) { in test_certs()
76 enclen = i2d(cert, &bufp); in test_certs()
83 enclen = (long) (bufp - buf); in test_certs()
H A Dparams_api_test.c516 char buf[100], buf2[100], *bufp, *bufp2; in test_param_construct() local
545 params[n++] = OSSL_PARAM_construct_utf8_ptr("utf8ptr", &bufp, 0); in test_param_construct()
600 bufp = NULL; in test_param_construct()
604 || !TEST_true(OSSL_PARAM_get_utf8_string(cp, &bufp, 0)) in test_param_construct()
605 || !TEST_str_eq(bufp, "abcdef")) { in test_param_construct()
606 OPENSSL_free(bufp); in test_param_construct()
609 OPENSSL_free(bufp); in test_param_construct()
610 bufp = buf2; in test_param_construct()
611 if (!TEST_true(OSSL_PARAM_get_utf8_string(cp, &bufp, sizeof(buf2))) in test_param_construct()
616 bufp = buf; in test_param_construct()
[all …]
/openssl/test/testutil/
H A Dformat_output.c279 unsigned char buffer[MEM_BUFFER_SIZE * 2], *bufp = buffer; in test_fail_bignum_common() local
303 if (len > MEM_BUFFER_SIZE && (bufp = OPENSSL_malloc(len * 2)) == NULL) { in test_fail_bignum_common()
304 bufp = buffer; in test_fail_bignum_common()
310 m1 = bufp; in test_fail_bignum_common()
314 m2 = bufp + len; in test_fail_bignum_common()
358 if (bufp != buffer) in test_fail_bignum_common()
359 OPENSSL_free(bufp); in test_fail_bignum_common()
/openssl/crypto/evp/
H A Dctrl_params_translate.c210 void *bufp; member

Completed in 58 milliseconds