Home
last modified time | relevance | path

Searched refs:public_metadata (Results 1 – 9 of 9) sorted by relevance

/external/boringssl/src/crypto/trust_token/
Dtrust_token.c462 uint32_t public_metadata, uint8_t private_metadata, in TRUST_TOKEN_ISSUER_issue() argument
469 trust_token_issuer_get_key(ctx, public_metadata); in TRUST_TOKEN_ISSUER_issue()
493 !CBB_add_u32(&response, public_metadata)) { in TRUST_TOKEN_ISSUER_issue()
535 uint32_t public_metadata = 0; in TRUST_TOKEN_ISSUER_redeem_raw() local
539 if (!CBS_get_u32(&token_cbs, &public_metadata)) { in TRUST_TOKEN_ISSUER_redeem_raw()
545 trust_token_issuer_get_key(ctx, public_metadata); in TRUST_TOKEN_ISSUER_redeem_raw()
574 *out_public = public_metadata; in TRUST_TOKEN_ISSUER_redeem_raw()
657 uint32_t public_metadata = 0; in TRUST_TOKEN_ISSUER_redeem() local
663 if (!CBS_get_u32(&token_cbs, &public_metadata)) { in TRUST_TOKEN_ISSUER_redeem()
669 trust_token_issuer_get_key(ctx, public_metadata); in TRUST_TOKEN_ISSUER_redeem()
[all …]
Dtrust_token_test.cc472 int public_metadata() { return std::get<1>(GetParam()); } in public_metadata() function in __anona11805e70111::TrustTokenMetadataTest
487 public_metadata(), private_metadata(), /*max_issuance=*/1); in TEST_P()
593 ASSERT_EQ(srr[18], public_metadata()); in TEST_P()
619 public_metadata(), private_metadata(), /*max_issuance=*/1); in TEST_P()
655 ASSERT_EQ(public_value, static_cast<uint32_t>(public_metadata())); in TEST_P()
676 public_metadata(), private_metadata(), /*max_issuance=*/1)); in TEST_P()
703 public_metadata(), private_metadata(), /*max_issuance=*/1)); in TEST_P()
766 public_metadata(), private_metadata(), /*max_issuance=*/1)); in TEST_P()
/external/rust/crates/quiche/deps/boringssl/src/crypto/trust_token/
Dtrust_token_test.cc430 int public_metadata() { return std::get<1>(GetParam()); } in public_metadata() function in __anonc461315e0111::TrustTokenMetadataTest
445 public_metadata(), private_metadata(), /*max_issuance=*/1)); in TEST_P()
517 ASSERT_EQ(srr[18], public_metadata()); in TEST_P()
534 ASSERT_EQ(srr[18], public_metadata()); in TEST_P()
560 public_metadata(), private_metadata(), /*max_issuance=*/1)); in TEST_P()
583 public_metadata(), private_metadata(), /*max_issuance=*/1)); in TEST_P()
589 uint32_t public_metadata; in TEST_P() local
594 ASSERT_TRUE(CBS_get_u32(&real_response, &public_metadata)); in TEST_P()
595 ASSERT_TRUE(CBB_add_u32(bad_response.get(), public_metadata)); in TEST_P()
651 public_metadata(), private_metadata(), /*max_issuance=*/1)); in TEST_P()
[all …]
Dtrust_token.c423 uint32_t public_metadata, uint8_t private_metadata, in TRUST_TOKEN_ISSUER_issue() argument
430 trust_token_issuer_get_key(ctx, public_metadata); in TRUST_TOKEN_ISSUER_issue()
453 !CBB_add_u32(&response, public_metadata)) { in TRUST_TOKEN_ISSUER_issue()
551 uint32_t public_metadata = 0; in TRUST_TOKEN_ISSUER_redeem() local
557 if (!CBS_get_u32(&token_cbs, &public_metadata)) { in TRUST_TOKEN_ISSUER_redeem()
563 trust_token_issuer_get_key(ctx, public_metadata); in TRUST_TOKEN_ISSUER_redeem()
638 !add_cbor_int(&srr, public_metadata) || in TRUST_TOKEN_ISSUER_redeem()
/external/ukey2/src/main/cpp/src/securegcm/
Dd2d_crypto_ops.cc102 if (!metadata.ParseFromString(header_and_body->header().public_metadata())) { in VerifyDecryptPayload()
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Dtrust_token.h219 uint32_t public_metadata, uint8_t private_metadata, size_t max_issuance);
/external/boringssl/src/include/openssl/
Dtrust_token.h224 uint32_t public_metadata, uint8_t private_metadata, size_t max_issuance);
/external/ukey2/src/main/cpp/test/securegcm/
Dd2d_crypto_ops_test.cc91 metadata.ParseFromString(header_and_body.header().public_metadata())); in TEST_F()
/external/ukey2/src/main/proto/
Dsecuremessage.proto58 optional bytes public_metadata = 6; field