btstack_crypto.h (80665fb721830cb799cc1a4efe4d8d68cf887725) | btstack_crypto.h (fde19096d3c7ed18d94a1a64a489ad52f372456b) |
---|---|
1/* 2 * Copyright (C) 2017 BlueKitchen GmbH 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright --- 261 unchanged lines hidden (view full) --- 270 */ 271void btstack_crypto_ccm_decrypt_block(btstack_crypto_ccm_t * request, uint16_t len, const uint8_t * ciphertext, uint8_t * plaintext, void (* callback)(void * arg), void * callback_arg); 272 273// PTS testing only - not possible when using Buetooth Controller for ECC operations 274void btstack_crypto_ecc_p256_set_key(const uint8_t * public_key, const uint8_t * private_key); 275 276// Unit testing 277int btstack_crypto_idle(void); | 1/* 2 * Copyright (C) 2017 BlueKitchen GmbH 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright --- 261 unchanged lines hidden (view full) --- 270 */ 271void btstack_crypto_ccm_decrypt_block(btstack_crypto_ccm_t * request, uint16_t len, const uint8_t * ciphertext, uint8_t * plaintext, void (* callback)(void * arg), void * callback_arg); 272 273// PTS testing only - not possible when using Buetooth Controller for ECC operations 274void btstack_crypto_ecc_p256_set_key(const uint8_t * public_key, const uint8_t * private_key); 275 276// Unit testing 277int btstack_crypto_idle(void); |
278void btstack_crypto_reset(void); |
|
278 279#if defined __cplusplus 280} 281#endif 282 283#endif /* BTSTACK_CTRYPTO_H */ | 279 280#if defined __cplusplus 281} 282#endif 283 284#endif /* BTSTACK_CTRYPTO_H */ |