Searched defs:token_name_len (Results 1 - 3 of 3) sorted by relevance

/sssd-io/src/util/
H A Dauthtok-utils.c77 const char *token_name, size_t token_name_len,
86 if (pin_len > UINT32_MAX || token_name_len > UINT32_MAX
89 || (token_name_len != 0 && token_name == NULL)
103 token_name_len = 0;
121 if (token_name_len == 0 || token_name[token_name_len - 1] == '\0') {
122 token_name_len = strlen(token_name);
133 *_sc_blob_len = pin_len + token_name_len + module_name_len + key_id_len + 4
142 tmp_uint32_t = (uint32_t) token_name_len + 1;
153 memcpy(buf + c, token_name, token_name_len);
76 sss_auth_pack_sc_blob(const char *pin, size_t pin_len, const char *token_name, size_t token_name_len, const char *module_name, size_t module_name_len, const char *key_id, size_t key_id_len, uint8_t *buf, size_t buf_len, size_t *_sc_blob_len) argument
[all...]
H A Dauthtok.c430 const char *token_name, size_t token_name_len,
445 ret = sss_auth_pack_sc_blob(pin, pin_len, token_name, token_name_len,
460 ret = sss_auth_pack_sc_blob(pin, pin_len, token_name, token_name_len,
484 size_t token_name_len; local
506 &token_name, &token_name_len,
515 token_name, token_name_len,
595 uint32_t token_name_len; local
603 token_name_len = 0;
609 token_name_len = 0;
619 SAFEALIGN_COPY_UINT32(&token_name_len, blo
427 sss_authtok_set_sc(struct sss_auth_token *tok, enum sss_authtok_type type, const char *pin, size_t pin_len, const char *token_name, size_t token_name_len, const char *module_name, size_t module_name_len, const char *key_id, size_t key_id_len) argument
710 size_t token_name_len; local
[all...]
/sssd-io/src/tests/cmocka/
H A Dtest_authtok.c449 size_t token_name_len; local
481 &token_name, &token_name_len,
487 assert_int_equal(token_name_len, 4);
495 &token_name, &token_name_len,
499 assert_int_equal(token_name_len, 4);

Completed in 13 milliseconds