Lines Matching refs:password_buf
246 u8_t *cp, password_buf[64]; in snmpv3_password_to_key_md5() local
258 cp = password_buf; in snmpv3_password_to_key_md5()
266 mbedtls_md5_update(&MD, password_buf, 64); in snmpv3_password_to_key_md5()
277 SMEMCPY(password_buf, key, 16); in snmpv3_password_to_key_md5()
278 MEMCPY(password_buf + 16, engineID, engineLength); in snmpv3_password_to_key_md5()
279 SMEMCPY(password_buf + 16 + engineLength, key, 16); in snmpv3_password_to_key_md5()
282 mbedtls_md5_update(&MD, password_buf, 32 + engineLength); in snmpv3_password_to_key_md5()
299 u8_t *cp, password_buf[72]; in snmpv3_password_to_key_sha() local
311 cp = password_buf; in snmpv3_password_to_key_sha()
319 mbedtls_sha1_update(&SH, password_buf, 64); in snmpv3_password_to_key_sha()
330 SMEMCPY(password_buf, key, 20); in snmpv3_password_to_key_sha()
331 MEMCPY(password_buf + 20, engineID, engineLength); in snmpv3_password_to_key_sha()
332 SMEMCPY(password_buf + 20 + engineLength, key, 20); in snmpv3_password_to_key_sha()
335 mbedtls_sha1_update(&SH, password_buf, 40 + engineLength); in snmpv3_password_to_key_sha()