It's only used in net/tls/*, no need to bloat include/net/tls.h.
Showing the changes to include/net (1 of 2 files). Show all
Unified · Split
| @@ -51,16 +51,6 @@ · 50 unmodified lines | |||
| 51 | 51 | ||
| 52 | struct tls_rec; | 52 | struct tls_rec; |
| 53 | 53 | ||
| 54 | struct tls_cipher_size_desc { | ||
| 55 | unsigned int iv; | ||
| 56 | unsigned int key; | ||
| 57 | unsigned int salt; | ||
| 58 | unsigned int tag; | ||
| 59 | unsigned int rec_seq; | ||
| 60 | }; | ||
| 61 | |||
| 62 | extern const struct tls_cipher_size_desc tls_cipher_size_desc[]; | ||
| 63 | |||
| 64 | /* Maximum data size carried in a TLS record */ | 54 | /* Maximum data size carried in a TLS record */ |
| 65 | #define TLS_MAX_PAYLOAD_SIZE ((size_t)1 << 14) | 55 | #define TLS_MAX_PAYLOAD_SIZE ((size_t)1 << 14) |
| 66 | 56 | ||