/**
 * \file asn1ec.h
 * \brief Parser of EC key ASN.1 representation.
 * \author Dmytro Podgornyi (d.podgornyi@samsung.com)
 * \version 0.1
 * \date Created May 28, 2013
 * \par In Samsung Ukraine R&D Center (SURC) under a contract between
 * \par LLC "Samsung Electronics Ukraine Company" (Kiev, Ukraine) and
 * \par "Samsung Elecrtronics Co", Ltd (Seoul, Republic of Korea)
 * \par Copyright: (c) Samsung Electronics Co, Ltd 2012. All rights reserved.
 **/

#ifndef ASN1EC_H_
#define ASN1EC_H_

#include "asn1.h"
#include "ec/ec_wrapper.h"

int32_t ec_public_key_parse(const uint8_t *buf, size_t len, EC_KEY *ec);
int32_t ec_private_key_parse(const uint8_t *buf, size_t len, EC_KEY *ec);

#endif /* ASN1EC_H_ */
