diff options
author | Simon Rettberg | 2018-05-29 15:02:22 +0200 |
---|---|---|
committer | Simon Rettberg | 2018-05-29 15:02:22 +0200 |
commit | 8bfa8171cfba14c97dd90c0a0c70b9449c9f2f49 (patch) | |
tree | fd442c0530d547dc4ad68174f59be3004f4989fb /src/include/ipxe/settings.h | |
parent | [vesafb] Fix resetting console to text mode by passing NULL config (diff) | |
download | ipxe-8bfa8171cfba14c97dd90c0a0c70b9449c9f2f49.tar.gz ipxe-8bfa8171cfba14c97dd90c0a0c70b9449c9f2f49.tar.xz ipxe-8bfa8171cfba14c97dd90c0a0c70b9449c9f2f49.zip |
[settings] Add md5 encoding type for doing ${foo:md5}
This obviously only works for formatting, not parsing.
This makes it possible to implement client side password
checks without giving the password away too easily.
Not super secure as it's md5, but enough for basic protection.
Diffstat (limited to 'src/include/ipxe/settings.h')
-rw-r--r-- | src/include/ipxe/settings.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/ipxe/settings.h b/src/include/ipxe/settings.h index f463e667..2bffe2fb 100644 --- a/src/include/ipxe/settings.h +++ b/src/include/ipxe/settings.h @@ -424,6 +424,7 @@ extern const struct setting_type setting_type_uint32 __setting_type; extern const struct setting_type setting_type_hex __setting_type; extern const struct setting_type setting_type_hexhyp __setting_type; extern const struct setting_type setting_type_hexraw __setting_type; +extern const struct setting_type setting_type_md5 __setting_type; extern const struct setting_type setting_type_base64 __setting_type; extern const struct setting_type setting_type_uuid __setting_type; extern const struct setting_type setting_type_busdevfn __setting_type; |