Remove hmac_sha256 from public API (#2519)

Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
Nikolay Minaylov 2023-03-21 15:29:54 +03:00 committed by GitHub
parent bf70f4b71a
commit ce50b09b28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 12 deletions

View file

@ -7,7 +7,7 @@
#include <littlefs/lfs_util.h> // for lfs_tobe32
#include "toolbox/sha256.h"
#include "toolbox/hmac_sha256.h"
#include "hmac_sha256.h"
#include "micro-ecc/uECC.h"
#define TAG "U2F"

View file

@ -1,5 +1,5 @@
entry,status,name,type,params
Version,+,18.2,,
Version,+,19.0,,
Header,+,applications/services/bt/bt_service/bt.h,,
Header,+,applications/services/cli/cli.h,,
Header,+,applications/services/cli/cli_vcp.h,,
@ -160,7 +160,6 @@ Header,+,lib/toolbox/args.h,,
Header,+,lib/toolbox/crc32_calc.h,,
Header,+,lib/toolbox/dir_walk.h,,
Header,+,lib/toolbox/float_tools.h,,
Header,+,lib/toolbox/hmac_sha256.h,,
Header,+,lib/toolbox/manchester_decoder.h,,
Header,+,lib/toolbox/manchester_encoder.h,,
Header,+,lib/toolbox/md5.h,,
@ -169,6 +168,7 @@ Header,+,lib/toolbox/pretty_format.h,,
Header,+,lib/toolbox/protocols/protocol_dict.h,,
Header,+,lib/toolbox/random_name.h,,
Header,+,lib/toolbox/saved_struct.h,,
Header,+,lib/toolbox/sha256.h,,
Header,+,lib/toolbox/stream/buffered_file_stream.h,,
Header,+,lib/toolbox/stream/file_stream.h,,
Header,+,lib/toolbox/stream/stream.h,,
@ -1316,9 +1316,6 @@ Function,+,gui_view_port_send_to_front,void,"Gui*, ViewPort*"
Function,+,hal_sd_detect,_Bool,
Function,+,hal_sd_detect_init,void,
Function,+,hal_sd_detect_set_low,void,
Function,+,hmac_sha256_finish,void,"const hmac_sha256_context*, const uint8_t*, uint8_t*"
Function,+,hmac_sha256_init,void,"hmac_sha256_context*, const uint8_t*"
Function,+,hmac_sha256_update,void,"const hmac_sha256_context*, const uint8_t*, unsigned"
Function,+,icon_animation_alloc,IconAnimation*,const Icon*
Function,+,icon_animation_free,void,IconAnimation*
Function,+,icon_animation_get_height,uint8_t,const IconAnimation*

1 entry status name type params
2 Version + 18.2 19.0
3 Header + applications/services/bt/bt_service/bt.h
4 Header + applications/services/cli/cli.h
5 Header + applications/services/cli/cli_vcp.h
160 Header + lib/toolbox/crc32_calc.h
161 Header + lib/toolbox/dir_walk.h
162 Header + lib/toolbox/float_tools.h
Header + lib/toolbox/hmac_sha256.h
163 Header + lib/toolbox/manchester_decoder.h
164 Header + lib/toolbox/manchester_encoder.h
165 Header + lib/toolbox/md5.h
168 Header + lib/toolbox/protocols/protocol_dict.h
169 Header + lib/toolbox/random_name.h
170 Header + lib/toolbox/saved_struct.h
171 Header + lib/toolbox/sha256.h
172 Header + lib/toolbox/stream/buffered_file_stream.h
173 Header + lib/toolbox/stream/file_stream.h
174 Header + lib/toolbox/stream/stream.h
1316 Function + hal_sd_detect _Bool
1317 Function + hal_sd_detect_init void
1318 Function + hal_sd_detect_set_low void
Function + hmac_sha256_finish void const hmac_sha256_context*, const uint8_t*, uint8_t*
Function + hmac_sha256_init void hmac_sha256_context*, const uint8_t*
Function + hmac_sha256_update void const hmac_sha256_context*, const uint8_t*, unsigned
1319 Function + icon_animation_alloc IconAnimation* const Icon*
1320 Function + icon_animation_free void IconAnimation*
1321 Function + icon_animation_get_height uint8_t const IconAnimation*

View file

@ -1,5 +1,5 @@
entry,status,name,type,params
Version,+,18.2,,
Version,+,19.0,,
Header,+,applications/services/bt/bt_service/bt.h,,
Header,+,applications/services/cli/cli.h,,
Header,+,applications/services/cli/cli_vcp.h,,
@ -192,7 +192,6 @@ Header,+,lib/toolbox/args.h,,
Header,+,lib/toolbox/crc32_calc.h,,
Header,+,lib/toolbox/dir_walk.h,,
Header,+,lib/toolbox/float_tools.h,,
Header,+,lib/toolbox/hmac_sha256.h,,
Header,+,lib/toolbox/manchester_decoder.h,,
Header,+,lib/toolbox/manchester_encoder.h,,
Header,+,lib/toolbox/md5.h,,
@ -201,6 +200,7 @@ Header,+,lib/toolbox/pretty_format.h,,
Header,+,lib/toolbox/protocols/protocol_dict.h,,
Header,+,lib/toolbox/random_name.h,,
Header,+,lib/toolbox/saved_struct.h,,
Header,+,lib/toolbox/sha256.h,,
Header,+,lib/toolbox/stream/buffered_file_stream.h,,
Header,+,lib/toolbox/stream/file_stream.h,,
Header,+,lib/toolbox/stream/stream.h,,
@ -1604,9 +1604,6 @@ Function,+,gui_view_port_send_to_front,void,"Gui*, ViewPort*"
Function,+,hal_sd_detect,_Bool,
Function,+,hal_sd_detect_init,void,
Function,+,hal_sd_detect_set_low,void,
Function,+,hmac_sha256_finish,void,"const hmac_sha256_context*, const uint8_t*, uint8_t*"
Function,+,hmac_sha256_init,void,"hmac_sha256_context*, const uint8_t*"
Function,+,hmac_sha256_update,void,"const hmac_sha256_context*, const uint8_t*, unsigned"
Function,-,hypot,double,"double, double"
Function,-,hypotf,float,"float, float"
Function,-,hypotl,long double,"long double, long double"

1 entry status name type params
2 Version + 18.2 19.0
3 Header + applications/services/bt/bt_service/bt.h
4 Header + applications/services/cli/cli.h
5 Header + applications/services/cli/cli_vcp.h
192 Header + lib/toolbox/crc32_calc.h
193 Header + lib/toolbox/dir_walk.h
194 Header + lib/toolbox/float_tools.h
Header + lib/toolbox/hmac_sha256.h
195 Header + lib/toolbox/manchester_decoder.h
196 Header + lib/toolbox/manchester_encoder.h
197 Header + lib/toolbox/md5.h
200 Header + lib/toolbox/protocols/protocol_dict.h
201 Header + lib/toolbox/random_name.h
202 Header + lib/toolbox/saved_struct.h
203 Header + lib/toolbox/sha256.h
204 Header + lib/toolbox/stream/buffered_file_stream.h
205 Header + lib/toolbox/stream/file_stream.h
206 Header + lib/toolbox/stream/stream.h
1604 Function + hal_sd_detect _Bool
1605 Function + hal_sd_detect_init void
1606 Function + hal_sd_detect_set_low void
Function + hmac_sha256_finish void const hmac_sha256_context*, const uint8_t*, uint8_t*
Function + hmac_sha256_init void hmac_sha256_context*, const uint8_t*
Function + hmac_sha256_update void const hmac_sha256_context*, const uint8_t*, unsigned
1607 Function - hypot double double, double
1608 Function - hypotf float float, float
1609 Function - hypotl long double long double, long double

View file

@ -12,7 +12,7 @@ env.Append(
File("manchester_encoder.h"),
File("path.h"),
File("random_name.h"),
File("hmac_sha256.h"),
File("sha256.h"),
File("crc32_calc.h"),
File("dir_walk.h"),
File("md5.h"),