Home
last modified time | relevance | path

Searched refs:encpdu (Results 1 – 3 of 3) sorted by relevance

/openbsd/usr.bin/snmp/
H A Dsnmp.c384 struct ber_element *message, *scopedpdu = NULL, *secparams, *encpdu; in snmp_package() local
428 if ((encpdu = agent->v3->sec->encpdu(agent, scopedpdu, in snmp_package()
432 scopedpdu = encpdu; in snmp_package()
484 char *encpdu, *engineid; in snmp_unpackage() local
526 if (ober_scanf_elements(scopedpdu, "x", &encpdu, in snmp_unpackage()
529 if ((scopedpdu = agent->v3->sec->decpdu(agent, encpdu, in snmp_unpackage()
H A Dusm.c109 sec->encpdu = usm_encpdu; in usm_init()
228 char *serialpdu, *encpdu; in usm_encpdu() local
240 encpdu = usm_crypt(usm->cipher, 1, usm->privkey, usmcookie, serialpdu, in usm_encpdu()
243 if (encpdu == NULL) in usm_encpdu()
246 retpdu = ober_add_nstring(NULL, encpdu, encpdulen); in usm_encpdu()
247 free(encpdu); in usm_encpdu()
456 usm_decpdu(struct snmp_agent *agent, char *encpdu, size_t encpdulen, void *cookie) in usm_decpdu() argument
466 encpdu, encpdulen, &rawpdulen)) == NULL) in usm_decpdu()
H A Dsnmp.h123 struct ber_element *(*encpdu)(struct snmp_agent *, member