BOLOS TEE
Functions
bolos_attestation.h File Reference

Legacy attestation logic compatible with Ledger Wallet. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int bls_attestation_supported (void)
 Check if attestation is supported. More...
 
int bls_attestation_device_get_data_signature (const uint8_t WIDE *in, size_t length, uint8_t *out, size_t outLength)
 Sign a data blob using the attestation key. More...
 

Detailed Description

Legacy attestation logic compatible with Ledger Wallet.

Author
Ledger Firmware Team hello.nosp@m.@led.nosp@m.ger.f.nosp@m.r
Version
1.0
Date
29th of February 2016

The legacy attestation logic let the client application verify that it is communicating with an application personalized with a given (set of) private keys.

The attestation logic is deprecated by the endorsement API and only kept for historical purposes

Function Documentation

int bls_attestation_device_get_data_signature ( const uint8_t WIDE *  in,
size_t  length,
uint8_t *  out,
size_t  outLength 
)

Sign a data blob using the attestation key.

Parameters
[in]inBuffer containing the data to sign
[in]lengthLength of thed data to sign
[out]outBuffer to contain the signature
[in]outLengthSize of the buffer to contain the signature
Returns
signature length if success, 0 if error
int bls_attestation_supported ( void  )

Check if attestation is supported.

Returns
1 if supported, 0 if not supported