Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

shishi_authenticator_set_cksum(3) [debian man page]

shishi_authenticator_set_cksum(3)				      shishi					 shishi_authenticator_set_cksum(3)

NAME
shishi_authenticator_set_cksum - API function SYNOPSIS
#include <shishi.h> int shishi_authenticator_set_cksum(Shishi * handle, Shishi_asn1 authenticator, int32_t cksumtype, char * cksum, size_t cksumlen); ARGUMENTS
Shishi * handle shishi handle as allocated by shishi_init(). Shishi_asn1 authenticator authenticator as allocated by shishi_authenticator(). int32_t cksumtype input checksum type to store in authenticator. char * cksum input checksum data to store in authenticator. size_t cksumlen size of input checksum data to store in authenticator. DESCRIPTION
Store checksum value in authenticator. A checksum is usually created by calling shishi_checksum() on some application specific data using the key from the ticket that is being used. To save time, you may want to use shishi_authenticator_add_cksum() instead, which calculates the checksum and calls this function in one step. 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_set_cksum(3)

Check Out this Related 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)
Man Page

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

cksum parts of a file

Every time we build an executable the date and time are put into the file, I need to run checksum on just the working lines.(IE, no header files) Is this even possible, if so how would I go about it? I am using a HP-UX server any help you can give me will be greatly appreciated. Thanks (6 Replies)
Discussion started by: crazykelso
6 Replies

2. UNIX for Dummies Questions & Answers

EEPROM CKSUM - Is there such thing?

Hi all, So I have a binary file and I need to generate an expected EEPROM checksum for it. Ideally, I would like to input the file (with the path) and output a computed checksum. Ive been using (cksum file1) with no avail and I was just curious as to whether there is such thing as EEPROM... (1 Reply)
Discussion started by: TeamUSA
1 Replies

3. Shell Programming and Scripting

EEPROM CKSUM? what is this?

Hi all, So I have a binary file and I need to generate an expected EEPROM checksum for it. Ideally, I would like to input the file (with the path) and output a computed checksum. Ive been using (cksum file1) with no avail and I was just curious as to whether there is such thing as EEPROM cksum,... (1 Reply)
Discussion started by: TeamUSA
1 Replies

4. Shell Programming and Scripting

Problems restraining read command to 32 bits -perl

Hey everybody, I'm having difficulty using the read command to perform a checksum operation. Whenever I print the final checksum, the result always returns FFFFFFFF, and I know thats not the checksum. #!/usr/bin/perl -w use strict; use FileHandle; use warnings; my $data... (0 Replies)
Discussion started by: TeamUSA
0 Replies

5. 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

6. UNIX for Dummies Questions & Answers

802.1x open source authenticator

hi everyone does anybodey know an 802.1x open source authenticator? i found hostpad and open1x but since im so so so new to freeBSD i do NOT know how to configure and use them ? can you help me please ? thanks a lot ... (0 Replies)
Discussion started by: turner
0 Replies

7. BSD

802.1x open source authenticator

hi everyone does anybodey know an 802.1x open source authenticator? i found hostpad and open1x but since im so so so new to freeBSD i do NOT know how to configure and use them ? can you help me please ? thanks a lot ... (1 Reply)
Discussion started by: turner
1 Replies