Adding wrap() to encrypt and sign response APDU.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2022-04-10 20:58:54 +02:00
parent c3a93a46ba
commit 964af6a064
3 changed files with 61 additions and 2 deletions

View File

@@ -38,5 +38,6 @@ void sm_update_iv();
int sm_get_le();
extern int sm_unwrap();
int sm_remove_padding(const uint8_t *data, size_t data_len);
extern int sm_wrap();
#endif