diff options
Diffstat (limited to 'asn1_internal.h')
-rw-r--r-- | asn1_internal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/asn1_internal.h b/asn1_internal.h index c337d4b..fe2f293 100644 --- a/asn1_internal.h +++ b/asn1_internal.h @@ -99,6 +99,9 @@ extern const size_t hal_asn1_oid_rsaEncryption_len; extern const uint8_t hal_asn1_oid_ecPublicKey[]; extern const size_t hal_asn1_oid_ecPublicKey_len; +extern const uint8_t hal_asn1_oid_aesKeyWrap[]; +extern const size_t hal_asn1_oid_aesKeyWrap_len; + /* * Transcoding functions. */ @@ -145,6 +148,9 @@ extern hal_error_t hal_asn1_decode_pkcs8_encryptedprivatekeyinfo(const uint8_t * const uint8_t **data, size_t *data_len, const uint8_t *const der, const size_t der_len); +extern hal_error_t hal_asn1_guess_key_type(hal_key_type_t *type, hal_curve_name_t *curve, + const uint8_t *const der, const size_t der_len); + #endif /* _HAL_ASN1_INTERNAL_H_ */ /* |