Home
last modified time | relevance | path

Searched refs:buf_out (Results 1 – 5 of 5) sorted by relevance

/freebsd/crypto/openssl/crypto/asn1/
H A Da_sign.c32 unsigned char *p, *buf_in = NULL, *buf_out = NULL; in ASN1_sign() local
82 buf_out = OPENSSL_malloc(outll); in ASN1_sign()
83 if (buf_in == NULL || buf_out == NULL) { in ASN1_sign()
93 || !EVP_SignFinal(ctx, (unsigned char *)buf_out, in ASN1_sign()
100 signature->data = buf_out; in ASN1_sign()
101 buf_out = NULL; in ASN1_sign()
112 OPENSSL_clear_free((char *)buf_out, outll); in ASN1_sign()
157 unsigned char *buf_in = NULL, *buf_out = NULL; in ASN1_item_sign_ctx() local
275 buf_out = OPENSSL_malloc(outll); in ASN1_item_sign_ctx()
276 if (buf_in == NULL || buf_out == NULL) { in ASN1_item_sign_ctx()
[all …]
/freebsd/sys/dev/bhnd/cores/chipc/
H A Dchipc_spi.c214 uint8_t *buf_out; in chipc_spi_transfer() local
235 buf_out = (uint8_t *)cmd->tx_cmd; in chipc_spi_transfer()
238 if (chipc_spi_txrx(sc, buf_out[i], &(buf_in[i]))) in chipc_spi_transfer()
244 buf_out = (uint8_t *)cmd->tx_data; in chipc_spi_transfer()
247 if (chipc_spi_txrx(sc, buf_out[i], &(buf_in[i]))) in chipc_spi_transfer()
/freebsd/sys/dev/gpio/
H A Dgpiospi.c325 uint8_t *buf_in, *buf_out; in gpio_spi_transfer() local
351 buf_out = (uint8_t *)cmd->tx_cmd; in gpio_spi_transfer()
355 buf_in[i] = gpio_spi_txrx(sc, devi->cs, devi->mode, buf_out[i]); in gpio_spi_transfer()
360 buf_out = (uint8_t *)cmd->tx_data; in gpio_spi_transfer()
363 buf_in[i] = gpio_spi_txrx(sc, devi->cs, devi->mode, buf_out[i]); in gpio_spi_transfer()
/freebsd/crypto/openssl/apps/
H A Dpkeyutl.c112 unsigned char *buf_in = NULL, *buf_out = NULL, *sig = NULL; in pkeyutl_main() local
470 &buf_out, (size_t *)&buf_outlen); in pkeyutl_main()
480 buf_out = app_malloc(buf_outlen, "buffer output"); in pkeyutl_main()
482 buf_out, (size_t *)&buf_outlen, in pkeyutl_main()
497 if (!ASN1_parse_dump(out, buf_out, buf_outlen, 1, -1)) in pkeyutl_main()
500 BIO_dump(out, (char *)buf_out, buf_outlen); in pkeyutl_main()
502 BIO_write(out, buf_out, buf_outlen); in pkeyutl_main()
515 OPENSSL_free(buf_out); in pkeyutl_main()
/freebsd/sys/dev/iser/
H A Diser_initiator.c74 struct iser_data_buf *buf_out = &iser_pdu->data[ISER_DIR_OUT]; in iser_prepare_write_cmd() local
79 buf_out, in iser_prepare_write_cmd()