Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

shishi_authenticator_add_cksum_type(3) [debian man page]

shishi_authenticator_add_cksum_type(3)				      shishi				    shishi_authenticator_add_cksum_type(3)

NAME
shishi_authenticator_add_cksum_type - API function SYNOPSIS
#include <shishi.h> int shishi_authenticator_add_cksum_type(Shishi * handle, Shishi_asn1 authenticator, Shishi_key * key, int keyusage, int cksumtype, char * data, size_t datalen); ARGUMENTS
Shishi * handle shishi handle as allocated by shishi_init(). Shishi_asn1 authenticator authenticator as allocated by shishi_authenticator(). Shishi_key * key key to to use for encryption. int keyusage cryptographic key usage value to use in encryption. int cksumtype checksum to type to calculate checksum. char * data input array with data to calculate checksum on. size_t datalen size of input array with data to calculate checksum on. DESCRIPTION
Calculate checksum for data and store it in the authenticator. RETURN VALUE
Returns SHISHI_OK iff successful. REPORTING BUGS
Report bugs to <bug-shishi@gnu.org>. COPYRIGHT
Copyright (C) 2002-2010 Simon Josefsson. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. SEE ALSO
The full documentation for shishi is maintained as a Texinfo manual. If the info and shishi programs are properly installed at your site, the command info shishi should give you access to the complete manual. shishi 1.0.1 shishi_authenticator_add_cksum_type(3)

Check Out this Related Man Page

shishi_authenticator_add_random_subkey(3)			      shishi				 shishi_authenticator_add_random_subkey(3)

NAME
shishi_authenticator_add_random_subkey - API function SYNOPSIS
#include <shishi.h> int shishi_authenticator_add_random_subkey(Shishi * handle, Shishi_asn1 authenticator); ARGUMENTS
Shishi * handle shishi handle as allocated by shishi_init(). Shishi_asn1 authenticator authenticator as allocated by shishi_authenticator(). DESCRIPTION
Generate random subkey, of the default encryption type from configuration, and store it in the authenticator. RETURN VALUE
Returns SHISHI_OK iff successful. REPORTING BUGS
Report bugs to <bug-shishi@gnu.org>. COPYRIGHT
Copyright (C) 2002-2010 Simon Josefsson. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. SEE ALSO
The full documentation for shishi is maintained as a Texinfo manual. If the info and shishi programs are properly installed at your site, the command info shishi should give you access to the complete manual. shishi 1.0.1 shishi_authenticator_add_random_subkey(3)
Man Page

13 More Discussions You Might Find Interesting

1. AIX

how to calculate simple interest

can u help me with this (2 Replies)
Discussion started by: abhib45
2 Replies

2. AIX

calculate time

Hi, How do I calculate time? I need to create an alert if a process is running more than 30 minutes. I need to get the first time and then get another, calculate it if more than 30 mins and then alert it to pager. Can't find it in internet. Thanks in advance, itik (2 Replies)
Discussion started by: itik
2 Replies

3. Shell Programming and Scripting

read from a file and calculate values for a specified field

hi guys im running into a problem here im trying to calculate a sum a values from a field for example a hava a file caled <filename> and it has $3 fields, and i want toextract a group of values from field &1 and compute the sum of values from $3 accordingly this is my code so far... awk... (3 Replies)
Discussion started by: lucho_1
3 Replies

4. HP-UX

calculate average of multiple line data

I have a question as below and i need to write a shell or perl script for this query:My Input file looks like below RNo Marks 12 50 15 70 18 80 12 40 13 55 18 88 13 75... (4 Replies)
Discussion started by: smacherla
4 Replies

5. Shell Programming and Scripting

Calculate Gigabyte and Terabyte

Guy's I need help calculating a list of numbers that will be majority Terabytes but also have Gigabytes intermingled. So far when I calculate this, the Gigabytes throw off my true Terabyte total. Here is a list…… total 1.56 TB ,Mon Jun 09 23:59:11 2008 total 3.42 TB ,Tue Jun 10 23:59:10 2008... (3 Replies)
Discussion started by: terryporter51
3 Replies

6. UNIX for Dummies Questions & Answers

How to Calculate on a Ubuntu Server

hi guys. is there a way to calculate numbers and get the accurate results as oppose to the results one gets from using the expr command. i want to be able to calculate numbers like 1/3 and get the exact results. any help on this is much appreciated. thanks guys with expr, 1 diveded by 3 =... (4 Replies)
Discussion started by: SkySmart
4 Replies

7. Programming

calculate IP Header checksum manually

Hello everybody, I'm reading and learning a lot about TCP/IP protocols, and i want to know how to calculate the IP header checksum manually. I've searched for it EVERYWHERE! and none of options work. I've read a function that does it pretty good, but i can't "translate" it into a human form so... (3 Replies)
Discussion started by: semash!
3 Replies

8. Shell Programming and Scripting

Extracting the checksum

I wanted a script that can give the checksum of a particular zipped file. Can somebody help me in writing a shell script in getting the checksum of a particular tar file. (1 Reply)
Discussion started by: vkca
1 Replies

9. Shell Programming and Scripting

Calculate P Value -Awk

Is there any awk command to calculate P Value ?(Probability) Is it possib;e to calculate P va;ue for this data for ex? 7.891284 8.148193 7.749575 7.958188 7.887702 7.714877 8.141548 7.51845 8.27736 7.929853 7.92456 8.249126 7.989113 8.012573 8.351206 (2 Replies)
Discussion started by: stateperl
2 Replies

10. Shell Programming and Scripting

perl-data from file save to multidimensional array

i have a file,like 1 3 4 5 6 7 8 9 i want to save it into an array. and then i want to get every element, because i want to use them to calculate. for example: i want to calculate 1 + 3. but i cannot reach my goal. open (FILE, "<", "number"); my @arr; while (<FILE>){ chomp;... (1 Reply)
Discussion started by: pp-zz
1 Replies

11. Shell Programming and Scripting

How to calculate unix epoch time with DC(Calculator)

Hi All, In our code we are using below code to calculate the UNIX Epoch Time from the time stamp present in the file. Can any one explain how the DC operates in below command and how we calculate the UNIX EPOCH time from this. Date incide the file is 20:26:51 Output we get is 1289943554... (3 Replies)
Discussion started by: mithunpatel
3 Replies

12. UNIX for Dummies Questions & Answers

How to calculate umask values?

Hi, I was trying to understand how to calculate umask value but couldnt get the right way to calculate it. can some one please give me a small formula or easy method to do it? Thanks, Waseem (4 Replies)
Discussion started by: ahmedwaseem2000
4 Replies

13. UNIX for Dummies Questions & Answers

[Solved] How to calculate in sun bash

I have two problems, and it would be great if someone could help me: The first line does not calculate. I have checked the origin term to calculate the variables and the result is OK. Normal substactions with $xx -100 work, but not in this constallation. I tried it with "| bc" and no result... (2 Replies)
Discussion started by: Pieter0815
2 Replies