Home
last modified time | relevance | path

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

/openssl/crypto/asn1/
H A Df_int.c56 unsigned char *bufp; in a2i_ASN1_INTEGER() local
89 bufp = (unsigned char *)buf; in a2i_ASN1_INTEGER()
92 if ((bufp[0] == '0') && (bufp[1] == '0')) { in a2i_ASN1_INTEGER()
93 bufp += 2; in a2i_ASN1_INTEGER()
116 m = OPENSSL_hexchar2int(bufp[k + n]); in a2i_ASN1_INTEGER()
H A Df_string.c50 unsigned char *bufp; in a2i_ASN1_STRING() local
87 bufp = (unsigned char *)buf; in a2i_ASN1_STRING()
108 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.c44 unsigned char *bufp; in test_certs() local
70 if ((buf = bufp = OPENSSL_malloc(len)) == NULL) { in test_certs()
75 enclen = i2d(cert, &bufp); in test_certs()
82 enclen = (long) (bufp - buf); in test_certs()
H A Dparams_api_test.c598 char buf[100], buf2[100], *bufp, *bufp2; in test_param_construct() local
627 params[n++] = OSSL_PARAM_construct_utf8_ptr("utf8ptr", &bufp, 0); in test_param_construct()
682 bufp = NULL; in test_param_construct()
686 || !TEST_true(OSSL_PARAM_get_utf8_string(cp, &bufp, 0)) in test_param_construct()
687 || !TEST_str_eq(bufp, "abcdef")) { in test_param_construct()
688 OPENSSL_free(bufp); in test_param_construct()
691 OPENSSL_free(bufp); in test_param_construct()
692 bufp = buf2; in test_param_construct()
693 if (!TEST_true(OSSL_PARAM_get_utf8_string(cp, &bufp, sizeof(buf2))) in test_param_construct()
698 bufp = buf; in test_param_construct()
[all …]
H A Djson_test.c551 BUF_MEM *bufp = NULL; in run_script() local
661 if (!TEST_true(BIO_get_mem_ptr(h.mem_bio, &bufp))) in run_script()
664 if (!TEST_mem_eq(bufp->data, bufp->length, in run_script()
/openssl/test/testutil/
H A Dformat_output.c278 unsigned char buffer[MEM_BUFFER_SIZE * 2], *bufp = buffer; in test_fail_bignum_common() local
302 if (len > MEM_BUFFER_SIZE && (bufp = OPENSSL_malloc(len * 2)) == NULL) { in test_fail_bignum_common()
303 bufp = buffer; in test_fail_bignum_common()
309 m1 = bufp; in test_fail_bignum_common()
313 m2 = bufp + len; in test_fail_bignum_common()
357 if (bufp != buffer) in test_fail_bignum_common()
358 OPENSSL_free(bufp); in test_fail_bignum_common()
/openssl/crypto/evp/
H A Dctrl_params_translate.c210 void *bufp; member
698 ctx->p2 = &ctx->bufp; in default_fixup_args()

Completed in 27 milliseconds