Home
last modified time | relevance | path

Searched refs:keyLength (Results 1 - 25 of 99) sorted by relevance

1234

/third_party/node/test/fixtures/wpt/WebCryptoAPI/encrypt_decrypt/
H A Daes_cbc_vectors.js204 keyLengths.forEach(function(keyLength) {
206 name: "AES-CBC " + keyLength.toString() + "-bit key",
207 keyBuffer: keyBytes[keyLength],
211 result: ciphertext[keyLength]
217 keyLengths.forEach(function(keyLength) {
220 name: "AES-CBC " + keyLength.toString() + "-bit key, 64-bit IV",
221 keyBuffer: keyBytes[keyLength],
225 result: ciphertext[keyLength]
232 name: "AES-CBC " + keyLength.toString() + "-bit key, 192-bit IV",
233 keyBuffer: keyBytes[keyLength],
[all...]
H A Daes_gcm_vectors.js29 keyLengths.forEach(function(keyLength) {
33 var result = new Uint8Array(ciphertext[keyLength].byteLength + byteCount);
34 result.set(ciphertext[keyLength], 0);
35 result.set(tag[keyLength].slice(0, byteCount), ciphertext[keyLength].byteLength);
37 name: "AES-GCM " + keyLength.toString() + "-bit key, " + tagLength.toString() + "-bit tag, " + (iv.byteLength << 3).toString() + "-bit iv",
38 keyBuffer: keyBytes[keyLength],
45 var noadresult = new Uint8Array(ciphertext[keyLength].byteLength + byteCount);
46 noadresult.set(ciphertext[keyLength], 0);
47 noadresult.set(tag_with_empty_ad[keyLength]
[all...]
H A Daes_ctr_vectors.js89 keyLengths.forEach(function(keyLength) {
91 name: "AES-CTR " + keyLength.toString() + "-bit key",
92 keyBuffer: keyBytes[keyLength],
96 result: ciphertext[keyLength]
102 keyLengths.forEach(function(keyLength) {
104 name: "AES-CTR " + keyLength.toString() + "-bit key, 0-bit counter",
105 keyBuffer: keyBytes[keyLength],
109 result: ciphertext[keyLength]
113 name: "AES-CTR " + keyLength.toString() + "-bit key, 129-bit counter",
114 keyBuffer: keyBytes[keyLength],
[all...]
/third_party/node/test/fixtures/crypto/
H A Daes_gcm.js87 kKeyLengths.forEach((keyLength) => {
91 new Uint8Array(kCiphertext[keyLength].byteLength + byteCount);
92 result.set(kCiphertext[keyLength], 0);
93 result.set(tag[keyLength].slice(0, byteCount),
94 kCiphertext[keyLength].byteLength);
96 keyBuffer: kKeyBytes[keyLength],
103 new Uint8Array(kCiphertext[keyLength].byteLength + byteCount);
104 noadresult.set(kCiphertext[keyLength], 0);
105 noadresult.set(tag_with_empty_ad[keyLength].slice(0, byteCount),
106 kCiphertext[keyLength]
[all...]
H A Daes_cbc.js87 kKeyLengths.forEach((keyLength) => {
89 keyBuffer: kKeyBytes[keyLength],
92 result: kCipherText[keyLength]
97 kKeyLengths.forEach((keyLength) => {
99 keyBuffer: kKeyBytes[keyLength],
105 result: kCipherText[keyLength]
112 keyBuffer: kKeyBytes[keyLength],
115 result: kCipherText[keyLength]
121 kKeyLengths.forEach(function(keyLength) {
128 new Uint8Array(kCipherText[keyLength]
[all...]
H A Daes_ctr.js72 kKeyLengths.forEach((keyLength) => {
74 keyBuffer: kKeyBytes[keyLength],
77 result: kCiphertext[keyLength]
82 kKeyLengths.forEach((keyLength) => {
84 keyBuffer: kKeyBytes[keyLength],
87 result: kCiphertext[keyLength]
91 keyBuffer: kKeyBytes[keyLength],
94 result: kCiphertext[keyLength]
/third_party/icu/icu4c/source/i18n/
H A Drbt_rule.cpp86 keyLength = input.length() - anteContextLength; in TransliterationRule()
94 keyLength = postContextPos - anteContextLength; in TransliterationRule()
131 if (keyLength > 0) { in TransliterationRule()
132 key = new StringMatcher(pattern, anteContextLength, anteContextLength + keyLength, in TransliterationRule()
141 int32_t postContextLength = pattern.length() - keyLength - anteContextLength; in TransliterationRule()
144 postContext = new StringMatcher(pattern, anteContextLength + keyLength, pattern.length(), in TransliterationRule()
171 keyLength(other.keyLength), in TransliterationRule()
305 keyLength <= r2.keyLength in masks()
[all...]
H A Drbt_rule.h61 // TODO Eliminate the pattern and keyLength data members. They
64 // methods and pattern/keyLength can be isolated into a separate
95 * @see keyLength
124 * anteContextLength + keyLength) is the key.
127 int32_t keyLength; member in TransliterationRule
/third_party/node/deps/icu-small/source/i18n/
H A Drbt_rule.cpp86 keyLength = input.length() - anteContextLength; in TransliterationRule()
94 keyLength = postContextPos - anteContextLength; in TransliterationRule()
131 if (keyLength > 0) { in TransliterationRule()
132 key = new StringMatcher(pattern, anteContextLength, anteContextLength + keyLength, in TransliterationRule()
141 int32_t postContextLength = pattern.length() - keyLength - anteContextLength; in TransliterationRule()
144 postContext = new StringMatcher(pattern, anteContextLength + keyLength, pattern.length(), in TransliterationRule()
171 keyLength(other.keyLength), in TransliterationRule()
305 keyLength <= r2.keyLength in masks()
[all...]
/third_party/skia/third_party/externals/icu/source/i18n/
H A Drbt_rule.cpp86 keyLength = input.length() - anteContextLength; in TransliterationRule()
94 keyLength = postContextPos - anteContextLength; in TransliterationRule()
131 if (keyLength > 0) { in TransliterationRule()
132 key = new StringMatcher(pattern, anteContextLength, anteContextLength + keyLength, in TransliterationRule()
141 int32_t postContextLength = pattern.length() - keyLength - anteContextLength; in TransliterationRule()
144 postContext = new StringMatcher(pattern, anteContextLength + keyLength, pattern.length(), in TransliterationRule()
171 keyLength(other.keyLength), in TransliterationRule()
305 keyLength <= r2.keyLength in masks()
[all...]
/third_party/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
H A DTransliterationRule.java48 // TODO Eliminate the pattern and keyLength data members. They
51 // methods and pattern/keyLength can be isolated into a separate
82 * @see keyLength
104 * anteContextLength + keyLength) is the key.
106 private int keyLength; field in TransliterationRule
173 keyLength = input.length() - anteContextLength; in TransliterationRule()
179 keyLength = postContextPos - anteContextLength; in TransliterationRule()
209 if (keyLength > 0) { in TransliterationRule()
210 key = new StringMatcher(pattern.substring(anteContextLength, anteContextLength + keyLength), in TransliterationRule()
214 int postContextLength = pattern.length() - keyLength in TransliterationRule()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DTransliterationRule.java49 // TODO Eliminate the pattern and keyLength data members. They
52 // methods and pattern/keyLength can be isolated into a separate
83 * @see keyLength
105 * anteContextLength + keyLength) is the key.
107 private int keyLength; field in TransliterationRule
174 keyLength = input.length() - anteContextLength; in TransliterationRule()
180 keyLength = postContextPos - anteContextLength; in TransliterationRule()
210 if (keyLength > 0) { in TransliterationRule()
211 key = new StringMatcher(pattern.substring(anteContextLength, anteContextLength + keyLength), in TransliterationRule()
215 int postContextLength = pattern.length() - keyLength in TransliterationRule()
[all...]
/third_party/skia/src/gpu/
H A DGrProgramDesc.h120 uint32_t keyLength() const { in keyLength() function in GrProgramDesc
162 static bool BuildFromData(GrProgramDesc* desc, const void* keyData, size_t keyLength) { in BuildFromData() argument
163 if (!SkTFitsIn<int>(keyLength) || !SkIsAlign4(keyLength)) { in BuildFromData()
166 desc->fKey.reset(keyLength / 4); in BuildFromData()
167 memcpy(desc->fKey.begin(), keyData, keyLength); in BuildFromData()
/third_party/node/deps/openssl/openssl/crypto/asn1/
H A Dp5_scrypt.c28 ASN1_OPT(SCRYPT_PARAMS, keyLength, ASN1_INTEGER),
179 sparam->keyLength = ASN1_INTEGER_new(); in pkcs5_scrypt_set()
180 if (sparam->keyLength == NULL) in pkcs5_scrypt_set()
182 if (ASN1_INTEGER_set_int64(sparam->keyLength, keylen) == 0) in pkcs5_scrypt_set()
246 if (sparam->keyLength) { in PKCS5_v2_scrypt_keyivgen_ex()
248 if ((ASN1_INTEGER_get_uint64(&spkeylen, sparam->keyLength) == 0) in PKCS5_v2_scrypt_keyivgen_ex()
/third_party/openssl/crypto/asn1/
H A Dp5_scrypt.c28 ASN1_OPT(SCRYPT_PARAMS, keyLength, ASN1_INTEGER),
179 sparam->keyLength = ASN1_INTEGER_new(); in pkcs5_scrypt_set()
180 if (sparam->keyLength == NULL) in pkcs5_scrypt_set()
182 if (ASN1_INTEGER_set_int64(sparam->keyLength, keylen) == 0) in pkcs5_scrypt_set()
246 if (sparam->keyLength) { in PKCS5_v2_scrypt_keyivgen_ex()
248 if ((ASN1_INTEGER_get_uint64(&spkeylen, sparam->keyLength) == 0) in PKCS5_v2_scrypt_keyivgen_ex()
/third_party/node/lib/internal/crypto/
H A Dcipher.js311 let keyLength, ivLength;
314 ({ keyLength, ivLength } = options);
315 if (keyLength !== undefined)
316 validateInt32(keyLength, 'options.keyLength');
321 const ret = _getCipherInfo({}, nameOrNid, keyLength, ivLength);
/third_party/node/deps/icu-small/source/common/
H A Dulocbuilder.cpp80 ULocaleBuilder* builder, const char* key, int32_t keyLength, in ulocbld_setUnicodeLocaleKeyword()
84 STRING_PIECE(key, keyLength), STRING_PIECE(type, typeLength)); in ulocbld_setUnicodeLocaleKeyword()
79 ulocbld_setUnicodeLocaleKeyword( ULocaleBuilder* builder, const char* key, int32_t keyLength, const char* type, int32_t typeLength) ulocbld_setUnicodeLocaleKeyword() argument
H A Dloadednormalizer2impl.cpp333 int32_t keyLength= static_cast<int32_t>(uprv_strlen(name)+1); in getInstance() local
334 char *nameCopy=(char *)uprv_malloc(keyLength); in getInstance()
339 uprv_memcpy(nameCopy, name, keyLength); in getInstance()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DUResource.java54 private Key(byte[] keyBytes, int keyOffset, int keyLength) { in Key() argument
57 length = keyLength; in Key()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A DUResource.java57 private Key(byte[] keyBytes, int keyOffset, int keyLength) { in Key() argument
60 length = keyLength; in Key()
/third_party/node/test/parallel/
H A Dtest-crypto.js126 const { ivLength, keyLength, mode } = crypto.getCipherInfo(algo);
133 crypto.randomBytes(keyLength),
/third_party/skia/experimental/graphite/src/
H A DResourceProvider.h60 return SkOpts::hash_fn(desc.asKey(), desc.keyLength(), 0); in operator ()()
/third_party/icu/icu4c/source/common/
H A Dloadednormalizer2impl.cpp309 int32_t keyLength= static_cast<int32_t>(uprv_strlen(name)+1); in getInstance() local
310 char *nameCopy=(char *)uprv_malloc(keyLength); in getInstance()
315 uprv_memcpy(nameCopy, name, keyLength); in getInstance()
/third_party/skia/third_party/externals/icu/source/common/
H A Dloadednormalizer2impl.cpp309 int32_t keyLength= static_cast<int32_t>(uprv_strlen(name)+1); in getInstance() local
310 char *nameCopy=(char *)uprv_malloc(keyLength); in getInstance()
315 uprv_memcpy(nameCopy, name, keyLength); in getInstance()
/third_party/node/deps/icu-small/source/common/unicode/
H A Dulocbuilder.h278 * @param keyLength the length of the key; if negative, then the key need to be
289 const char* key, int32_t keyLength, const char* type, int32_t typeLength);

Completed in 13 milliseconds

1234