Skip to content
Snippets Groups Projects
Commit cd6f4b09 authored by Charles Lee's avatar Charles Lee
Browse files

Merge pull request #98 from vietlq:scratch/spelling-001

GitOrigin-RevId: db4c55dc6c9a7daeb59b8decb8ee997e8781e6e0
parents 627d6212 f08ded79
No related branches found
No related tags found
No related merge requests found
...@@ -39,7 +39,7 @@ class SignatureKeyTemplates { ...@@ -39,7 +39,7 @@ class SignatureKeyTemplates {
// with the following parameters: // with the following parameters:
// - EC curve: NIST P-256 // - EC curve: NIST P-256
// - hash function: SHA256 // - hash function: SHA256
// - signature endocding: DER // - signature encoding: DER
// - OutputPrefixType: TINK // - OutputPrefixType: TINK
static const google::crypto::tink::KeyTemplate& EcdsaP256(); static const google::crypto::tink::KeyTemplate& EcdsaP256();
...@@ -47,7 +47,7 @@ class SignatureKeyTemplates { ...@@ -47,7 +47,7 @@ class SignatureKeyTemplates {
// with the following parameters: // with the following parameters:
// - EC curve: NIST P-384 // - EC curve: NIST P-384
// - hash function: SHA512 // - hash function: SHA512
// - signature endocding: DER // - signature encoding: DER
// - OutputPrefixType: TINK // - OutputPrefixType: TINK
static const google::crypto::tink::KeyTemplate& EcdsaP384(); static const google::crypto::tink::KeyTemplate& EcdsaP384();
...@@ -55,7 +55,7 @@ class SignatureKeyTemplates { ...@@ -55,7 +55,7 @@ class SignatureKeyTemplates {
// with the following parameters: // with the following parameters:
// - EC curve: NIST P-521 // - EC curve: NIST P-521
// - hash function: SHA512 // - hash function: SHA512
// - signature endocding: DER // - signature encoding: DER
// - OutputPrefixType: TINK // - OutputPrefixType: TINK
static const google::crypto::tink::KeyTemplate& EcdsaP521(); static const google::crypto::tink::KeyTemplate& EcdsaP521();
}; };
......
...@@ -25,7 +25,7 @@ typedef NS_ENUM(NSInteger, TINKSignatureKeyTemplates) { ...@@ -25,7 +25,7 @@ typedef NS_ENUM(NSInteger, TINKSignatureKeyTemplates) {
* EcdsaPrivateKey with the following parameters: * EcdsaPrivateKey with the following parameters:
* - EC curve: NIST P-256 * - EC curve: NIST P-256
* - hash function: SHA256 * - hash function: SHA256
* - signature endocding: DER * - signature encoding: DER
* - OutputPrefixType: TINK * - OutputPrefixType: TINK
*/ */
TINKEcdsaP256 = 1, TINKEcdsaP256 = 1,
...@@ -34,7 +34,7 @@ typedef NS_ENUM(NSInteger, TINKSignatureKeyTemplates) { ...@@ -34,7 +34,7 @@ typedef NS_ENUM(NSInteger, TINKSignatureKeyTemplates) {
* EcdsaPrivateKey with the following parameters: * EcdsaPrivateKey with the following parameters:
* - EC curve: NIST P-384 * - EC curve: NIST P-384
* - hash function: SHA512 * - hash function: SHA512
* - signature endocding: DER * - signature encoding: DER
* - OutputPrefixType: TINK * - OutputPrefixType: TINK
*/ */
TINKEcdsaP384 = 2, TINKEcdsaP384 = 2,
...@@ -43,7 +43,7 @@ typedef NS_ENUM(NSInteger, TINKSignatureKeyTemplates) { ...@@ -43,7 +43,7 @@ typedef NS_ENUM(NSInteger, TINKSignatureKeyTemplates) {
* EcdsaPrivateKey with the following parameters: * EcdsaPrivateKey with the following parameters:
* - EC curve: NIST P-521 * - EC curve: NIST P-521
* - hash function: SHA512 * - hash function: SHA512
* - signature endocding: DER * - signature encoding: DER
* - OutputPrefixType: TINK * - OutputPrefixType: TINK
*/ */
TINKEcdsaP521 = 3, TINKEcdsaP521 = 3,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment