blob: d60ac9fa7d8e90da3c40dffdf49dfe50cbd6f1f9 [file] [log] [blame]
Gaurav Shahbf6c4a72010-03-05 10:58:48 -08001// 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
12void dump_rsa_ssh(RSA* rsa, char* uuid_string);
13uint32_t parse_key_type(const char* ktype);
14const char* unparse_key_usage(uint32_t kusage);
15
16#endif // _TPM_KEYCHAIN_UTIL_H_