Searched defs:fa1 (Results 1 - 4 of 4) sorted by relevance
/sssd/src/util/ |
H A D | authtok-utils.c | 27 errno_t sss_auth_pack_2fa_blob(const char *fa1, size_t fa1_len, argument 35 if (fa1 == NULL || *fa1 == '\0' || fa1_len > UINT32_MAX 42 fa1_len = strlen(fa1); 44 if (fa1[fa1_len] != '\0') { 68 memcpy(buf + c, fa1, fa1_len + 1);
|
H A D | authtok.c | 257 char **fa1, size_t *_fa1_len, 279 *fa1 = talloc_strndup(mem_ctx, (const char *) blob + c, fa1_len); 280 if (*fa1 == NULL) { 285 *fa1 = NULL; 293 talloc_free(*fa1); 301 *_fa1_len = (*fa1 == NULL) ? 0 : strlen(*fa1); 312 char *fa1; local 324 ret = sss_auth_unpack_2fa_blob(tmp_ctx, data, len, &fa1, &fa1_len, 331 ret = sss_authtok_set_2fa(tok, fa1, fa1_le 255 sss_auth_unpack_2fa_blob(TALLOC_CTX *mem_ctx, const uint8_t *blob, size_t blob_len, char **fa1, size_t *_fa1_len, char **fa2, size_t *_fa2_len) argument 348 sss_authtok_get_2fa(struct sss_auth_token *tok, const char **fa1, size_t *fa1_len, const char **fa2, size_t *fa2_len) argument 388 sss_authtok_set_2fa(struct sss_auth_token *tok, const char *fa1, size_t fa1_len, const char *fa2, size_t fa2_len) argument [all...] |
/sssd/src/tests/cmocka/ |
H A D | test_authtok.c | 317 const char *fa1; local 356 ret = sss_authtok_get_2fa(ts->authtoken, &fa1, &fa1_size, &fa2, &fa2_size); 359 assert_string_equal(fa1, "a"); 366 ret = sss_authtok_get_2fa(ts->authtoken, &fa1, &fa1_size, &fa2, &fa2_size); 373 ret = sss_authtok_get_2fa(ts->authtoken, &fa1, &fa1_size, &fa2, &fa2_size); 392 char *fa1; local 427 ret = sss_auth_unpack_2fa_blob(ts, buf, needed_size, &fa1, &fa1_len, &fa2, 431 assert_string_equal(fa1, "abc"); 436 talloc_free(fa1); 443 assert_string_equal(fa1, "ab 455 char *fa1; local [all...] |
/sssd/src/providers/krb5/ |
H A D | krb5_child.c | 285 const char *fa1, size_t fa1_len, 317 pin = talloc_strndup(mem_ctx, fa1, fa1_len); 333 token = talloc_asprintf(mem_ctx, "%s%s", fa1, fa2); 343 pin = talloc_strndup(mem_ctx, fa1, fa1_len); 283 tokeninfo_matches_2fa(TALLOC_CTX *mem_ctx, const krb5_responder_otp_tokeninfo *ti, const char *fa1, size_t fa1_len, const char *fa2, size_t fa2_len, char **out_token, char **out_pin) argument
|
Completed in 29 milliseconds