Home
last modified time | relevance | path

Searched refs:shatype (Results 1 – 7 of 7) sorted by relevance

/dports/net/turnserver/coturn-4.5.2/src/client/
H A Dns_turn_msg.h184 …turn_credential_type ct, uint8_t *buf, size_t len, hmackey_t key, password_t pwd, SHATYPE shatype);
185 …buf, size_t len, const uint8_t *uname, const uint8_t *realm, const uint8_t *upwd, SHATYPE shatype);
186 …urn_credential_type ct, uint8_t *buf, size_t *len, hmackey_t key, password_t pwd, SHATYPE shatype);
187 … const uint8_t *uname, const uint8_t *realm, hmackey_t key, const uint8_t *nonce, SHATYPE shatype);
188 … uint8_t *uname, const uint8_t *realm, const uint8_t *upwd, const uint8_t *nonce, SHATYPE shatype);
189 …r_short_term_str(uint8_t *buf, size_t *len, const uint8_t *uname, password_t pwd, SHATYPE shatype);
190 size_t get_hmackey_size(SHATYPE shatype);
199 …r(const uint8_t *uname, const uint8_t *realm, const uint8_t *upwd, hmackey_t key, SHATYPE shatype);
200 …size_t len, const uint8_t *key, size_t sz, uint8_t *hmac, unsigned int *hmac_len, SHATYPE shatype);
H A Dns_turn_msg.c118 UNUSED_ARG(shatype); in stun_calculate_hmac()
120 if(shatype == SHATYPE_SHA256) { in stun_calculate_hmac()
160 UNUSED_ARG(shatype); in stun_produce_integrity_key_str()
176 if(shatype == SHATYPE_SHA256) { in stun_produce_integrity_key_str()
1810 if(shatype == SHATYPE_SHA256) in get_hmackey_size()
1812 if(shatype == SHATYPE_SHA384) in get_hmackey_size()
1814 if(shatype == SHATYPE_SHA512) in get_hmackey_size()
1835 switch(shatype) { in stun_attr_add_integrity_str()
1926 if(shatype != SHATYPE_SHA256) in stun_check_message_integrity_by_key_str()
1931 if(shatype != SHATYPE_SHA384) in stun_check_message_integrity_by_key_str()
[all …]
/dports/net/turnserver/coturn-4.5.2/src/apps/rfc5769/
H A Drfc5769check.c204 static SHATYPE shatype = SHATYPE_SHA1; variable
260 …e_integrity_str(TURN_CREDENTIALS_SHORT_TERM, buf, sizeof(reqstc) - 1, uname, realm, upwd, shatype); in main()
324 upwd, shatype); in main()
352 stun_attr_add_integrity_by_user_str(buf, &len, uname, realm, upwd, nonce, shatype); in main()
380 upwd, shatype); in main()
428 …e_integrity_str(TURN_CREDENTIALS_SHORT_TERM, buf, sizeof(respv4) - 1, uname, realm, upwd, shatype); in main()
516 …e_integrity_str(TURN_CREDENTIALS_SHORT_TERM, buf, sizeof(respv6) - 1, uname, realm, upwd, shatype); in main()
/dports/net/turnserver/coturn-4.5.2/src/apps/uclient/
H A Dmainuclient.c85 SHATYPE shatype = SHATYPE_DEFAULT;
395 switch(shatype) {
411 …en((char*)g_uname), (uint8_t*)g_auth_secret, strlen(g_auth_secret), hmac, &hmac_len, shatype)>=0) {
H A Duclient.h80 extern SHATYPE shatype;
H A Duclient.c1630 if(shatype == SHATYPE_SHA256) { in add_integrity()
1632 } else if(shatype == SHATYPE_SHA384) { in add_integrity()
1634 } else if(shatype == SHATYPE_SHA512) { in add_integrity()
1652 clnet_info->realm, clnet_info->key, clnet_info->nonce, shatype)<0) { in add_integrity()
1661 message->buf, (size_t)(message->len), clnet_info->key, pwd, shatype)<1) { in add_integrity()
1668 clnet_info->realm, g_upwd, clnet_info->nonce, shatype)<0) { in add_integrity()
1680 SHATYPE sht = shatype; in check_integrity()
/dports/sysutils/py-salt/salt-3004.1/salt/runners/
H A Ddigicertapi.py457 shatype=certificate["signature_hash"],
466 shatype=certificate["signature_hash"],
589 shatype="sha256", argument
644 shatype, tmppriv, tmpcsr, subject