Sponsored Content
Special Forums Hardware Figuring out if Ubuntu will work (completely) with an Acer One (w/ AMD fusion chips) Post 302498507 by Corona688 on Monday 21st of February 2011 02:58:38 PM
Old 02-21-2011
Probably needs a hardware-specific driver tweak. Laptop hardware is weird. What tweak, and where to put it how, depends entirely on the laptop and the distro.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix (not Linux) on x86 chips?

Hi everyone- I'm creating an asset database for our company and the previous person who worked on this began categorizing servers in this manner: Hardware Server Windows (or Unix) I stated that Windows and Unix are software, not hardware and don't describe the physical box in any way.... (4 Replies)
Discussion started by: robywar
4 Replies

2. Ubuntu

Not able to access wi-fi from ubuntu 9.04 -AMD 64-bit.

Hi, I am not able to access wi-fi network from my laptop HP-DV6-1111au. Please suggest how can i load a driver for the device and set the network right!! (3 Replies)
Discussion started by: guru_gyan
3 Replies

3. Ubuntu

Microphone doesn't work in Ubuntu 10.04

When I try to speak to the microphone, there is no echo in the speaker. I test it again by dialing Skype, there is still no sound in my side while I can hear the other side. What can I do? Thanks in advance! (4 Replies)
Discussion started by: i2000s
4 Replies

4. What is on Your Mind?

What would you do with a Acer TravelMate 512DX

Hey guys, Not really sure where is best to post this so hope its under the right topic. :P I'm a first year Electronic Engineering student, so I don't know much yet, but I enjoy experimenting. I found one of my dad's old laptops, Acer TravelMate 512DX, took it apart, put the hardware back,... (10 Replies)
Discussion started by: Xethron
10 Replies

5. IP Networking

My router has UPnP, as do its work with ubuntu to automatically open ports

My router has UPnP,how to make it work with ubuntu to automatically open ports I try to open the following command " /sbin/iptables -I INPUT -d 0/0 -s 0/0 -p tcp --dport 21 -j ACCEPT" ,local only opens ,if i put the ip 192.168.1.68, it works correctly, if i`m put my external ip does not work,I... (9 Replies)
Discussion started by: dhalus
9 Replies

6. Shell Programming and Scripting

sed command works on Fedora/Ubuntu, but doesn't work in Mac

Hi, I have a question. I define a function using sed command: replace() { searchterm=$1 replaceterm=$2 sed -e "s/$searchterm/$replaceterm/ig" $3 > $WORK'tempfile.tmp' mv $WORK'tempfile.tmp' $3 } Then I call replace 'test = 0' 'test = 1' $myfileThis code works well in... (1 Reply)
Discussion started by: Dark2Bright
1 Replies

7. Shell Programming and Scripting

sed command works on Fedora/Ubuntu, but doesn't work in Mac

Hi, I have a question. I define a function using sed command: replace() { searchterm=$1 replaceterm=$2 sed -e "s/$searchterm/$replaceterm/ig" $3 > $WORK'tempfile.tmp' mv $WORK'tempfile.tmp' $3 } Then I call replace 'test = 0' 'test = 1' $myfile This code... (1 Reply)
Discussion started by: Dark2Bright
1 Replies

8. What is on Your Mind?

40 years of chips

I've been thinking about modern CPUs. Apart from x86 and SPARC, is there any other 'kind' of CPU used today in computers (not in playstation3, phones and similar) (6 Replies)
Discussion started by: orange47
6 Replies

9. OS X (Apple)

Apple looking to switch to using in-house ARM chips for their HW.

Hi guys and gals... Intel reportedly expects Apple to start the Mac's transition to ARM next year - 9to5Mac (0 Replies)
Discussion started by: wisecracker
0 Replies
LIBTOMCRYPT(3)						     Library Functions Manual						    LIBTOMCRYPT(3)

NAME
libtomcrypt - public domain open source crypthographic toolkit SYNOPSIS
#include <tomcrypt.h> Link with -ltomcrypt (use pkg-config --libs libtomcrypt) DESCRIPTION
libtomcrypt is documented in /usr/share/doc/libtomcrypt-dev/crypt.pdf. To give you a very brief introduction, the following example is pro- vided. EXAMPLE
/* AES-XTS example for libtomcrypt. (c) 2008 Michael Stapelberg, Public Domain */ #include <stdint.h> #include <string.h> #include <tomcrypt.h> static symmetric_xts xts; /* * Initializes AES-XTS for use with encrypt(). Key must be at least 32 bytes long, only * the first 32 bytes will be used. * */ void initialize_xts(unsigned char *key) { int idx, err; unsigned char aeskey1[16], aeskey2[16]; /* You can use 32 different ciphers simultaneously. Before using a cipher, you must register it. */ register_cipher(&aes_desc); /* Get the index of the cipher registered before */ if ((idx = find_cipher("aes")) == -1) { fprintf(stderr, "ERROR: AES not available in libtomcrypt. Please upgrade/fix libtomcrypt. "); exit(EXIT_FAILURE); } /* Set up the two private keys required by AES-XTS (see 3.4.10 of crypt.pdf) */ strncpy((char*)aeskey1, key, 16); strncpy((char*)aeskey2, key+16, 16); printf("Initializing with keys "%.16s" and "%.16s" (AES-XTS) ", aeskey1, aeskey2); /* Initialize AES-XTS */ if ((err = xts_start(idx, aeskey1, aeskey2, 16, 0, &xts)) != CRYPT_OK) { fprintf(stderr, "ERROR starting XTS: %s ", error_to_string(err)); exit(EXIT_FAILURE); } } /* * Encrypts the input (of input_size) and stores the result in output. The piece index * is required because XTS wants a tweak for each block so that it doesn't generate * patterns which would be visible in the encrypted output. * */ void encrypt(const uint8_t *input, uint8_t *output, int input_size, int piece_idx) { unsigned char tweak[256]; int err; memset(tweak, '', 256); snprintf((char*)tweak, 256, "%d", piece_idx); if ((err = xts_encrypt(input, input_size, output, tweak, &xts)) != CRYPT_OK) { fprintf(stderr, "ERROR in AES encryption: %d: %s ", err, error_to_string(err)); exit(EXIT_FAILURE); } } SEE ALSO
pkg-config(1) AUTHOR
libtomcrypt was written by Tom St Denis. This manual page was written by Michael Stapelberg <michael@stapelberg.de>, for the Debian project (and may be used by others). June 2009 LIBTOMCRYPT(3)
All times are GMT -4. The time now is 05:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy