Home
last modified time | relevance | path

Searched refs:to_sign (Results 1 – 6 of 6) sorted by relevance

/external/grpc-grpc/src/core/lib/security/credentials/jwt/
Djson_token.cc251 const char* to_sign) { in compute_and_encode_signature() argument
269 if (EVP_DigestSignUpdate(md_ctx, to_sign, strlen(to_sign)) != 1) { in compute_and_encode_signature()
299 char* to_sign = dot_concat_and_free_strings( in grpc_jwt_encode_and_sign() local
302 char* sig = compute_and_encode_signature(json_key, sig_algo, to_sign); in grpc_jwt_encode_and_sign()
304 gpr_free(to_sign); in grpc_jwt_encode_and_sign()
307 return dot_concat_and_free_strings(to_sign, sig); in grpc_jwt_encode_and_sign()
/external/python/oauth2client/tests/
Dtest__pure_python_crypt.py52 to_sign = b'foo'
54 actual_signature = signer.sign(to_sign)
58 self.assertTrue(verifier.verify(to_sign, actual_signature))
61 to_sign = u'foo'
63 actual_signature = signer.sign(to_sign)
67 self.assertTrue(verifier.verify(to_sign, actual_signature))
Dtest__pycrypto_crypt.py39 to_sign = b'foo'
42 actual_signature = signer.sign(to_sign)
46 self.assertTrue(verifier.verify(to_sign, actual_signature))
/external/tensorflow/tensorflow/core/platform/cloud/
Doauth_client.cc87 Status CreateSignature(RSA* private_key, StringPiece to_sign, in CreateSignature() argument
116 if (EVP_DigestSignUpdate(md_ctx.get(), to_sign.data(), to_sign.size()) != 1) { in CreateSignature()
213 const string to_sign = encoded_header + "." + encoded_claim; in GetTokenFromServiceAccountJson() local
215 TF_RETURN_IF_ERROR(CreateSignature(private_key.get(), to_sign, &signature)); in GetTokenFromServiceAccountJson()
216 const string jwt = to_sign + "." + signature; in GetTokenFromServiceAccountJson()
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dmath.cc600 auto to_sign = And(to_as_int, ScalarLike(to_as_int, sign_mask)); in NextAfter() local
605 Or(to_sign, ScalarLike(from_as_int, 1)); in NextAfter()
618 auto signs_disagree = Ne(from_sign, to_sign); in NextAfter()
/external/python/oauth2client/tests/contrib/
Dtest_appengine.py220 to_sign = b'blob'
222 result = credentials.sign_blob(to_sign)
224 self.assertEqual(app_identity_stub._sign_calls, [to_sign])