yumapro  24.10-3
YumaPro SDK
Loading...
Searching...
No Matches
Encrypted Password Management

IANA crypt-hash and openconfig-hashed-value Password Support. More...

Collaboration diagram for Encrypted Password Management:

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...
 

Detailed Description

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.

Function Documentation

◆ agt_crypt_cleanup()

void agt_crypt_cleanup ( void  )

Cleanup this module.

Called by the server during shutdown

◆ agt_crypt_handle_hash()

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

Parameters
[in,out]valval_value_t from the PDU to check and possibly alter
val->v.str may be freed and reallocated
Returns
status

◆ agt_crypt_handle_oc_hash()

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

Parameters
[in,out]valval_value_t from the PDU to check and possibly alter
val->v.str may be freed and reallocated
Returns
status

◆ agt_crypt_init()

status_t agt_crypt_init ( void  )

Initialize this module.

Load the iana-crypt-hash module

Returns
status
Here is the call graph for this function: