Gaurav Shah | bf6c4a7 | 2010-03-05 10:58:48 -0800 | [diff] [blame] | 1 | // Copyright (c) 2009,2010 The Chromium OS Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef _TPM_KEYCHAIN_UTIL_H_ |
| 6 | #define _TPM_KEYCHAIN_UTIL_H_ |
| 7 | |
| 8 | #include <sys/types.h> |
| 9 | #include <stdint.h> |
| 10 | #include <openssl/rsa.h> |
| 11 | |
| 12 | void dump_rsa_ssh(RSA* rsa, char* uuid_string); |
| 13 | uint32_t parse_key_type(const char* ktype); |
| 14 | const char* unparse_key_usage(uint32_t kusage); |
| 15 | |
| 16 | #endif // _TPM_KEYCHAIN_UTIL_H_ |