Home
last modified time | relevance | path

Searched refs:mbuf (Results 1 – 4 of 4) sorted by relevance

/openssl/apps/
H A Ds_client.c988 mbuf = app_malloc(BUFSIZZ, "mbuf"); in s_client_main()
2457 …> 3 && (!isdigit((unsigned char)mbuf[0]) || !isdigit((unsigned char)mbuf[1]) || !isdigit((unsigned… in s_client_main()
2479 mbuf[seen] = '\0'; in s_client_main()
2482 && !strstr(mbuf, in s_client_main()
2490 mbuf[seen] = '\0'; in s_client_main()
2502 mbuf[0] = '\0'; in s_client_main()
2736 mbuf[mbuf_len] = '\0'; in s_client_main()
2761 make_uppercase(mbuf); in s_client_main()
2779 mbuf[mbuf_len] = '\0'; in s_client_main()
2788 strncpy(sbuf, mbuf, 2); in s_client_main()
[all …]
H A Dpkeyutl.c809 unsigned char *mbuf = NULL; in do_raw_keyop() local
819 mbuf = app_malloc(filesize, "oneshot sign/verify buffer"); in do_raw_keyop()
822 buf_len = BIO_read(in, mbuf, filesize); in do_raw_keyop()
827 rv = EVP_DigestVerify(mctx, sig, (size_t)siglen, mbuf, buf_len); in do_raw_keyop()
830 buf_len = BIO_read(in, mbuf, filesize); in do_raw_keyop()
835 rv = EVP_DigestSign(mctx, NULL, poutlen, mbuf, buf_len); in do_raw_keyop()
838 rv = EVP_DigestSign(mctx, *out, poutlen, mbuf, buf_len); in do_raw_keyop()
887 OPENSSL_free(mbuf); in do_raw_keyop()
H A Denc.c130 char mbuf[sizeof(magic) - 1]; in enc_main() local
536 if (BIO_read(rbio, mbuf, sizeof(mbuf)) != sizeof(mbuf)) { in enc_main()
540 if (memcmp(mbuf, magic, sizeof(mbuf)) == 0) { /* file IS salted */ in enc_main()
/openssl/crypto/http/
H A Dhttp_client.c1390 char *mbuf = OPENSSL_malloc(BUF_SIZE); in OSSL_HTTP_proxy_connect() local
1406 if (mbuf == NULL || fbio == NULL) { in OSSL_HTTP_proxy_connect()
1469 read_len = BIO_gets(fbio, mbuf, BUF_SIZE); in OSSL_HTTP_proxy_connect()
1475 mbufp = mbuf; in OSSL_HTTP_proxy_connect()
1497 while (read_len > 0 && ossl_isspace(mbuf[read_len - 1])) in OSSL_HTTP_proxy_connect()
1499 mbuf[read_len] = '\0'; in OSSL_HTTP_proxy_connect()
1516 read_len = BIO_gets(fbio, mbuf, BUF_SIZE); in OSSL_HTTP_proxy_connect()
1525 OPENSSL_free(mbuf); in OSSL_HTTP_proxy_connect()

Completed in 36 milliseconds