Searched refs:TRUST_TOKEN_NONCE_SIZE (Results 1 – 5 of 5) sorted by relevance
/external/boringssl/src/crypto/trust_token/ |
D | internal.h | 46 #define TRUST_TOKEN_NONCE_SIZE 64 macro 74 uint8_t t[TRUST_TOKEN_NONCE_SIZE]; 109 uint8_t out_nonce[TRUST_TOKEN_NONCE_SIZE], 134 uint8_t out_nonce[TRUST_TOKEN_NONCE_SIZE], 169 uint8_t out_nonce[TRUST_TOKEN_NONCE_SIZE], 232 uint8_t out_nonce[TRUST_TOKEN_NONCE_SIZE],
|
D | pmbtoken.c | 34 const uint8_t t[TRUST_TOKEN_NONCE_SIZE]); 37 const uint8_t s[TRUST_TOKEN_NONCE_SIZE]); 785 uint8_t s[TRUST_TOKEN_NONCE_SIZE]; in pmbtoken_sign() 786 RAND_bytes(s, TRUST_TOKEN_NONCE_SIZE); in pmbtoken_sign() 796 !CBB_add_bytes(cbb, s, TRUST_TOKEN_NONCE_SIZE) || in pmbtoken_sign() 924 uint8_t s[TRUST_TOKEN_NONCE_SIZE]; in STACK_OF() 926 if (!CBS_copy_bytes(cbs, s, TRUST_TOKEN_NONCE_SIZE) || in STACK_OF() 966 4 + TRUST_TOKEN_NONCE_SIZE + 3 * (2 + point_len)) || in STACK_OF() 968 !CBB_add_bytes(&token_cbb, pretoken->t, TRUST_TOKEN_NONCE_SIZE) || in STACK_OF() 1038 uint8_t out_nonce[TRUST_TOKEN_NONCE_SIZE], in pmbtoken_read() argument [all …]
|
D | voprf.c | 32 const uint8_t t[TRUST_TOKEN_NONCE_SIZE]); 581 if (!CBB_init(&token_cbb, 4 + TRUST_TOKEN_NONCE_SIZE + (2 + point_len)) || in STACK_OF() 583 !CBB_add_bytes(&token_cbb, pretoken->t, TRUST_TOKEN_NONCE_SIZE) || in STACK_OF() 641 uint8_t out_nonce[TRUST_TOKEN_NONCE_SIZE], in voprf_read() argument 647 if (!CBS_copy_bytes(&cbs, out_nonce, TRUST_TOKEN_NONCE_SIZE) || in voprf_read() 674 const uint8_t t[TRUST_TOKEN_NONCE_SIZE]) { in voprf_exp2_hash_to_group() argument 677 group, out, kHashTLabel, sizeof(kHashTLabel), t, TRUST_TOKEN_NONCE_SIZE); in voprf_exp2_hash_to_group() 759 uint8_t out_nonce[TRUST_TOKEN_NONCE_SIZE], in voprf_exp2_read() argument
|
D | trust_token.c | 546 uint8_t nonce[TRUST_TOKEN_NONCE_SIZE]; in TRUST_TOKEN_ISSUER_redeem_raw() 569 TRUST_TOKEN *token = TRUST_TOKEN_new(nonce, TRUST_TOKEN_NONCE_SIZE); in TRUST_TOKEN_ISSUER_redeem_raw() 670 uint8_t nonce[TRUST_TOKEN_NONCE_SIZE]; in TRUST_TOKEN_ISSUER_redeem() 825 TRUST_TOKEN *token = TRUST_TOKEN_new(nonce, TRUST_TOKEN_NONCE_SIZE); in TRUST_TOKEN_ISSUER_redeem()
|
D | trust_token_test.cc | 719 TRUST_TOKEN_NONCE_SIZE + 2 * (1 + 2 * BN_num_bytes(&group->field)); in TEST_P() 782 TRUST_TOKEN_NONCE_SIZE + 2 * (1 + 2 * BN_num_bytes(&group->field)); in TEST_P()
|