yumapro
24.10-3
YumaPro SDK
|
IANA crypt-hash and openconfig-hashed-value Password Support. More...
Functions | |
status_t | agt_crypt_handle_hash (val_value_t *val) |
Handle a leaf or leaf-list node that is a crypt-hash variable. More... | |
status_t | agt_crypt_handle_oc_hash (val_value_t *val) |
The node is an openconfig-hashed-value variable. More... | |
status_t | agt_crypt_init (void) |
Initialize this module. More... | |
void | agt_crypt_cleanup (void) |
Cleanup this module. More... | |
IANA crypt-hash and openconfig-hashed-value Password Support.
The crypt and crypt_r functions are used to create 1-way hash values and manage them within the system.
void agt_crypt_cleanup | ( | void | ) |
Cleanup this module.
Called by the server during shutdown
status_t agt_crypt_handle_hash | ( | val_value_t * | val | ) |
Handle a leaf or leaf-list node that is a crypt-hash variable.
Check if it is in the cleartext form $0$cleartextpassword If so, then the hash needs to be generated and stored instead
[in,out] | val | val_value_t from the PDU to check and possibly alter val->v.str may be freed and reallocated |
status_t agt_crypt_handle_oc_hash | ( | val_value_t * | val | ) |
The node is an openconfig-hashed-value variable.
Check if it is in the cleartext form cleartextpassword If so, then the hash needs to be generated and stored instead
[in,out] | val | val_value_t from the PDU to check and possibly alter val->v.str may be freed and reallocated |
status_t agt_crypt_init | ( | void | ) |
Initialize this module.
Load the iana-crypt-hash module