Home
Blog
µ
Software
Projekte
TerraDuino Terrarien Steuerung
Grundschule in Shambu
Hundecontent
Google News Tagcloud der Top Suchbegriffe
Onlinerechner Medikamentendosierung
Kontakt
Impressum
libpcp
0.2.4
Main Page
Modules
Classes
Files
Back
File List
D
github
pcp
include
pcp
randomart.h
1
/* $OpenBSD: key.c,v 1.70 2008/06/11 21:01:35 grunk Exp $ */
2
/*
3
* read_bignum():
4
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
5
*
6
* As far as I am concerned, the code I have written for this software
7
* can be used freely for any purpose. Any derived versions of this
8
* software must be clearly marked as such, and if the derived work is
9
* incompatible with the protocol description in the RFC file, it must be
10
* called by a name other than "ssh" or "Secure Shell".
11
*
12
*
13
* Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
14
*
15
* Redistribution and use in source and binary forms, with or without
16
* modification, are permitted provided that the following conditions
17
* are met:
18
* 1. Redistributions of source code must retain the above copyright
19
* notice, this list of conditions and the following disclaimer.
20
* 2. Redistributions in binary form must reproduce the above copyright
21
* notice, this list of conditions and the following disclaimer in the
22
* documentation and/or other materials provided with the distribution.
23
*
24
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
25
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
26
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
27
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
28
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
29
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
30
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
31
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
32
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
33
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34
*/
35
36
/* key_fingerprint_randomart comitted by Alexander von Gernler in rev 1.70 */
37
38
#ifndef _HAVE_PCP_RANDOMART_H
39
#define _HAVE_PCP_RANDOMART_H
40
41
#include "mem.h"
42
#include <string.h>
43
44
/* from openssh key.c */
45
46
#ifndef MAX
47
# define MAX(a,b) (((a)>(b))?(a):(b))
48
# define MIN(a,b) (((a)<(b))?(a):(b))
49
#endif
50
51
52
char
*key_fingerprint_randomart(
unsigned
char
*dgst_raw,
unsigned
int
dgst_raw_len);
53
54
#endif
/* _HAVE_PCP_RANDOMART_H */
Generated on Mon Apr 13 2015 13:44:01 for libpcp by
1.8.3.1