Age | Commit message (Collapse) | Author |
|
AES SIV allows the user to import a list of associated datas, but Tink only uses a single associated data in its interface. When the user inputs an empty associated data byte sequence, Tink will handle this as a list of one empty byte sequence, and not as an empty list.
PiperOrigin-RevId: 527491521
|
|
Do the same as pull request # 669 for all the other protos.
PiperOrigin-RevId: 509216831
|
|
PiperOrigin-RevId: 508400324
|
|
PiperOrigin-RevId: 507991558
|
|
|
|
Note that key derivation for ECDSA is currently only supported in C++.
PiperOrigin-RevId: 499410971
|
|
of 2).
PiperOrigin-RevId: 488685146
|
|
PiperOrigin-RevId: 467848064
|
|
PiperOrigin-RevId: 463353675
|
|
other proto definitions.
PiperOrigin-RevId: 463050887
|
|
Adds the parameters required to support DHKEM over the NIST(P-256, P-384, P-521) curves. This includes additional HKDF function (HKDF-SHA-384, HKDF-SHA-512)
PiperOrigin-RevId: 457452302
|
|
serialization implementations.
With this user, can first create a tester, and then simply check the implementation by calling
tester.testParseAndSerialize(format, protoFormat, outputPrefixType); to check if the given format serializes to the given protoFormat with the outputPrefixType.
PiperOrigin-RevId: 456487967
|
|
PiperOrigin-RevId: 451828716
|
|
- Replace "bigendian" with "big-endian".
- Add comment on encoding of (x,y) in ECDSA key.
- Add links to RFC where the JWA constants are defined.
PiperOrigin-RevId: 447934090
|
|
PiperOrigin-RevId: 446937072
|
|
PiperOrigin-RevId: 446181757
|
|
Currently, the cross-langauge test API always uses the BinaryKeysetReader/Writer to read and write encrypted keysets. With this CL we can also test reading and writing encrypted keyset with the JsonKeysetReader/Writer.
PiperOrigin-RevId: 439259259
|
|
PiperOrigin-RevId: 431054579
|
|
As usual in Tink, Tink Keys represent fixed cryptographic functions. They should be documented in the proto; unfortunately we currently don't do this. I hope in the future we can add all these.
PiperOrigin-RevId: 429498845
|
|
PiperOrigin-RevId: 424806379
|
|
PiperOrigin-RevId: 424365909
|
|
PiperOrigin-RevId: 424178059
|
|
These methods test that encrypted keysets are correctly read and written.
associated_data is an optional argument, so that both the methods with and without associated data can be tested.
Also, implement these methods in Java.
PiperOrigin-RevId: 422823700
|
|
PiperOrigin-RevId: 421778404
|
|
Objective-C.
PiperOrigin-RevId: 415747538
|
|
PiperOrigin-RevId: 413017889
|
|
PiperOrigin-RevId: 406400107
|
|
PiperOrigin-RevId: 406392103
|
|
PiperOrigin-RevId: 400123161
|
|
used to produce a MAC primitive backed by the TPM which along with a TPM encryption primitive will be used as an EncryptThenAuthenticate AEAD.
The proto stores:
1. The wrapped key material (wrapped with a TPM primary key).
2. The TPM template parameters needed to import the key back to the TPM.
3. The TPM HMAC parameters, similar to the normal HMAC parameters but also contain two different parameters:
a. The TPM authorization policy to unlock this key (either a set of PCRs or a password).
b. The public template of the primary key that wraps this key, so it can be recreated.
PiperOrigin-RevId: 399958098
|
|
PiperOrigin-RevId: 397276897
|
|
ProtoToSubtle/SubtleToProto functions for corresponding enums.
PiperOrigin-RevId: 394650844
|
|
PiperOrigin-RevId: 394441098
|
|
PiperOrigin-RevId: 394434472
|
|
PiperOrigin-RevId: 392668947
|
|
PiperOrigin-RevId: 392376467
|
|
This function will allow us to implement cross-language tests for key templates, and we can remove the key templates in testdata.
PiperOrigin-RevId: 391934203
|
|
PiperOrigin-RevId: 390145875
|
|
This generates a warning, so it is better to add it.
PiperOrigin-RevId: 389906560
|
|
PiperOrigin-RevId: 389138723
|
|
PiperOrigin-RevId: 388965670
|
|
Clarify the behaviour of the type Legacy.
PiperOrigin-RevId: 383617753
|
|
Guidance from latest HPKE draft clarifies that single-shot APIs should not
allow users to set both per-context and per-message auxiliary authenticated
application information.
https://github.com/cfrg/draft-irtf-cfrg-hpke/pull/231
PiperOrigin-RevId: 383494777
|
|
PiperOrigin-RevId: 382730385
|
|
PiperOrigin-RevId: 379470507
|
|
PiperOrigin-RevId: 379277217
|
|
PiperOrigin-RevId: 378867590
|
|
This value should only be set for RAW keys. If set, the kid value is set when
signing a token. For verification, the kid is always ignored, as for all RAW keys.
PiperOrigin-RevId: 378833740
|
|
PiperOrigin-RevId: 378654311
|
|
PiperOrigin-RevId: 378634145
|